Add ATTRIBUTE_UNUSED back to MAGIC_set_color() funcs

Avoid compile time warnings
This commit is contained in:
Bill Kendrick 2023-02-12 13:17:49 -08:00
parent 6e15c46006
commit 4d932f800b
51 changed files with 153 additions and 155 deletions

View file

@ -7,7 +7,7 @@
Math assistance by Jeff Newmiller <jdnewmil@dcn.davis.ca.us>
2009.04.02
Last updated: January 25, 2023
Last updated: February 12, 2023
FIXME:
* Color/alpha art needs improvement.
@ -154,8 +154,8 @@ void realrainbow_shutdown(magic_api * api ATTRIBUTE_UNUSED)
Mix_FreeChunk(realrainbow_snd);
}
void realrainbow_set_color(magic_api * api, int which, SDL_Surface * canvas,
SDL_Surface * last, Uint8 r, Uint8 g, Uint8 b, SDL_Rect * update_rect)
void realrainbow_set_color(magic_api * api ATTRIBUTE_UNUSED, int which ATTRIBUTE_UNUSED, SDL_Surface * canvas ATTRIBUTE_UNUSED,
SDL_Surface * last ATTRIBUTE_UNUSED, Uint8 r ATTRIBUTE_UNUSED, Uint8 g ATTRIBUTE_UNUSED, Uint8 b ATTRIBUTE_UNUSED, SDL_Rect * update_rect ATTRIBUTE_UNUSED)
{
}