Index: src/mem5.c ================================================================== --- src/mem5.c +++ src/mem5.c @@ -212,20 +212,24 @@ /* ** Find the first entry on the freelist iLogsize. Unlink that ** entry and return its index. */ static int memsys5UnlinkFirst(int iLogsize){ - int i; int iFirst; assert( iLogsize>=0 && iLogsize<=LOGMAX ); - i = iFirst = mem5.aiFreelist[iLogsize]; - assert( iFirst>=0 ); - while( i>0 ){ - if( inext; + iFirst = mem5.aiFreelist[iLogsize]; +#if 0 + { + int i = iFirst; + assert( iFirst>=0 ); + while( i>0 ){ + if( inext; + } } +#endif memsys5Unlink(iFirst, iLogsize); return iFirst; } /*