From 15ca5ec28103615b28e710635c69188ca98fb843 Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Tue, 7 Feb 2023 16:35:38 +0000 Subject: [PATCH] Fixed unused var warning --- lib_xua/src/core/mixer/mixer.xc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib_xua/src/core/mixer/mixer.xc b/lib_xua/src/core/mixer/mixer.xc index f505bddb..5a4176eb 100644 --- a/lib_xua/src/core/mixer/mixer.xc +++ b/lib_xua/src/core/mixer/mixer.xc @@ -364,7 +364,9 @@ static void mixer1(chanend c_host, chanend c_mix_ctl, chanend c_mixer2) #if (MAX_MIX_COUNT > 0) int mixed; #endif +#if (MAX_MIX_COUNT > 0) || (IN_VOLUME_IN_MIXER) || (OUT_VOLUME_IN_MIXER) || defined (LEVEL_METER_HOST) || defined(LEVEL_METER_LEDS) unsigned cmd; +#endif unsigned request = 0; while (1)