Do not add empty bins to a binry hive.

svn path=/trunk/; revision=4516
This commit is contained in:
Eric Kohl 2003-04-10 17:49:55 +00:00
parent 294c3bcf94
commit ceb7d45424

View file

@ -364,6 +364,7 @@ CmiVerifyRegistryHive(PREGISTRY_HIVE RegistryHive)
} }
#if 0
static NTSTATUS static NTSTATUS
CmiPopulateHive(HANDLE FileHandle) CmiPopulateHive(HANDLE FileHandle)
{ {
@ -418,6 +419,7 @@ CmiPopulateHive(HANDLE FileHandle)
return Status; return Status;
} }
#endif
static NTSTATUS static NTSTATUS
@ -472,7 +474,7 @@ CmiCreateNewRegFile(HANDLE FileHandle)
return(Status); return(Status);
} }
#if 1 #if 0
if (NT_SUCCESS(Status)) if (NT_SUCCESS(Status))
{ {
CmiPopulateHive(FileHandle); CmiPopulateHive(FileHandle);