summaryrefslogtreecommitdiff
path: root/firmware/target/arm/audio-pp.c
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2006-12-18 02:09:10 +0000
committerBarry Wardell <rockbox@barrywardell.net>2006-12-18 02:09:10 +0000
commitdecef18a943a4b36cdb4fe8c8adf15b8cf6cb757 (patch)
tree36866a9213b7fac4a1298cd54d8c7378007a501a /firmware/target/arm/audio-pp.c
parentdf0dc2262ea10f621677c0f97aae1c205e253b87 (diff)
Fix some warnings from previous commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11795 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/audio-pp.c')
-rw-r--r--firmware/target/arm/audio-pp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/arm/audio-pp.c b/firmware/target/arm/audio-pp.c
index c08db8a88a..8163295661 100644
--- a/firmware/target/arm/audio-pp.c
+++ b/firmware/target/arm/audio-pp.c
@@ -31,8 +31,9 @@ void audio_set_source(int source, unsigned flags)
{
/* Prevent pops from unneeded switching */
static int last_source = AUDIO_SRC_PLAYBACK;
- bool recording = flags & SRCF_RECORDING;
+#ifdef CONFIG_TUNER
static bool last_recording = false;
+#endif
switch (source)
{