mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
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.
This commit is contained in:
3
emcc.c
3
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;
|
||||
|
Reference in New Issue
Block a user