From: Matthew Nicholson Date: Thu, 24 Feb 2011 15:16:43 +0000 (+0000) Subject: silence gcc 4.2 compiler warning X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0f933a099717282f971d0b50e48a3b82e24cd56;p=thirdparty%2Fasterisk.git silence gcc 4.2 compiler warning git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@308725 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/udptl.c b/main/udptl.c index a68eebe176..3d87b121ee 100644 --- a/main/udptl.c +++ b/main/udptl.c @@ -322,9 +322,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];