fixes compile error from uninitialized variable
authorDavid Vossel <dvossel@digium.com>
Fri, 4 Jun 2010 22:37:13 +0000 (22:37 +0000)
committerDavid Vossel <dvossel@digium.com>
Fri, 4 Jun 2010 22:37:13 +0000 (22:37 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@268281 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 815cb0c..31eaaab 100644 (file)
@@ -18764,7 +18764,7 @@ static void handle_response(struct sip_pvt *p, int resp, const char *rest, struc
        }
 
        if (p->socket.type == SIP_TRANSPORT_UDP) {
-               int ack_res;
+               int ack_res = FALSE;
 
                /* Acknowledge whatever it is destined for */
                if ((resp >= 100) && (resp <= 199)) {