From: Matthew Nicholson Date: Thu, 24 Feb 2011 14:54:56 +0000 (+0000) Subject: silence gcc 4.2 compiler warning X-Git-Tag: 1.4.42-rc1~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebc809b6d451d62e30d8147aa98ea273691808b9;p=thirdparty%2Fasterisk.git silence gcc 4.2 compiler warning git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@308721 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/udptl.c b/main/udptl.c index fc1f2ccd15..447b7fb6fb 100644 --- a/main/udptl.c +++ b/main/udptl.c @@ -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];