forked from osmocom/wireshark
From Sven Eckelmann:
Remove unused length_remaining. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5658 svn path=/trunk/; revision=37896
This commit is contained in:
parent
7bd8379896
commit
b00a34230c
|
@ -1570,7 +1570,6 @@ static void dissect_batadv_unicast_frag_v12(tvbuff_t *tvb, packet_info *pinfo, p
|
||||||
proto_tree *batadv_unicast_frag_tree = NULL, *flag_tree;
|
proto_tree *batadv_unicast_frag_tree = NULL, *flag_tree;
|
||||||
|
|
||||||
tvbuff_t *new_tvb;
|
tvbuff_t *new_tvb;
|
||||||
guint length_remaining;
|
|
||||||
int offset = 0;
|
int offset = 0;
|
||||||
int head = 0;
|
int head = 0;
|
||||||
|
|
||||||
|
@ -1641,8 +1640,6 @@ static void dissect_batadv_unicast_frag_v12(tvbuff_t *tvb, packet_info *pinfo, p
|
||||||
|
|
||||||
tap_queue_packet(batadv_tap, pinfo, unicast_frag_packeth);
|
tap_queue_packet(batadv_tap, pinfo, unicast_frag_packeth);
|
||||||
|
|
||||||
length_remaining = tvb_length_remaining(tvb, offset);
|
|
||||||
|
|
||||||
head = (unicast_frag_packeth->flags & 0x1);
|
head = (unicast_frag_packeth->flags & 0x1);
|
||||||
frag_msg = fragment_add_seq_check(tvb, offset, pinfo,
|
frag_msg = fragment_add_seq_check(tvb, offset, pinfo,
|
||||||
unicast_frag_packeth->seqno + head,
|
unicast_frag_packeth->seqno + head,
|
||||||
|
|
Loading…
Reference in New Issue