Fix compiler warnings about unused result
This commit is contained in:
parent
dfcc1f5634
commit
27fd8b3218
|
@ -163,7 +163,7 @@ int get_score_high() {
|
||||||
if (fd == NULL)
|
if (fd == NULL)
|
||||||
fd = fopen(HISCORE_FILE, "w+");
|
fd = fopen(HISCORE_FILE, "w+");
|
||||||
|
|
||||||
fscanf(fd, "%d", &s);
|
if (fscanf(fd, "%d", &s) == 1) {};
|
||||||
fclose(fd);
|
fclose(fd);
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user