ntdll: Avoid shadowing size variable.
authorMarcus Meissner <meissner@suse.de>
Wed, 19 Oct 2011 23:53:36 +0000 (01:53 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 20 Oct 2011 10:59:30 +0000 (12:59 +0200)
dlls/ntdll/heap.c

index 2e945e9..022045f 100644 (file)
@@ -655,8 +655,9 @@ static void HEAP_MakeInUseBlockFree( SUBHEAP *subheap, ARENA_INUSE *pArena )
     if (((char *)pFree == (char *)subheap->base + subheap->headerSize) &&
         (subheap != &subheap->heap->subheap))
     {
-        SIZE_T size = 0;
         void *addr = subheap->base;
+
+        size = 0;
         /* Remove the free block from the list */
         list_remove( &pFree->entry );
         /* Remove the subheap from the list */