summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-10-14 16:00:52 +0000
committerThomas Martitz <kugel@rockbox.org>2009-10-14 16:00:52 +0000
commitbc063a3e1e1142997f61185b7b53d51eb6e907aa (patch)
tree699d6c2e81e35e2f679268bab2be44c2d41ad632
parent0f0d9064c5e7add982d4b62850375985d79c1168 (diff)
downloadrockbox-bc063a3e1e1142997f61185b7b53d51eb6e907aa.tar.gz
rockbox-bc063a3e1e1142997f61185b7b53d51eb6e907aa.zip
Whoops, I had that warning turned off locally.
See http://www.rockbox.org/irc/log-20091014#08:40:11 gcc warns on that one (it's perfectly valid code). It doesn't warn if you do this on plain arrays and since I have had this warning disabled I thought it would not warn on arrays of structs also. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23172 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/wps.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/gui/wps.c b/apps/gui/wps.c
index 3524ba34b7..d4a2893ff2 100644
--- a/apps/gui/wps.c
+++ b/apps/gui/wps.c
@@ -82,9 +82,9 @@
82static int wpsbars = 0; 82static int wpsbars = 0;
83 83
84/* currently only one wps_state is needed, initialize to 0 */ 84/* currently only one wps_state is needed, initialize to 0 */
85static struct wps_state wps_state = { .id3 = NULL}; 85static struct wps_state wps_state = { .id3 = NULL };
86static struct gui_wps gui_wps[NB_SCREENS] = {{ 0 }}; 86static struct gui_wps gui_wps[NB_SCREENS] = {{ .data = NULL }};
87static struct wps_data wps_datas[NB_SCREENS] = {{ 0 }}; 87static struct wps_data wps_datas[NB_SCREENS] = {{ .wps_loaded = 0 }};
88 88
89/* initial setup of wps_data */ 89/* initial setup of wps_data */
90static void wps_state_init(void); 90static void wps_state_init(void);