]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
silence gcc 4.2 compiler warning
authorMatthew Nicholson <mnicholson@digium.com>
Thu, 24 Feb 2011 14:54:56 +0000 (14:54 +0000)
committerMatthew Nicholson <mnicholson@digium.com>
Thu, 24 Feb 2011 14:54:56 +0000 (14:54 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@308721 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/udptl.c

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