diff options
author | 3gg <3gg@shellblade.net> | 2024-08-29 20:10:33 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2024-08-29 20:10:33 -0700 |
commit | 4e545b237f0f306c21073bc646aa7fe00ed71136 (patch) | |
tree | f6ca048b3cbdcb898a48311838c6b54400215d94 /gfx-iso/demos/isomap/isomap.c | |
parent | 6347ee483182bf8c5d139d1110ce2c335af60e4f (diff) |
Supress unused variable warnings.
Diffstat (limited to 'gfx-iso/demos/isomap/isomap.c')
-rw-r--r-- | gfx-iso/demos/isomap/isomap.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gfx-iso/demos/isomap/isomap.c b/gfx-iso/demos/isomap/isomap.c index d204d28..5ab926c 100644 --- a/gfx-iso/demos/isomap/isomap.c +++ b/gfx-iso/demos/isomap/isomap.c | |||
@@ -15,6 +15,8 @@ static bool init( | |||
15 | IsoGfxAppState* state, IsoGfx* iso, int argc, const char** argv) { | 15 | IsoGfxAppState* state, IsoGfx* iso, int argc, const char** argv) { |
16 | assert(state); | 16 | assert(state); |
17 | assert(iso); | 17 | assert(iso); |
18 | (void)argc; | ||
19 | (void)argv; | ||
18 | 20 | ||
19 | if (!isogfx_load_world(iso, "/home/jeanne/assets/tilemaps/demo1.tm")) { | 21 | if (!isogfx_load_world(iso, "/home/jeanne/assets/tilemaps/demo1.tm")) { |
20 | return false; | 22 | return false; |
@@ -41,6 +43,9 @@ static void update(IsoGfxAppState* state, IsoGfx* iso, double t, double dt) { | |||
41 | assert(state); | 43 | assert(state); |
42 | assert(iso); | 44 | assert(iso); |
43 | 45 | ||
46 | (void)t; | ||
47 | (void)dt; | ||
48 | |||
44 | double mouse_x, mouse_y; | 49 | double mouse_x, mouse_y; |
45 | gfx_app_get_mouse_position(&mouse_x, &mouse_y); | 50 | gfx_app_get_mouse_position(&mouse_x, &mouse_y); |
46 | 51 | ||