forked from osmocom/wireshark
bfcp: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: I46cd2392022b5fb64e997c74650f6a2002f519c6 Reviewed-on: https://code.wireshark.org/review/27216 Reviewed-by: Ivan Nardi <nardi.ivan@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
89515306ab
commit
d56273a8d0
|
@ -201,8 +201,6 @@ dissect_bfcp_attributes(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int
|
|||
}
|
||||
offset++;
|
||||
|
||||
pad_len = 0; /* Default to no padding*/
|
||||
|
||||
switch(attribute_type){
|
||||
case 1: /* Beneficiary ID */
|
||||
proto_tree_add_item(bfcp_attr_tree, hf_bfcp_beneficiary_id, tvb, offset, 2, ENC_BIG_ENDIAN);
|
||||
|
|
Loading…
Reference in New Issue