Revert r18070.
authorFilip Navara <filip.navara@gmail.com>
Mon, 26 Sep 2005 20:29:08 +0000 (20:29 +0000)
committerFilip Navara <filip.navara@gmail.com>
Mon, 26 Sep 2005 20:29:08 +0000 (20:29 +0000)
svn path=/trunk/; revision=18107

reactos/ntoskrnl/cm/regfile.c

index 5b4abda..7cb510c 100644 (file)
@@ -3033,7 +3033,6 @@ CmiAllocateHashTableCell (IN PREGISTRY_HIVE RegistryHive,
   else
     {
       ASSERT(SubKeyCount <= 0xffff); /* should really be USHORT_MAX or similar */
   else
     {
       ASSERT(SubKeyCount <= 0xffff); /* should really be USHORT_MAX or similar */
-      NewHashBlock->CellSize = -NewHashSize;
       NewHashBlock->Id = REG_HASH_TABLE_CELL_ID;
       NewHashBlock->HashTableSize = (USHORT)SubKeyCount;
       *HashBlock = NewHashBlock;
       NewHashBlock->Id = REG_HASH_TABLE_CELL_ID;
       NewHashBlock->HashTableSize = (USHORT)SubKeyCount;
       *HashBlock = NewHashBlock;