From 173cca54135230ba2a8d180574a56baee67304ea Mon Sep 17 00:00:00 2001 From: Oran Agra Date: Tue, 10 Dec 2019 11:16:13 +0200 Subject: [PATCH] fix possible warning on incomplete struct init --- src/module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/module.c b/src/module.c index 111e1c202..096a0bf2c 100644 --- a/src/module.c +++ b/src/module.c @@ -5652,7 +5652,7 @@ sds modulesCollectInfo(sds info, const char *section, int for_crash_report, int struct RedisModule *module = dictGetVal(de); if (!module->info_cb) continue; - RedisModuleInfoCtx info_ctx = {module, section, info, sections, 0}; + RedisModuleInfoCtx info_ctx = {module, section, info, sections, 0, 0}; module->info_cb(&info_ctx, for_crash_report); /* Implicitly end dicts (no way to handle errors, and we must add the newline). */ if (info_ctx.in_dict_field)