Merged revisions 302414 via svnmerge from
authorSean Bright <sean@malleable.com>
Wed, 19 Jan 2011 15:46:56 +0000 (15:46 +0000)
committerSean Bright <sean@malleable.com>
Wed, 19 Jan 2011 15:46:56 +0000 (15:46 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r302414 | seanbright | 2011-01-19 10:45:17 -0500 (Wed, 19 Jan 2011) | 7 lines

  Initialize an uninitialized variable.

  (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/trunk@302415 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 67c02af..804e1e9 100644 (file)
@@ -13131,7 +13131,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));