Fixed compilation. Modified: trunk/reactos/ntoskrnl/mm/npool.c _____
Modified: trunk/reactos/ntoskrnl/mm/npool.c --- trunk/reactos/ntoskrnl/mm/npool.c 2005-08-11 21:46:37 UTC (rev 17320) +++ trunk/reactos/ntoskrnl/mm/npool.c 2005-08-11 21:56:28 UTC (rev 17321) @@ -1258,7 +1258,7 @@
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 @@
VALIDATE_POOL;
-#if 1 +#if 0 /* after some allocations print the npaged pool stats */ #ifdef TAG_STATISTICS_TRACKING