From e20cdd13b6f0d0b1997b92ad0e3ae0549c78db1b Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Thu, 14 Jul 2022 02:11:57 +0300 Subject: [PATCH] Fix simple-offsets return value --- src/cli.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.cpp b/src/cli.cpp index fefc99a3..52cd5776 100644 --- a/src/cli.cpp +++ b/src/cli.cpp @@ -167,7 +167,7 @@ static void help() static int run(cli_tool_t *p, json11::Json::object cfg) { - cli_result_t result; + cli_result_t result = {}; p->parse_config(cfg); json11::Json::array cmd = cfg["command"].array_items(); cfg.erase("command");