set variable to NULL to prevent uninitialized warning
authorJeff Peeler <jpeeler@digium.com>
Thu, 13 Mar 2008 20:38:56 +0000 (20:38 +0000)
committerJeff Peeler <jpeeler@digium.com>
Thu, 13 Mar 2008 20:38:56 +0000 (20:38 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@108523 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_externalivr.c

index 49f900c..5c63fb6 100644 (file)
@@ -312,7 +312,7 @@ static int app_exec(struct ast_channel *chan, void *data)
        char hostname[1024];
        char *port_str = NULL;
        int port = 0;
-       struct ast_tcptls_session_instance *ser;
+       struct ast_tcptls_session_instance *ser = NULL;
 
        struct ivr_localuser foo = {
                .playlist = AST_LIST_HEAD_INIT_VALUE,