summaryrefslogtreecommitdiff
path: root/apps/recorder/recording.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-03-08 23:56:54 +0000
committerThomas Martitz <kugel@rockbox.org>2010-03-08 23:56:54 +0000
commit9a3c0778c6c17191c835c2a38c49f090d2970d80 (patch)
tree71010d7dbd4935f54aecae77ac437dac12a4e95c /apps/recorder/recording.c
parent61320ce0ebf39e47953086de95f1b48f2fd09333 (diff)
downloadrockbox-9a3c0778c6c17191c835c2a38c49f090d2970d80.tar.gz
rockbox-9a3c0778c6c17191c835c2a38c49f090d2970d80.zip
Fix two warnings that appear with gcc4.4.3. The one in recording.c ("compact_view is used uninitialized" seems to be false positive unfortunately).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25082 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/recording.c')
-rw-r--r--apps/recorder/recording.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index dea502c217..fc527923db 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -1064,7 +1064,8 @@ bool recording_screen(bool no_source)
1064 int trig_ypos[NB_SCREENS]; /* trigger bar y pos */ 1064 int trig_ypos[NB_SCREENS]; /* trigger bar y pos */
1065 int trig_width[NB_SCREENS]; /* trigger bar width */ 1065 int trig_width[NB_SCREENS]; /* trigger bar width */
1066 int top_height_req[NB_SCREENS]; /* required height for top half */ 1066 int top_height_req[NB_SCREENS]; /* required height for top half */
1067 bool compact_view[NB_SCREENS]; /* tweak layout tiny screens / big fonts */ 1067 /* tweak layout tiny screens / big fonts */
1068 bool compact_view[NB_SCREENS] = { false };
1068 struct gui_synclist lists; /* the list in the bottom vp */ 1069 struct gui_synclist lists; /* the list in the bottom vp */
1069#if defined(HAVE_AGC) || defined(HAVE_RECORDING_HISTOGRAM) 1070#if defined(HAVE_AGC) || defined(HAVE_RECORDING_HISTOGRAM)
1070 bool peak_valid = false; 1071 bool peak_valid = false;