mirror of
https://github.com/reactos/reactos.git
synced 2024-10-15 13:45:58 +00:00
[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:
parent
7103686e15
commit
649c865a46
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue