Add ATTRIBUTE_UNUSED back to MAGIC_set_color() funcs
Avoid compile time warnings
This commit is contained in:
parent
6e15c46006
commit
4d932f800b
51 changed files with 153 additions and 155 deletions
|
|
@ -25,7 +25,7 @@
|
|||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
(See COPYING.txt)
|
||||
|
||||
Last updated: January 25, 2023
|
||||
Last updated: February 12, 2023
|
||||
*/
|
||||
|
||||
// sound only plays on release
|
||||
|
|
@ -86,8 +86,8 @@ Uint32 rosette_api_version(void)
|
|||
return (TP_MAGIC_API_VERSION);
|
||||
}
|
||||
|
||||
void rosette_set_color(magic_api * api, int which, SDL_Surface * canvas,
|
||||
SDL_Surface * last, Uint8 r, Uint8 g, Uint8 b, SDL_Rect * update_rect)
|
||||
void rosette_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)
|
||||
{
|
||||
//get the colors from API and store it in structure
|
||||
rosette_colors.r = r;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue