warning: unused variable ‘fd’

This commit is contained in:
Scott Giese 2020-11-23 16:06:43 -06:00
parent f6e63e1831
commit 03abb674dc

View File

@ -195,9 +195,10 @@ static void bottleneck()
printf("GC: wait %2d ", global_elapsedUSec());
#endif
if(g->waitCount >= g->nThreads - 1) {
int fd = freeDead();
#if GC_DETAIL_DEBUG
printf("--> freedead (%5d) : %5d", fd, global_elapsedUSec());
printf("--> freedead (%5d) : %5d", freeDead(), global_elapsedUSec());
#else
freeDead();
#endif
if(g->needGC)
garbageCollect();