Declare next_tvb volatile. This prevents the warning:
packet-infiniband.c:806: warning: variable 'next_tvb' might be clobbered by `longjmp' or `vfork' seen with gcc 3.4.6 (building for 32-bits on a pentium 4). svn path=/trunk/; revision=25916
This commit is contained in:
parent
96aa45646d
commit
ad16b7b403
|
@ -803,7 +803,7 @@ static void parse_PAYLOAD(proto_tree * parentTree, tvbuff_t *tvb, gint *offset,
|
|||
proto_tree *PAYLOAD_header_tree = NULL;
|
||||
proto_item *PAYLOAD_header_item = NULL;
|
||||
guint8 management_class;
|
||||
tvbuff_t *next_tvb;
|
||||
tvbuff_t *volatile next_tvb;
|
||||
gint captured_length, reported_length;
|
||||
guint16 etype, reserved;
|
||||
const char *saved_proto;
|
||||
|
|
Loading…
Reference in New Issue