Author: mjmartin
Date: Fri Dec 4 09:11:59 2009
New Revision: 44400
URL:
http://svn.reactos.org/svn/reactos?rev=44400&view=rev
Log:
[ntoskrnl/config]
- CmpFindSubKeyByName: Remove the check for (Found) when checking if SubKey is valid as
index can be 0.
Modified:
trunk/reactos/ntoskrnl/config/cmindex.c
Modified: trunk/reactos/ntoskrnl/config/cmindex.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/cmindex.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/config/cmindex.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/config/cmindex.c [iso-8859-1] Fri Dec 4 09:11:59 2009
@@ -752,7 +752,7 @@
return HCELL_NIL;
}
- if ((Found) && (SubKey != HCELL_NIL))
+ if (SubKey != HCELL_NIL)
{
HvReleaseCell(Hive, CellToRelease);
return SubKey;