diff options
| author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-10-22 00:07:50 +0200 |
|---|---|---|
| committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-10-22 00:07:50 +0200 |
| commit | 17851f742ebfcb56705df8b8295f09ff1d07423f (patch) | |
| tree | 781cdcf8a1b5c291ac34517985c36028520fd58a | |
| parent | 7d62a78af47e77e3d4f6b8b37545d1abcc436f57 (diff) | |
| download | rockbox-17851f742ebfcb56705df8b8295f09ff1d07423f.zip rockbox-17851f742ebfcb56705df8b8295f09ff1d07423f.tar.gz rockbox-17851f742ebfcb56705df8b8295f09ff1d07423f.tar.bz2 rockbox-17851f742ebfcb56705df8b8295f09ff1d07423f.tar.xz | |
imx233/audio: workaround unused variable
The exact combination on which recording is needed is too complicated, so
just always cancel the unused warning, the compiler will optimise it away.
Change-Id: I0946586e4b01769c98babc4616f893c38f44c05f
| -rw-r--r-- | firmware/target/arm/imx233/audio-imx233.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/target/arm/imx233/audio-imx233.c b/firmware/target/arm/imx233/audio-imx233.c index 9e60825..273844e 100644 --- a/firmware/target/arm/imx233/audio-imx233.c +++ b/firmware/target/arm/imx233/audio-imx233.c @@ -73,9 +73,8 @@ static int output_source = AUDIO_SRC_PLAYBACK; static void select_audio_path(void) { -#if defined(HAVE_RECORDING) const bool recording = input_flags & SRCF_RECORDING; -#endif + (void) recording; // it is not always used switch(input_source) { |