From: nhmall Date: Fri, 3 Feb 2023 20:12:42 +0000 (-0500) Subject: mac typo and some warnings X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9d3dda1e1d45f2f41e590d53d12effe050da15ef;p=nethack mac typo and some warnings --- diff --git a/sound/macsound/macsound.m b/sound/macsound/macsound.m index 210ed6b53..4a19ba71b 100644 --- a/sound/macsound/macsound.m +++ b/sound/macsound/macsound.m @@ -26,7 +26,7 @@ static void macsound_achievement(schar, schar, int32_t); static void macsound_soundeffect(char *, int32_t, int32_t); static void macsound_hero_playnotes(int32_t, const char *, int32_t); static void macsound_play_usersound(char *, int32_t, int32_t); -static void macsounde_ambience(int32_t, int32_t, int32_t); +static void macsound_ambience(int32_t, int32_t, int32_t); static int affiliate(int32_t seid, const char *soundname); @@ -71,8 +71,8 @@ macsound_achievement(schar ach1 UNUSED, schar ach2 UNUSED, int32_t repeat UNUSED } static void -macsound_ambience(int32_t ambienceid, int32_t ambience_action, - int32_t hero_proximity) +macsound_ambience(int32_t ambienceid UNUSED, int32_t ambience_action UNUSED, + int32_t hero_proximity UNUSED) { }