llrp: fix this condition has identical branches [-Werror=duplicated-branches] found by gcc7
Change-Id: I2bc9b5b50b8698c27f2a56b869de318fa98bf7b1 Reviewed-on: https://code.wireshark.org/review/20469 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
39f6687a91
commit
033232868e
|
@ -1490,7 +1490,7 @@ static guint dissect_llrp_item_array(tvbuff_t * const tvb, packet_info *pinfo,
|
||||||
}
|
}
|
||||||
while(num--) {
|
while(num--) {
|
||||||
proto_tree_add_item(tree, hfindex_item, tvb,
|
proto_tree_add_item(tree, hfindex_item, tvb,
|
||||||
offset, item_size, item_size == 1 ? ENC_NA : ENC_BIG_ENDIAN);
|
offset, item_size, ENC_BIG_ENDIAN);
|
||||||
offset += item_size;
|
offset += item_size;
|
||||||
}
|
}
|
||||||
return offset;
|
return offset;
|
||||||
|
|
Loading…
Reference in New Issue