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

Change-Id: I33c6e456bc8c4bae47f4df1457799cb0d09b520f
Reviewed-on: https://code.wireshark.org/review/28289
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Dario Lombardo <lomato@gmail.com>
This commit is contained in:
Alexis La Goutte 2018-06-15 12:53:26 +00:00 committed by Dario Lombardo
parent 8c959c80e9
commit 3d5b268323
1 changed files with 0 additions and 2 deletions

View File

@ -588,7 +588,6 @@ static INT Dot11DecryptScanForKeys(
/* start with descriptor body */
offset+=1;
tot_len_left-=1;
/* search for a cached Security Association for current BSSID and AP */
sa = Dot11DecryptGetSaPtr(ctx, &id);
@ -685,7 +684,6 @@ static INT Dot11DecryptScanForKeys(
/* skip Token + capabilities */
offset+=5;
tot_len_left-=5;
/* search for RSN, Fast BSS Transition, Link Identifier and Timeout Interval IEs */