048d0dcf99a55daf4dbec3c9f39decafe81b2c5c galt Fri Jan 10 12:47:51 2025 -0800 fix compiler complaint of nightly util build. diff --git src/hg/hgBlat/hgBlat.c src/hg/hgBlat/hgBlat.c index 6b79bad..2207894 100644 --- src/hg/hgBlat/hgBlat.c +++ src/hg/hgBlat/hgBlat.c @@ -166,31 +166,31 @@ { return (b->maxGeneHits - a->maxGeneHits); } } else return result; } // === parallel code ==== void queryServerFinish(struct genomeHits *gH); // Forward declaration static pthread_mutex_t pfdMutex = PTHREAD_MUTEX_INITIALIZER; static struct genomeHits *pfdList = NULL, *pfdRunning = NULL, *pfdDone = NULL, *pfdNeverStarted = NULL; -static void *remoteParallelLoad(void *) +static void *remoteParallelLoad(void *x) /* Each thread loads tracks in parallel until all work is done. */ { struct genomeHits *pfd = NULL; boolean allDone = FALSE; while(1) { pthread_mutex_lock( &pfdMutex ); if (!pfdList) { allDone = TRUE; } else { // move it from the waiting queue to the running queue pfd = slPopHead(&pfdList); slAddHead(&pfdRunning, pfd);