Unverified Commit 16988208 authored by Yves LeBras's avatar Yves LeBras Committed by GitHub
Browse files

config.memkeys init for consistency (#12505)

Initializing `memkeys` to 0 for consistency and clarity.
the config struct is anyway zeroed, but other fields are explicitly initialized.
parent e532c95d
...@@ -9809,6 +9809,7 @@ int main(int argc, char **argv) { ...@@ -9809,6 +9809,7 @@ int main(int argc, char **argv) {
config.pipe_mode = 0; config.pipe_mode = 0;
config.pipe_timeout = REDIS_CLI_DEFAULT_PIPE_TIMEOUT; config.pipe_timeout = REDIS_CLI_DEFAULT_PIPE_TIMEOUT;
config.bigkeys = 0; config.bigkeys = 0;
config.memkeys = 0;
config.hotkeys = 0; config.hotkeys = 0;
config.stdin_lastarg = 0; config.stdin_lastarg = 0;
config.stdin_tag_arg = 0; config.stdin_tag_arg = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment