intel / intel-ipsec-mb

Intel(R) Multi-Buffer Crypto for IPSec
BSD 3-Clause "New" or "Revised" License
288 stars 88 forks source link

test: remove redundant initialization of variable j #114

Closed ColinIanKing closed 1 year ago

ColinIanKing commented 1 year ago

Variable j is being initialized with zero however this value is never read and j is being re-assigned later in for-loop. Remove the redundant initialization.

Found using cppcheck static analysis

Signed-off-by: Colin Ian King colin.i.king@gmail.com

Description

Minor static analysis clean up, remove redundant initializations of loop variable.

Affected parts

Motivation and Context

Minor code clean up.

How Has This Been Tested?

Build check only.

Types of changes

Checklist:

tkanteck commented 1 year ago

thanks! merged 2715a46d8dd0689ca44ef9491df8f203324cc2e0