aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2018-04-30 14:12:05 +0200
committerAnders Broman <a.broman58@gmail.com>2018-05-01 10:18:41 +0000
commitd56273a8d0c203588bc83c733689a9a21f0a6beb (patch)
tree0fa9d5e70433c9fcc568634b4f00d8c7640a7139 /epan
parent89515306ab634cbf6931d8cf5bc011db5964d1db (diff)
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>
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-bfcp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-bfcp.c b/epan/dissectors/packet-bfcp.c
index 090d0c5637..2b18063f8c 100644
--- a/epan/dissectors/packet-bfcp.c
+++ b/epan/dissectors/packet-bfcp.c
@@ -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);