Hi,

I found this warning after I updated from svn this morning.  I'm using gcc
3.4.6 under Linux.

I'm not sure what the correct fix would be, I wouldn't  be surprised if it
wasn't the attached patch though...

Martin
Index: packet-mp2t.c
===================================================================
--- packet-mp2t.c	(revision 27383)
+++ packet-mp2t.c	(working copy)
@@ -442,11 +442,12 @@
 
 
 static gint
-dissect_tsp(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree,
+dissect_tsp(tvbuff_t *tvb, gint offset_in, packet_info *pinfo, proto_tree *tree,
 	    conversation_t *conv)
 {
 	guint32 header;
 	guint afc;
+	volatile gint offset = offset_in;
 	gint start_offset = offset;
 	gint payload_len;
 
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to