]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
cli.c: Fix compiler error.
authorBen Ford <bford@digium.com>
Mon, 8 Jun 2020 19:34:10 +0000 (14:34 -0500)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Wed, 10 Jun 2020 14:31:38 +0000 (09:31 -0500)
Added default variable value to fix a compiler error.

Change-Id: I7b592adbb1274dc5464dea1c5e5de0685c928553

main/cli.c

index b47b26c21fed4af966b2f68efaa6be798872eeae..3cb42f23d998be25dbe56756c60d98b55f5663fd 100644 (file)
@@ -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: