summaryrefslogtreecommitdiff
path: root/gst/pcapparse
diff options
context:
space:
mode:
authorAlessandro Decina <alessandro.d@gmail.com>2010-12-01 23:20:36 +0100
committerAlessandro Decina <alessandro.d@gmail.com>2010-12-01 23:20:36 +0100
commitaae72680bd7dbd80c609d4ba43511744fe878465 (patch)
tree0cf6d1963418b7d339a65302bfb090b18c7c6249 /gst/pcapparse
parentce6d8b6d932b82719b971105c409ef91806aa725 (diff)
downloadgstreamer-plugins-bad-aae72680bd7dbd80c609d4ba43511744fe878465.tar.gz
Fix compiler warnings with gcc 4.2.1 on OSX.
Diffstat (limited to 'gst/pcapparse')
-rw-r--r--gst/pcapparse/gstpcapparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/pcapparse/gstpcapparse.c b/gst/pcapparse/gstpcapparse.c
index 640bbe36c..2d3436cc6 100644
--- a/gst/pcapparse/gstpcapparse.c
+++ b/gst/pcapparse/gstpcapparse.c
@@ -330,7 +330,7 @@ gst_pcap_parse_scan_frame (GstPcapParse * self,
const guint8 * buf,
gint buf_size, const guint8 ** payload, gint * payload_size)
{
- const guint8 *buf_ip;
+ const guint8 *buf_ip = 0;
const guint8 *buf_udp;
guint16 eth_type;
guint8 b;