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:
Emmanuel Fleury 2021-04-29 13:48:34 +02:00
parent aace697d7e
commit a369efd207

View File

@ -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)