1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Thomas Martitz 2009-10-14 16:00:52 +00:00
parent 0f0d9064c5
commit bc063a3e1e

View file

@ -83,8 +83,8 @@ static int wpsbars = 0;
/* currently only one wps_state is needed, initialize to 0 */
static struct wps_state wps_state = { .id3 = NULL };
static struct gui_wps gui_wps[NB_SCREENS] = {{ 0 }};
static struct wps_data wps_datas[NB_SCREENS] = {{ 0 }};
static struct gui_wps gui_wps[NB_SCREENS] = {{ .data = NULL }};
static struct wps_data wps_datas[NB_SCREENS] = {{ .wps_loaded = 0 }};
/* initial setup of wps_data */
static void wps_state_init(void);