projects
/
wine
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9801818
)
ntdll: Avoid shadowing size variable.
author
Marcus Meissner
<meissner@suse.de>
Wed, 19 Oct 2011 23:53:36 +0000
(
01:53
+0200)
committer
Alexandre Julliard
<julliard@winehq.org>
Thu, 20 Oct 2011 10:59:30 +0000
(12:59 +0200)
dlls/ntdll/heap.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/ntdll/heap.c
b/dlls/ntdll/heap.c
index
2e945e9
..
022045f
100644
(file)
--- 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 */