Fixing some warnings in system_wrappers.

Review URL: http://webrtc-codereview.appspot.com/79001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@220 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
ajm@google.com 2011-07-16 01:04:52 +00:00
parent 80c5d7a80e
commit 825e063a78
2 changed files with 5 additions and 2 deletions

View File

@ -153,7 +153,10 @@ int CpuLinux::GetNumCores()
} }
// Skip first line // Skip first line
char line[100]; char line[100];
char* dummy = fgets(line, 100, fp); if (!fgets(line, 100, fp))
{
return -1;
}
int numCores = -1; int numCores = -1;
char firstWord[100]; char firstWord[100];
do do

View File

@ -13,7 +13,7 @@
#include "trace.h" #include "trace.h"
namespace webrtc { namespace webrtc {
MapItem::MapItem(int id, void* item) : item_pointer_(item), item_id_(id) MapItem::MapItem(int id, void* item) : item_id_(id), item_pointer_(item)
{ {
} }