Do not access to not initialized variable

svn path=/trunk/; revision=26045
This commit is contained in:
Hervé Poussineau 2007-03-08 22:50:48 +00:00
parent 90a1a6d858
commit d0b5dbfa63

View file

@ -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)
{