OSDN Git Service

Eliminate unused variable warnings in the alloc code. In the places
authorCarl Shapiro <cshapiro@google.com>
Mon, 15 Feb 2010 07:11:47 +0000 (23:11 -0800)
committerCarl Shapiro <cshapiro@google.com>
Mon, 15 Feb 2010 07:11:47 +0000 (23:11 -0800)
commit98389d0893ad3d3e06cfb38296b01de39e52db31
treefd1ecbc723a173410edafe03505cd9df8fb9524a
parentdfe5e3831c8c1ca37f6dbd06d1ed31873c4055d7
Eliminate unused variable warnings in the alloc code.  In the places
where unused attributes have been added, arguably, the return code
should be passed up to the caller or, if the return code indicates an
error, we should fast-fail.
vm/Thread.h
vm/alloc/Heap.c
vm/alloc/HeapDebug.c
vm/alloc/HeapSource.c
vm/alloc/HeapTable.c
vm/alloc/HeapTable.h
vm/alloc/HeapWorker.c
vm/alloc/MarkSweep.c