From: Ben Ford Date: Mon, 8 Jun 2020 19:34:10 +0000 (-0500) Subject: cli.c: Fix compiler error. X-Git-Tag: 17.6.0-rc1~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=246615925f33cc7ca94ae22d86e1d73b1c89afc7;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 b47b26c21f..3cb42f23d9 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: