From cfd5bfa86e492e4b792e181373a84bc67b0eea18 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 20 Oct 2011 01:53:36 +0200 Subject: [PATCH] ntdll: Avoid shadowing size variable. --- dlls/ntdll/heap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/ntdll/heap.c b/dlls/ntdll/heap.c index 2e945e96c5..022045fb41 100644 --- a/dlls/ntdll/heap.c +++ b/dlls/ntdll/heap.c @@ -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 */ -- 2.32.0.93.g670b81a890