[ntoskrnl/config]

- CmpFindSubKeyByName: Remove the check for (Found) when checking if SubKey is valid as index can be 0.

svn path=/trunk/; revision=44400
This commit is contained in:
Michael Martin 2009-12-04 08:11:59 +00:00
parent 7103686e15
commit 649c865a46

View file

@ -752,7 +752,7 @@ CmpFindSubKeyByName(IN PHHIVE Hive,
return HCELL_NIL;
}
if ((Found) && (SubKey != HCELL_NIL))
if (SubKey != HCELL_NIL)
{
HvReleaseCell(Hive, CellToRelease);
return SubKey;