summaryrefslogtreecommitdiff
path: root/apps/plugins/pitch_detector.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-01 13:48:28 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-01 13:48:28 +0000
commitf7c45941344ecfbcdd5d9b311b61573d37c6ef58 (patch)
tree4c2fa595d7209694dd30b0e0b349a0a44116d712 /apps/plugins/pitch_detector.c
parent08fb3f65745a237e2c1eae55d856ff27702246e5 (diff)
downloadrockbox-f7c45941344ecfbcdd5d9b311b61573d37c6ef58.tar.gz
rockbox-f7c45941344ecfbcdd5d9b311b61573d37c6ef58.zip
Fix further 'variable set but not used' warnings reported from GCC 4.6.0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29809 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/pitch_detector.c')
-rw-r--r--apps/plugins/pitch_detector.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/pitch_detector.c b/apps/plugins/pitch_detector.c
index 5e68822735..ec208268ab 100644
--- a/apps/plugins/pitch_detector.c
+++ b/apps/plugins/pitch_detector.c
@@ -982,7 +982,9 @@ static void record_data(void)
982static void record_and_get_pitch(void) 982static void record_and_get_pitch(void)
983{ 983{
984 int quit=0, button; 984 int quit=0, button;
985#ifndef SIMULATOR
985 bool redraw = true; 986 bool redraw = true;
987#endif
986 /* For tracking the latency */ 988 /* For tracking the latency */
987 /* 989 /*
988 long timer; 990 long timer;
@@ -1016,7 +1018,9 @@ static void record_and_get_pitch(void)
1016 quit = main_menu(); 1018 quit = main_menu();
1017 if(!quit) 1019 if(!quit)
1018 { 1020 {
1021#ifndef SIMULATOR
1019 redraw = true; 1022 redraw = true;
1023#endif
1020 record_data(); 1024 record_data();
1021 } 1025 }
1022 break; 1026 break;