b033f31366bc4c78ef9567b7a37b450a07669e36
max
  Tue Jun 27 23:15:15 2023 -0700
fixing unused variable error, was not found by clang on osx, refs #31531

diff --git src/utils/bigBedToBed/bigBedToBed.c src/utils/bigBedToBed/bigBedToBed.c
index 10f5065..d042c17 100644
--- src/utils/bigBedToBed/bigBedToBed.c
+++ src/utils/bigBedToBed/bigBedToBed.c
@@ -78,31 +78,30 @@
 void bigBedToBed(char *inFile, char *outFile)
 /* bigBedToBed - Convert from bigBed to ascii bed format.. */
 {
 struct bbiFile *bbi = bigBedFileOpen(inFile);
 FILE *f = mustOpen(outFile, "w");
 if (header)
     bigBedCmdOutputHeader(bbi, f);
 
 if (clBed != NULL)
     {
     bigBedToBedFromBed(bbi, clBed, f);
     return;
     }
 
 struct bbiChromInfo *chrom, *chromList = bbiChromList(bbi);
-int itemCount = 0;
 for (chrom = chromList; chrom != NULL; chrom = chrom->next)
     {
     if (clChrom != NULL && !sameString(clChrom, chrom->name))
         continue;
     char *chromName = chrom->name;
     int start = 0, end = chrom->size;
     if (clStart > 0)
         start = clStart;
     if (clEnd > 0)
         end = clEnd;
     int itemsLeft = 0;	// Zero actually means no limit.... 
     struct lm *lm = lmInit(0);
     writeFeatures(bbi, chromName, start, end, itemsLeft, lm, f);
     lmCleanup(&lm);
     }