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.
This commit is contained in:
Yves LeBras 2023-08-20 22:17:07 -07:00 committed by GitHub
parent e532c95dfc
commit 16988208bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9809,6 +9809,7 @@ int main(int argc, char **argv) {
config.pipe_mode = 0;
config.pipe_timeout = REDIS_CLI_DEFAULT_PIPE_TIMEOUT;
config.bigkeys = 0;
config.memkeys = 0;
config.hotkeys = 0;
config.stdin_lastarg = 0;
config.stdin_tag_arg = 0;