Remove various compilation warnings

With the removal of these warnings we slightly improve the robustness of
the highscore parsing, handling some more cases of bad parsing/writing
and failure to open files.
This commit is contained in:
tiehuis
2015-12-30 11:49:04 +13:00
parent 28b4a46336
commit 4520781f25
5 changed files with 27 additions and 6 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ void draw_then_sleep(struct gfx_state *s, struct gamestate *g)
int main(int argc, char **argv)
{
struct gamestate *g = gamestate_init(argc, argv);
struct gfx_state *s;
struct gfx_state *s = NULL;
if (g->opts->interactive)
s = gfx_init(g);