From 16988208bd6d0b7dcebcc79a988b5dfd0f3419a4 Mon Sep 17 00:00:00 2001 From: Yves LeBras Date: Sun, 20 Aug 2023 22:17:07 -0700 Subject: [PATCH] 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. --- src/redis-cli.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/redis-cli.c b/src/redis-cli.c index ae565225b..85906e34b 100644 --- a/src/redis-cli.c +++ b/src/redis-cli.c @@ -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;