[NTVDM] GetNextFreeVDDEntry(): Remove 'Entry' redundant initialization (#2859)

Detected by Cppcheck: redundantInitialization.
Addendum to ed874b41 (r61283).
This commit is contained in:
Serge Gautherie 2020-05-25 23:49:47 +02:00 committed by GitHub
parent 03d5ff7f68
commit d59d74fb69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,7 +59,7 @@ static LIST_ENTRY VddUserHooksList = {&VddUserHooksList, &VddUserHooksList};
static USHORT GetNextFreeVDDEntry(VOID)
{
USHORT Entry = MAX_VDD_MODULES;
USHORT Entry;
for (Entry = 0; Entry < ARRAYSIZE(VDDList); ++Entry)
{
if (VDDList[Entry].hDll == NULL) break;