- The check for SystemHive being non-NULL is meaningless, because CmpInitializeHive is already checked for failure earlier, and in success case it returns a valid Hive.

- Fix for Coverity error CID: 280

svn path=/trunk/; revision=36417
This commit is contained in:
Aleksey Bragin
2008-09-23 08:04:23 +00:00
parent 112e87a86c
commit 77b6062570
+1 -1
View File
@@ -775,7 +775,7 @@ CmpInitializeSystemHive(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
}
/* Save the boot type */
if (SystemHive) CmpBootType = SystemHive->Hive.BaseBlock->BootType;
CmpBootType = SystemHive->Hive.BaseBlock->BootType;
/* Are we in self-healing mode? */
if (!CmSelfHeal)