diff options
author | Oran Agra <oran@redislabs.com> | 2019-12-10 11:16:13 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2020-04-07 16:52:04 +0200 |
commit | 061616c1b1d022660f232a75d3ff2262b970a98d (patch) | |
tree | c697d22cd93402bcd773fb3969f64b18b338470c | |
parent | 7764996becceb9d363a838e69fc781a24fae02b9 (diff) | |
download | redis-061616c1b1d022660f232a75d3ff2262b970a98d.tar.gz |
fix possible warning on incomplete struct init
-rw-r--r-- | src/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/module.c b/src/module.c index 16d24152e..64f274e78 100644 --- a/src/module.c +++ b/src/module.c @@ -5978,7 +5978,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) |