ipsec: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang

Change-Id: Ic599195cbbcdbf229b126a7f95ef5a4de8aea0ec
Reviewed-on: https://code.wireshark.org/review/24919
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Alexis La Goutte 2017-12-20 20:32:48 +00:00 committed by Michael Mann
parent 917867c432
commit 798b937d97

View file

@ -631,7 +631,6 @@ static int get_ipv6_suffix(char* ipv6_suffix, char *ipv6_address)
suffix[IPSEC_STRLEN_IPV6 -1 -cpt_suffix] = '0';
cpt_suffix ++;
}
cpt_seg = 0;
}
}