(svn r15634) -Fix (r15632): some compilers seem to warn about the return value of fscanf.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
rubidium 15 years ago
parent d1a9fcc67f
commit 0d2d5565a6

@ -545,8 +545,9 @@ public:
if (f == NULL) return false;
ScenarioIdentifier id;
fscanf(f, "%i", &id.scenid);
int fret = fscanf(f, "%i", &id.scenid);
FioFCloseFile(f);
if (fret != 1) return false;
Md5 checksum;
uint8 buffer[1024];

Loading…
Cancel
Save