mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
Fix missing initializer warning in tests/slice-threadinit.c
tests/slice-threadinit.c:34:30: warning: missing field 'sample' initializer } pages[N_PAGES] = { { NULL, }, }; ^
This commit is contained in:
parent
aace697d7e
commit
a369efd207
@ -31,7 +31,7 @@
|
||||
static struct {
|
||||
void *page;
|
||||
void *sample;
|
||||
} pages[N_PAGES] = { { NULL, }, };
|
||||
} pages[N_PAGES] = { { NULL, NULL }, };
|
||||
|
||||
static const guint magazine_probes[] = MAGAZINE_PROBES;
|
||||
#define N_MAGAZINE_PROBES G_N_ELEMENTS (magazine_probes)
|
||||
|
Loading…
Reference in New Issue
Block a user