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:
parent
d81fe4d884
commit
86e7a0273a
1 changed files with 0 additions and 2 deletions
|
@ -5619,8 +5619,6 @@ dissect_tek_key_attribute(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, i
|
||||||
&headerlen, &value_len, &attr_type,
|
&headerlen, &value_len, &attr_type,
|
||||||
&attr_item, &attr_tree);
|
&attr_item, &attr_tree);
|
||||||
|
|
||||||
offset += headerlen;
|
|
||||||
|
|
||||||
if (value_len == 0)
|
if (value_len == 0)
|
||||||
{
|
{
|
||||||
expert_add_info(pinfo, attr_item, &ei_isakmp_attribute_value_empty);
|
expert_add_info(pinfo, attr_item, &ei_isakmp_attribute_value_empty);
|
||||||
|
|
Loading…
Reference in a new issue