From 4e545b237f0f306c21073bc646aa7fe00ed71136 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Thu, 29 Aug 2024 20:10:33 -0700 Subject: Supress unused variable warnings. --- gfx-iso/demos/checkerboard/checkerboard.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gfx-iso/demos/checkerboard/checkerboard.c') diff --git a/gfx-iso/demos/checkerboard/checkerboard.c b/gfx-iso/demos/checkerboard/checkerboard.c index 9730aea..e684bc3 100644 --- a/gfx-iso/demos/checkerboard/checkerboard.c +++ b/gfx-iso/demos/checkerboard/checkerboard.c @@ -54,6 +54,9 @@ static bool init( assert(state); assert(iso); + (void)argc; + (void)argv; + if (!isogfx_make_world( iso, &(WorldDesc){ .tile_width = TILE_WIDTH, @@ -80,6 +83,9 @@ static void update(IsoGfxAppState* state, IsoGfx* iso, double t, double dt) { assert(state); assert(iso); + (void)t; + (void)dt; + double mouse_x, mouse_y; gfx_app_get_mouse_position(&mouse_x, &mouse_y); -- cgit v1.2.3