summaryrefslogtreecommitdiff
path: root/main/udptl.c
diff options
context:
space:
mode:
authorMatthew Nicholson <mnicholson@digium.com>2011-02-24 15:10:58 +0000
committerMatthew Nicholson <mnicholson@digium.com>2011-02-24 15:10:58 +0000
commit0658c5ec2e12dbc8a8735886427b86326b11233f (patch)
treefef3b725dfee87b1fea9234c5c49e3e143b9fe17 /main/udptl.c
parent5deb544d06acf821f54f61890ae1129697ff8591 (diff)
Merged revisions 308723 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ................ r308723 | mnicholson | 2011-02-24 09:06:14 -0600 (Thu, 24 Feb 2011) | 16 lines Merged revisions 308722 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ................ r308722 | mnicholson | 2011-02-24 08:59:41 -0600 (Thu, 24 Feb 2011) | 9 lines Merged revisions 308721 via svnmerge from 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/trunk@308724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/udptl.c')
-rw-r--r--main/udptl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/udptl.c b/main/udptl.c
index a90e89930..ab395876d 100644
--- a/main/udptl.c
+++ b/main/udptl.c
@@ -321,9 +321,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];