aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2016-01-16 12:05:11 +0100
committerAnders Broman <a.broman58@gmail.com>2016-01-19 05:57:18 +0000
commit174fa7e2f7662a080231fd31250d8bd1b23cd5b3 (patch)
treebbeed6d1278acd57e89b16cdcb36d790b6cd236e
parent9663d8c4771934be165eef59c7cdb75c19aa2558 (diff)
MAUSB: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: I69b21ee05755cf849d52756ef4cad7bb3571762d Reviewed-on: https://code.wireshark.org/review/13327 Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--epan/dissectors/packet-mausb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-mausb.c b/epan/dissectors/packet-mausb.c
index 0461fa9f1d..9d2857bee0 100644
--- a/epan/dissectors/packet-mausb.c
+++ b/epan/dissectors/packet-mausb.c
@@ -1614,8 +1614,7 @@ dissect_mausb_pkt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
/* Dissect additional management fields (when applicable) */
if (offset < header.length) {
- offset = dissect_mausb_mgmt_pkt_flds(&header, mausb_tree, tvb,
- pinfo, offset);
+ dissect_mausb_mgmt_pkt_flds(&header, mausb_tree, tvb, pinfo, offset);
}
}