ff9313091f342ffe62a124427b5c9d6a516faaea hiram Thu Oct 15 15:03:07 2015 -0700 fixup gcc warnings for -Wunused-but-set-variable refs #16121 diff --git src/hg/hgc/expClick.c src/hg/hgc/expClick.c index aa69e60..5aa3602 100644 --- src/hg/hgc/expClick.c +++ src/hg/hgc/expClick.c @@ -186,34 +186,33 @@ printf(" \n", square, square, rgb.r, rgb.g, rgb.b); } printf("\n"); } static void msBedPrintTable(struct bed *bedList, struct hash *erHash, char *itemName, char *expName, float minScore, float maxScore, float stepSize, int base, void(*printHeader)(struct bed *bedList, struct hash *erHash, char *item), void(*printRow)(struct bed *bedList,struct hash *erHash, int expIndex, char *expName, float maxScore, enum expColorType colorScheme), void(*printKey)(float minVal, float maxVal, float size, int base, struct rgbColor(*getColor)(float val, float max, enum expColorType colorScheme), enum expColorType colorScheme), struct rgbColor(*getColor)(float val, float max, enum expColorType colorScheme), enum expColorType colorScheme) /* prints out a table from the data present in the bedList */ { -int i,featureCount=0; +int i; if(bedList == NULL) errAbort("hgc::msBedPrintTable() - bedList is NULL"); -featureCount = slCount(bedList); /* time to write out some html, first the table and header */ if(printKey != NULL) printKey(minScore, maxScore, stepSize, base, getColor, colorScheme); printf("

\n"); printf("\n"); printf("
"); printf(""); printHeader(bedList, erHash, itemName); for(i=0; iexpCount; i++) { printRow(bedList, erHash, i, expName, maxScore, colorScheme); } printf("
"); printf("
"); printf("");