From ceb7d45424c5ad9bba3d25a6ebaa19d8ad4e2cfe Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Thu, 10 Apr 2003 17:49:55 +0000 Subject: [PATCH] Do not add empty bins to a binry hive. svn path=/trunk/; revision=4516 --- reactos/ntoskrnl/cm/regfile.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/cm/regfile.c b/reactos/ntoskrnl/cm/regfile.c index 9a6f20a220d..ff56a813bb9 100644 --- a/reactos/ntoskrnl/cm/regfile.c +++ b/reactos/ntoskrnl/cm/regfile.c @@ -364,6 +364,7 @@ CmiVerifyRegistryHive(PREGISTRY_HIVE RegistryHive) } +#if 0 static NTSTATUS CmiPopulateHive(HANDLE FileHandle) { @@ -418,6 +419,7 @@ CmiPopulateHive(HANDLE FileHandle) return Status; } +#endif static NTSTATUS @@ -472,7 +474,7 @@ CmiCreateNewRegFile(HANDLE FileHandle) return(Status); } -#if 1 +#if 0 if (NT_SUCCESS(Status)) { CmiPopulateHive(FileHandle);