1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Amaury Pouly 2013-10-22 00:07:50 +02:00
parent 7d62a78af4
commit 17851f742e

View file

@ -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)
{