From decef18a943a4b36cdb4fe8c8adf15b8cf6cb757 Mon Sep 17 00:00:00 2001 From: Barry Wardell Date: Mon, 18 Dec 2006 02:09:10 +0000 Subject: [PATCH] Fix some warnings from previous commit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11795 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/audio-pp.c | 3 ++- firmware/target/arm/pcm-pp.c | 1 - 2 files changed, 2 insertions(+), 2 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) { diff --git a/firmware/target/arm/pcm-pp.c b/firmware/target/arm/pcm-pp.c index d9a3b6d7d7..77dedc1535 100644 --- a/firmware/target/arm/pcm-pp.c +++ b/firmware/target/arm/pcm-pp.c @@ -32,7 +32,6 @@ /* peaks */ -static int play_peak_left, play_peak_right; static unsigned long *rec_peak_addr; static int rec_peak_left, rec_peak_right;