diff options
author | Oran Agra <oran@redislabs.com> | 2019-12-10 11:16:13 +0200 |
---|---|---|
committer | Oran Agra <oran@redislabs.com> | 2019-12-10 11:16:13 +0200 |
commit | 173cca54135230ba2a8d180574a56baee67304ea (patch) | |
tree | a1791465ffdc2a03de98aaffc4699600957c0286 /src | |
parent | 7e24e219fdc0a32cf81c3503a4aac3c6700efb8b (diff) | |
download | redis-173cca54135230ba2a8d180574a56baee67304ea.tar.gz |
fix possible warning on incomplete struct init
Diffstat (limited to 'src')
-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 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) |