From 7f93f243c1be194e462785a394dcf49f2739dd64 Mon Sep 17 00:00:00 2001 From: Bill Kendrick Date: Sat, 28 Jan 2023 21:30:38 -0800 Subject: [PATCH] Maze magic: ATTRIBUTE_UNUSED adjustments --- magic/src/maze.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/magic/src/maze.c b/magic/src/maze.c index ff3932228..7e3440446 100644 --- a/magic/src/maze.c +++ b/magic/src/maze.c @@ -2,7 +2,7 @@ Allows painting generated maze puzzles on your picture. - Last updated: January 26, 2023 + Last updated: January 28, 2023 */ #include @@ -122,7 +122,7 @@ int maze_get_group(magic_api * api ATTRIBUTE_UNUSED, char *maze_get_description(magic_api * api ATTRIBUTE_UNUSED, int which ATTRIBUTE_UNUSED, - int mode ATTRIBUTE_UNUSED) + int mode) { if (mode == MODE_PAINT) return(gettext("Click and drag to paint a maze on your picture.")); @@ -344,8 +344,8 @@ void maze_render(magic_api * api, SDL_Surface * canvas) } -void maze_set_color(magic_api * api, int which, SDL_Surface * canvas, - SDL_Surface * last, Uint8 r, Uint8 g, Uint8 b, SDL_Rect * update_rect) +void maze_set_color(magic_api * api ATTRIBUTE_UNUSED, int which ATTRIBUTE_UNUSED, SDL_Surface * canvas ATTRIBUTE_UNUSED, + SDL_Surface * last ATTRIBUTE_UNUSED, Uint8 r, Uint8 g, Uint8 b, SDL_Rect * update_rect ATTRIBUTE_UNUSED) { maze_r = r; maze_g = g;