From ed43d4bddd0bcd7e9a3ee28d26e9f458622a744a Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Thu, 11 Aug 2005 21:56:28 +0000 Subject: [PATCH] Fixed compilation. svn path=/trunk/; revision=17321 --- reactos/ntoskrnl/mm/npool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/mm/npool.c b/reactos/ntoskrnl/mm/npool.c index 0ea2abbf8a9..b4a3d926490 100644 --- a/reactos/ntoskrnl/mm/npool.c +++ b/reactos/ntoskrnl/mm/npool.c @@ -1258,7 +1258,7 @@ static HDR_USED* get_block(unsigned int size, unsigned long alignment) HDR_FREE *blk, *current, *previous = NULL, *next = NULL, *best = NULL; ULONG previous_size = 0, current_size, next_size = 0, new_size; PVOID end; - PVOID addr, aligned_addr, best_aligned_addr; + PVOID addr, aligned_addr, best_aligned_addr=NULL; PNODE p; DPRINT("get_block %d\n", size); @@ -1516,7 +1516,7 @@ ExAllocateNonPagedPoolWithTag(POOL_TYPE Type, ULONG Size, ULONG Tag, PVOID Calle VALIDATE_POOL; -#if 1 +#if 0 /* after some allocations print the npaged pool stats */ #ifdef TAG_STATISTICS_TRACKING