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:
parent
0f0d9064c5
commit
bc063a3e1e
1 changed files with 3 additions and 3 deletions
|
|
@ -82,9 +82,9 @@
|
|||
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 wps_state wps_state = { .id3 = NULL };
|
||||
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue