mirror of
https://github.com/reactos/reactos.git
synced 2024-07-21 19:58:08 +00:00
Do not access to not initialized variable
svn path=/trunk/; revision=26045
This commit is contained in:
parent
90a1a6d858
commit
d0b5dbfa63
|
@ -2887,6 +2887,7 @@ IopEnumerateDetectedDevices(
|
|||
DPRINT("ZwQueryValueKey() failed with status 0x%08lx\n", Status);
|
||||
goto nextdevice;
|
||||
}
|
||||
ValueName.Length = ValueName.MaximumLength = 0;
|
||||
}
|
||||
else if (pValueInformation->Type != REG_SZ)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue