warning: unused variable ‘fd’
This commit is contained in:
parent
f6e63e1831
commit
03abb674dc
@ -195,9 +195,10 @@ static void bottleneck()
|
|||||||
printf("GC: wait %2d ", global_elapsedUSec());
|
printf("GC: wait %2d ", global_elapsedUSec());
|
||||||
#endif
|
#endif
|
||||||
if(g->waitCount >= g->nThreads - 1) {
|
if(g->waitCount >= g->nThreads - 1) {
|
||||||
int fd = freeDead();
|
|
||||||
#if GC_DETAIL_DEBUG
|
#if GC_DETAIL_DEBUG
|
||||||
printf("--> freedead (%5d) : %5d", fd, global_elapsedUSec());
|
printf("--> freedead (%5d) : %5d", freeDead(), global_elapsedUSec());
|
||||||
|
#else
|
||||||
|
freeDead();
|
||||||
#endif
|
#endif
|
||||||
if(g->needGC)
|
if(g->needGC)
|
||||||
garbageCollect();
|
garbageCollect();
|
||||||
|
Loading…
Reference in New Issue
Block a user