mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-06 04:33:49 +01:00
Fixed various potential bugs and compiler warnings
This commit is contained in:
1 parent
03eacd1af3
commit
b780e39397
10 files changed
+62
-40
No files matched your search
@@ -143,7 +143,10 @@ bool SymbolMap::LoadSymbolMap(const char *filename)
|
||||
while (!feof(f))
|
||||
{
|
||||
char line[512],temp[256];
|
||||
fgets(line,511,f);
|
||||
char *p = fgets(line,512,f);
|
||||
if(p == NULL)
|
||||
break;
|
||||
|
||||
if (strlen(line) < 4 || sscanf(line, "%s", temp) != 1)
|
||||
continue;
|
||||
|
||||
|
||||
Reference in new issue
Block a user