mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 12:23:29 +00:00
fixed uninitialized variable warning
svn path=/trunk/; revision=14894
This commit is contained in:
@@ -1293,11 +1293,11 @@ RegEnumValueA (HKEY hKey,
|
||||
}
|
||||
else
|
||||
{
|
||||
if (lpData)
|
||||
{
|
||||
IsStringType = (ValueInfo->Full.Type == REG_SZ) ||
|
||||
IsStringType = (ValueInfo->Full.Type == REG_SZ) ||
|
||||
(ValueInfo->Full.Type == REG_MULTI_SZ) ||
|
||||
(ValueInfo->Full.Type == REG_EXPAND_SZ);
|
||||
if (lpData)
|
||||
{
|
||||
if (ValueInfo->Full.NameLength > NameLength ||
|
||||
(!IsStringType && ValueInfo->Full.DataLength > *lpcbData) ||
|
||||
ValueInfo->Full.DataLength > DataLength)
|
||||
|
||||
Reference in New Issue
Block a user