]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 308721 via svnmerge from
authorMatthew Nicholson <mnicholson@digium.com>
Thu, 24 Feb 2011 14:59:41 +0000 (14:59 +0000)
committerMatthew Nicholson <mnicholson@digium.com>
Thu, 24 Feb 2011 14:59:41 +0000 (14:59 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r308721 | mnicholson | 2011-02-24 08:54:56 -0600 (Thu, 24 Feb 2011) | 2 lines

  silence gcc 4.2 compiler warning
........

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

main/udptl.c

index 429c2334d21df299759b7e853b4ef331b6c9ccd6..7d1c43c66ba98265edc01d8e95d1c7950d84e7a3 100644 (file)
@@ -320,9 +320,9 @@ static int udptl_rx_packet(struct ast_udptl *s, uint8_t *buf, unsigned int len)
        unsigned int count;
        int total_count;
        int seq_no;
-       const uint8_t *ifp;
-       const uint8_t *data;
-       unsigned int ifp_len;
+       const uint8_t *ifp = NULL;
+       const uint8_t *data = NULL;
+       unsigned int ifp_len = 0;
        int repaired[16];
        const uint8_t *bufs[ARRAY_LEN(s->f) - 1];
        unsigned int lengths[ARRAY_LEN(s->f) - 1];