diff options
author | Barry Wardell <rockbox@barrywardell.net> | 2006-12-18 02:09:10 +0000 |
---|---|---|
committer | Barry Wardell <rockbox@barrywardell.net> | 2006-12-18 02:09:10 +0000 |
commit | decef18a943a4b36cdb4fe8c8adf15b8cf6cb757 (patch) | |
tree | 36866a9213b7fac4a1298cd54d8c7378007a501a | |
parent | df0dc2262ea10f621677c0f97aae1c205e253b87 (diff) | |
download | rockbox-decef18a943a4b36cdb4fe8c8adf15b8cf6cb757.tar.gz rockbox-decef18a943a4b36cdb4fe8c8adf15b8cf6cb757.zip |
Fix some warnings from previous commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11795 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/target/arm/audio-pp.c | 3 | ||||
-rw-r--r-- | 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) | |||
31 | { | 31 | { |
32 | /* Prevent pops from unneeded switching */ | 32 | /* Prevent pops from unneeded switching */ |
33 | static int last_source = AUDIO_SRC_PLAYBACK; | 33 | static int last_source = AUDIO_SRC_PLAYBACK; |
34 | bool recording = flags & SRCF_RECORDING; | 34 | #ifdef CONFIG_TUNER |
35 | static bool last_recording = false; | 35 | static bool last_recording = false; |
36 | #endif | ||
36 | 37 | ||
37 | switch (source) | 38 | switch (source) |
38 | { | 39 | { |
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 @@ | |||
32 | 32 | ||
33 | 33 | ||
34 | /* peaks */ | 34 | /* peaks */ |
35 | static int play_peak_left, play_peak_right; | ||
36 | static unsigned long *rec_peak_addr; | 35 | static unsigned long *rec_peak_addr; |
37 | static int rec_peak_left, rec_peak_right; | 36 | static int rec_peak_left, rec_peak_right; |
38 | 37 | ||