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>
This commit is contained in:
Alexis La Goutte 2019-08-30 13:31:11 +00:00 committed by Gerald Combs
parent d81fe4d884
commit 86e7a0273a
1 changed files with 0 additions and 2 deletions

View File

@ -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);