chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f806528
)
Fix two compile warnings in emcc.c.
author
Simon Tatham
<anakin@pobox.com>
Sun, 30 Nov 2014 17:00:45 +0000
(17:00 +0000)
committer
Simon Tatham
<anakin@pobox.com>
Sun, 30 Nov 2014 17:00:45 +0000
(17:00 +0000)
Reported by a user, who didn't say what version of Emscripten they
were using but it must not be the same as mine.
emcc.c
patch
|
blob
|
history
diff --git
a/emcc.c
b/emcc.c
index 1c07a3703a467408f8f67caf2a7b206c8cd55b7c..f9b9be9965c627315e5082bfd6e191bf0cade637 100644
(file)
--- a/
emcc.c
+++ b/
emcc.c
@@
-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;