aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bmp.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2015-02-19 22:38:45 +0100
committerAnders Broman <a.broman58@gmail.com>2015-02-22 20:25:21 +0000
commit1c4053f8b3db7d601ae204dd2d560dc8fd0d9b48 (patch)
tree9daefa94a300001c58c60ef14e0eff3d2bb60c0b /epan/dissectors/packet-bmp.c
parentb9296b721f2e819f4243f100e102489c7ac4d718 (diff)
BMP: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: I322be0953ce8c872f8464c3e095dfe9006d3b67b Reviewed-on: https://code.wireshark.org/review/7261 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-bmp.c')
-rw-r--r--epan/dissectors/packet-bmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bmp.c b/epan/dissectors/packet-bmp.c
index 188535eb01..c7db2abf5a 100644
--- a/epan/dissectors/packet-bmp.c
+++ b/epan/dissectors/packet-bmp.c
@@ -383,7 +383,7 @@ dissect_bmp_termination(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_,
} else {
proto_tree_add_item(subtree, hf_term_reason, tvb, offset, term_len, ENC_BIG_ENDIAN);
}
- offset += term_len;
+ /*offset += term_len;*/
}