Marcus Meissner : ntdll: Avoid shadowing size variable.

Alexandre Julliard julliard at winehq.org
Thu Oct 20 14:25:10 CDT 2011


Module: wine
Branch: master
Commit: cfd5bfa86e492e4b792e181373a84bc67b0eea18
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=cfd5bfa86e492e4b792e181373a84bc67b0eea18

Author: Marcus Meissner <meissner at suse.de>
Date:   Thu Oct 20 01:53:36 2011 +0200

ntdll: Avoid shadowing size variable.

---

 dlls/ntdll/heap.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/ntdll/heap.c b/dlls/ntdll/heap.c
index 2e945e9..022045f 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 */




More information about the wine-cvs mailing list