]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Initialize an uninitialized variable.
authorSean Bright <sean@malleable.com>
Wed, 19 Jan 2011 15:45:17 +0000 (15:45 +0000)
committerSean Bright <sean@malleable.com>
Wed, 19 Jan 2011 15:45:17 +0000 (15:45 +0000)
(closes issue #18640)
Reported by: jcovert
Patches:
      chan_sip.c.patch uploaded by jcovert (license 551)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@302414 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index d29fc32d3be3d0853cc354eaa1872b919d912b4b..5c0c3507a4790fa72bcc1a158ceb7263f9594c8b 100644 (file)
@@ -12978,7 +12978,7 @@ static enum parse_register_result parse_register_contact(struct sip_pvt *pvt, st
        char *firstcuri = NULL;
        int start = 0;
        int wildcard_found = 0;
-       int single_binding_found;
+       int single_binding_found = 0;
 
        ast_copy_string(contact, __get_header(req, "Contact", &start), sizeof(contact));