0d9454999759d2327ac183a471acaa6c3545a021
hiram
  Thu Oct 15 15:40:53 2015 -0700
fixup gcc warnings for -Wunused-but-set-variable refs #16121

diff --git src/hg/hgGene/microarray.c src/hg/hgGene/microarray.c
index 5a391ee..cbc59b1 100644
--- src/hg/hgGene/microarray.c
+++ src/hg/hgGene/microarray.c
@@ -260,36 +260,36 @@
     }
 return maxCount;
 }
 
 static void expRatioPrint(struct expColumn *col,
 	struct sqlConnection *conn, struct sqlConnection *fConn,
 	char *geneId, boolean useBlue)
 /* Print out label and dots for expression ratio. */
 {
 /* Note that the "3.0" here is the default specified in hgNearData.doc */
 /* It should probably be a constant in a header file somewhere instead. */
 float ratioMax = atof(hashOptionalVal(col->settings, "max", "3.0"));
 char *dupe = cloneString(col->type);
 char *s = dupe;
 char *repString = cloneString(hashMustFindVal(col->settings, "representatives"));
-char *shortType, *lookupTable, *expTable, *ratioTable;
+char *expTable, *ratioTable;
 int representativeCount, *representatives = NULL;
 int repSize, repStart, maxInRow=40;
 
-shortType = nextWord(&s);
-lookupTable = nextWord(&s);
+nextWord(&s);  // ignore shortType returned
+nextWord(&s);  // ignore lookupTable returned
 ratioTable = nextWord(&s);
 expTable = nextWord(&s);
 if (expTable == NULL)
     errAbort("short type line in %s", col->name);
 sqlSignedDynamicArray(repString, &representatives, &representativeCount);
 
 for (repStart=0; repStart<representativeCount; repStart += repSize+1)
     {
     repSize = findEnd(representatives+repStart, representativeCount-repStart, 
 	maxInRow);
     hPrintf("<TABLE>\n");
     expLabelPrint(col, "", repSize, representatives+repStart, expTable, repStart);
     hPrintf("<TR>");
     hgExpCellPrint(col->name, geneId, conn, col->lookupTable,
 	    conn, ratioTable, repSize, representatives+repStart,