diff options
| author | Simon Tatham <anakin@pobox.com> | 2014-11-30 17:00:45 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2014-11-30 17:00:45 +0000 |
| commit | 5b367167af9f7eaa2c06dba4f6d6b69e1f37d859 (patch) | |
| tree | c2f111dd556320cfbf28f1aa6bc640a709d41710 | |
| parent | f806528a309d62f836d39ad9cc703e7592c9f68b (diff) | |
| download | puzzles-5b367167af9f7eaa2c06dba4f6d6b69e1f37d859.zip puzzles-5b367167af9f7eaa2c06dba4f6d6b69e1f37d859.tar.gz puzzles-5b367167af9f7eaa2c06dba4f6d6b69e1f37d859.tar.bz2 puzzles-5b367167af9f7eaa2c06dba4f6d6b69e1f37d859.tar.xz | |
Fix two compile warnings in emcc.c.
Reported by a user, who didn't say what version of Emscripten they
were using but it must not be the same as mine.
| -rw-r--r-- | emcc.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -48,6 +48,7 @@ */ #include <assert.h> +#include <stdio.h> #include <string.h> #include <stdarg.h> @@ -793,8 +794,6 @@ int main(int argc, char **argv) js_remove_type_dropdown(); have_presets_dropdown = FALSE; } else { - int preset; - presets = snewn(npresets, game_params *); for (i = 0; i < npresets; i++) { char *name; |