]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Address uninitialized conditional that valgrind found
authorKinsey Moore <kmoore@digium.com>
Wed, 27 Mar 2013 19:50:19 +0000 (19:50 +0000)
committerKinsey Moore <kmoore@digium.com>
Wed, 27 Mar 2013 19:50:19 +0000 (19:50 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@384162 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 41dbfc27315f339195aff8ac1f071f418722567b..b3d745ff67ab50ae13e3a331e20e2957ddf0b789 100644 (file)
@@ -23438,7 +23438,7 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, int
 
        /* Session-Timers */
        if ((p->sipoptions & SIP_OPT_TIMER)) {
-               enum st_refresher_param st_ref_param;
+               enum st_refresher_param st_ref_param = SESSION_TIMER_REFRESHER_PARAM_UNKNOWN;
 
                /* The UAC has requested session-timers for this session. Negotiate
                the session refresh interval and who will be the refresher */