From: David Vossel Date: Fri, 4 Jun 2010 22:37:13 +0000 (+0000) Subject: fixes compile error from uninitialized variable X-Git-Tag: 11.0.0-beta1~2905 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e32d9a1303ede265a49976f478de96a3ddc51a1a;p=thirdparty%2Fasterisk.git fixes compile error from uninitialized variable git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@268281 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 815cb0c798..31eaaaba91 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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)) {