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:
parent
7d62a78af4
commit
17851f742e
1 changed files with 1 additions and 2 deletions
|
@ -73,9 +73,8 @@ static int output_source = AUDIO_SRC_PLAYBACK;
|
||||||
|
|
||||||
static void select_audio_path(void)
|
static void select_audio_path(void)
|
||||||
{
|
{
|
||||||
#if defined(HAVE_RECORDING)
|
|
||||||
const bool recording = input_flags & SRCF_RECORDING;
|
const bool recording = input_flags & SRCF_RECORDING;
|
||||||
#endif
|
(void) recording; // it is not always used
|
||||||
|
|
||||||
switch(input_source)
|
switch(input_source)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue