From a369efd207fd870c771668baad4d9e62a21d2df1 Mon Sep 17 00:00:00 2001 From: Emmanuel Fleury Date: Thu, 29 Apr 2021 13:48:34 +0200 Subject: [PATCH] Fix missing initializer warning in tests/slice-threadinit.c tests/slice-threadinit.c:34:30: warning: missing field 'sample' initializer } pages[N_PAGES] = { { NULL, }, }; ^ --- tests/slice-threadinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/slice-threadinit.c b/tests/slice-threadinit.c index 30b186147..e303aa0b2 100644 --- a/tests/slice-threadinit.c +++ b/tests/slice-threadinit.c @@ -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)