From aae72680bd7dbd80c609d4ba43511744fe878465 Mon Sep 17 00:00:00 2001 From: Alessandro Decina Date: Wed, 1 Dec 2010 23:20:36 +0100 Subject: Fix compiler warnings with gcc 4.2.1 on OSX. --- gst/pcapparse/gstpcapparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst/pcapparse') 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; -- cgit v1.2.1