rem: Bucket bucket;
context: Ns_PoolStats(Ns_Pool *pool){    Ns_PoolInfo *infoPtr;    Pool *poolPtr = (Pool *) pool;    Bucket bucket;    int i, size;    static Ns_Tls tls;    if (poolPtr == NULL) {	poolPtr = sharedPtr;    }    if (poolPtr == NULL) {	return NULL;    }    size = sizeof(Ns_PoolInfo) + (sizeof(Ns_PoolBucketInfo) * (nbuckets - 1));    if (tls == NULL) {	Ns_MasterLock();	if (tls == NULL) {	    Ns_TlsAlloc(&tls, ns_free);	}	Ns_MasterUnlock();    }    infoPtr = Ns_TlsGet(&tls);    if (infoPtr == NULL) {	infoPtr = ns_malloc(size);	Ns_TlsSet(&tls, infoPtr);    }    infoPtr->name = poolPtr->name;    infoPtr->nbuckets = nbuckets;    infoPtr->nsysalloc = poolPtr->nsysalloc;    for (i = 0; i < nbuckets; ++i) {	infoPtr->buckets[i].blocksize  = binfo[i].blocksize;	bucket = poolPtr->buckets[i];	infoPtr->buckets[i].nfree = bucket.nfree;	infoPtr->buckets[i].nrequest = bucket.nrequest;	infoPtr->buckets[i].nlock = bucket.nlock;	infoPtr->buckets[i].nwait = bucket.nwait;    }    return infoPtr;}