From 2532e1bf2bf9cde940702c2bfc9ebe04cf4edcf5 Mon Sep 17 00:00:00 2001 From: Albert Chu Date: Mon, 9 Oct 2017 17:00:06 -0700 Subject: [PATCH] modules/kvs/test: Fix initialization warning --- src/modules/kvs/test/lookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/kvs/test/lookup.c b/src/modules/kvs/test/lookup.c index 6c0f4e2dd846..a628b91bea92 100644 --- a/src/modules/kvs/test/lookup.c +++ b/src/modules/kvs/test/lookup.c @@ -234,7 +234,7 @@ void check_common (lookup_t *lh, bool destroy_lookup) { json_t *val; - struct lookup_ref_data ld = { 0 }; + struct lookup_ref_data ld = { .ref = NULL, .raw_data = false, .count = 0 }; ok (lookup (lh) == lookup_result, "%s: lookup matched result", msg);