Initialize new variable to NULL
authorTerry Wilson <twilson@digium.com>
Tue, 8 Jan 2008 21:56:57 +0000 (21:56 +0000)
committerTerry Wilson <twilson@digium.com>
Tue, 8 Jan 2008 21:56:57 +0000 (21:56 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97248 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index 8e35d7d..fc3b7e3 100644 (file)
@@ -5557,7 +5557,7 @@ static int manager_queue_member_penalty(struct mansession *s, const struct messa
 
 static char *handle_queue_add_member(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
 {
-       char *queuename, *interface, *membername = NULL, *state_interface;
+       char *queuename, *interface, *membername = NULL, *state_interface = NULL;
        int penalty;
 
        switch ( cmd ) {