forked from osmocom/wireshark
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:
parent
8c959c80e9
commit
3d5b268323
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue