aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2019-08-30 13:31:11 +0000
committerGerald Combs <gerald@wireshark.org>2019-08-30 21:51:46 +0000
commit86e7a0273ae3a95360f84de0283cea053e5fbe2d (patch)
tree6dfdc43ea390d80d2f984d9a3e654ea54aed240d
parentd81fe4d8843d3e76fec8466867d39435c03b188a (diff)
isakmp: Fix Dead Store
Fix dead store (Dead assignement/Dead increment) Warning found by Clang Change-Id: I318fec3f9cf8d86eaa4260f00e8747683a049e6e Reviewed-on: https://code.wireshark.org/review/34407 Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl> Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
-rw-r--r--epan/dissectors/packet-isakmp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-isakmp.c b/epan/dissectors/packet-isakmp.c
index 640c396395..2f9301690e 100644
--- a/epan/dissectors/packet-isakmp.c
+++ b/epan/dissectors/packet-isakmp.c
@@ -5619,8 +5619,6 @@ dissect_tek_key_attribute(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, i
&headerlen, &value_len, &attr_type,
&attr_item, &attr_tree);
- offset += headerlen;
-
if (value_len == 0)
{
expert_add_info(pinfo, attr_item, &ei_isakmp_attribute_value_empty);