e685265dd1b666acaab2bc076c141c368fb4be66
hiram
  Thu Oct 15 11:36:17 2015 -0700
fixup gcc warnings for -Wunused-but-set-variable refs #16121

diff --git src/hg/hgTracks/cytoBandTrack.c src/hg/hgTracks/cytoBandTrack.c
index 2dccdd9..a0040f6 100644
--- src/hg/hgTracks/cytoBandTrack.c
+++ src/hg/hgTracks/cytoBandTrack.c
@@ -107,43 +107,39 @@
 static void freeCytoBands(struct track *tg)
 /* Free up isochore items. */
 {
 cytoBandFreeList((struct cytoBand**)&tg->items);
 }
 
 void cytoBandIdeoDraw(struct track *tg,
 		      int seqStart, int seqEnd,
 		      struct hvGfx *hvg, int xOff, int yOff, int width,
 		      MgFont *font, Color color, enum trackVisibility vis)
 /* Draw the entire chromosome with a little red box around our
    current position. */
 {
 double scale = 0;
 int xBorder = 4;
-int lineHeight = 0;
-int heightPer = 0;
 int x1, x2;
 int yBorder = 0;
 int chromSize = hChromSize(database, chromName);
 struct cytoBand *cbList = NULL, *cb = NULL;
 scale = (double) (width - (2 * xBorder)) / chromSize;
 
 /* Subtrack 10 for the 5 pixels buffer on either side. */
 tg->heightPer -= 11;
 tg->lineHeight -= 11;
-lineHeight = tg->lineHeight;
-heightPer = tg->heightPer;
 
 /* Time to draw the bands. */
 hvGfxSetClip(hvg, xOff, yOff, width, tg->height);
 genericDrawItems(tg, 0, chromSize, hvg, xOff+xBorder, yOff+5, width-(2*xBorder), font, color, tvDense);
 
 x1 = round((winStart)*scale) + xOff + xBorder -1;
 x2 = round((winEnd)*scale) + xOff + xBorder -1;
 if(x1 >= x2)
     x2 = x1+1;
 yBorder = tg->heightPer + 7 + 1;
 
 
 /* Draw an outline around chromosome for visualization purposes. Helps
  to make the chromosome look better. */
 hvGfxLine(hvg, xOff+xBorder, yOff+4, xOff+width-xBorder, yOff+4, MG_BLACK);