diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2018-03-26 13:14:14 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-03-26 12:00:48 +0000 |
commit | 927489dc78a340f07fe07929d345d787c23d2471 (patch) | |
tree | 070eb0c381bd4c6a30f34696ba12b45cfe87696f | |
parent | 3f5ae07a60aed48dcc176920b06c2d0cf49460b0 (diff) |
dcerpc-pn-io (profinet): Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: I8dd3fe09d7b5d3132814e3531314220f600746ba
Reviewed-on: https://code.wireshark.org/review/26649
Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r-- | plugins/epan/profinet/packet-dcerpc-pn-io.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/epan/profinet/packet-dcerpc-pn-io.c b/plugins/epan/profinet/packet-dcerpc-pn-io.c index 61ef3943a9..2882d86ba3 100644 --- a/plugins/epan/profinet/packet-dcerpc-pn-io.c +++ b/plugins/epan/profinet/packet-dcerpc-pn-io.c @@ -4557,7 +4557,6 @@ packet_info *pinfo, proto_tree *tree, guint8 *drep) /* level 0 */ proto_tree_add_bits_item(sub_tree, hf_pn_io_am_location_structure, tvb, bit_offset, 8, ENC_BIG_ENDIAN); - bit_offset += 8; offset += 16; |