From: Ben Ford Date: Mon, 8 Jun 2020 19:34:10 +0000 (-0500) Subject: cli.c: Fix compiler error. X-Git-Tag: 16.12.0-rc1~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68b2a2f1abbb1b35a9909984dba529066e695fb4;p=thirdparty%2Fasterisk.git cli.c: Fix compiler error. Added default variable value to fix a compiler error. Change-Id: I7b592adbb1274dc5464dea1c5e5de0685c928553 --- diff --git a/main/cli.c b/main/cli.c index 13ef7d527b..f1a51fa63b 100644 --- a/main/cli.c +++ b/main/cli.c @@ -407,7 +407,7 @@ static void status_debug_verbose(struct ast_cli_args *a, int handler, int old_va { char was_buf[30]; const char *was; - const char *what; + const char *what = ""; switch(handler) { case DEBUG_HANDLER: