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:
parent
80c5d7a80e
commit
825e063a78
@ -153,7 +153,10 @@ int CpuLinux::GetNumCores()
|
||||
}
|
||||
// Skip first line
|
||||
char line[100];
|
||||
char* dummy = fgets(line, 100, fp);
|
||||
if (!fgets(line, 100, fp))
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
int numCores = -1;
|
||||
char firstWord[100];
|
||||
do
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include "trace.h"
|
||||
|
||||
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)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user