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:
Alexis La Goutte 2018-04-30 14:12:05 +02:00 committed by Anders Broman
parent 89515306ab
commit d56273a8d0
1 changed files with 0 additions and 2 deletions

View File

@ -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);