finished solving all the last warmings (unused parameters) to make the situation clear

This commit is contained in:
SlyVTT 2023-10-01 10:42:04 +02:00
parent 37f9eb213b
commit f6b8b792fd
2 changed files with 3 additions and 3 deletions

View file

@ -213,11 +213,11 @@ unsigned int _i;
/* Get where I started drawing a dialog page, to be able to redraw the last page
* for the end animation in _choice_call_before_end. */
void _choice_screen_call(Game *game, unsigned int i) {
void _choice_screen_call( [[maybe_unused]] Game *game, unsigned int i) {
_i = i;
}
int _choice_call_before_end(Game *game, unsigned int org_i) {
int _choice_call_before_end(Game *game, [[maybe_unused]] unsigned int org_i) {
int i, key;
/* Make a little animation because we looove little animations ;) */
for(i=0;i<DWIDTH/8+1;i++){

View file

@ -31,7 +31,7 @@ float length( float x, float y )
return sqrtf( x*x+y*y );
}
void update_npc(Game *game)
void update_npc( [[maybe_unused]] Game *game)
{
for( uint32_t u=0; u<nbNPC; u++ )
{