From: nhmall Date: Sun, 5 Feb 2023 16:53:19 +0000 (-0500) Subject: macsound: 2 params are UNUSED always X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=20c6e1b6e62da54d8948aae400c03a13e79eef51;p=nethack macsound: 2 params are UNUSED always --- diff --git a/sound/macsound/macsound.m b/sound/macsound/macsound.m index bbbc9cfec..9fd37a22e 100644 --- a/sound/macsound/macsound.m +++ b/sound/macsound/macsound.m @@ -84,7 +84,7 @@ static NSSound *seSound[number_of_se_entries + number_of_sa2_entries + EXTRA_SOU /* fulfill SOUND_TRIGGER_SOUNDEFFECTS */ static void -macsound_soundeffect(char *desc AUTOMAPONLY, int32_t seid AUTOMAPONLY, int vol AUTOMAPONLY) +macsound_soundeffect(char *desc UNUSED, int32_t seid AUTOMAPONLY, int vol AUTOMAPONLY) { #ifdef SND_SOUNDEFFECTS_AUTOMAP @@ -251,7 +251,9 @@ static void macsound_hero_playnotes(int32_t instrument WAVEMUSICONLY, /* fulfill SOUND_TRIGGER_ACHIEVEMENTS */ static void -macsound_achievement(schar ach1 ACHIEVEONLY, schar ach2 ACHIEVEONLY, int32_t repeat ACHIEVEONLY) +macsound_achievement(schar ach1 ACHIEVEONLY, +schar ach2 ACHIEVEONLY, +int32_t moreinfo UNUSED) { #ifdef ACHIEVEMENT_SOUNDS char resourcename[120];