b3aedfa46a48ead09c1cdedf34b07b281ea1ae18
hiram
  Fri Oct 2 10:41:11 2015 -0700
fixup gcc warnings for -Wunused-but-set-variable refs #16121

diff --git src/jkOwnLib/gfBlatLib.c src/jkOwnLib/gfBlatLib.c
index cb9acc6..132d0b1 100644
--- src/jkOwnLib/gfBlatLib.c
+++ src/jkOwnLib/gfBlatLib.c
@@ -713,31 +713,31 @@
 
 static void clumpToHspRange(struct gfClump *clump, bioSeq *qSeq, int tileSize,
 	int frame, struct trans3 *t3, struct gfRange **pRangeList, 
 	boolean isProt, boolean fastMap)
 /* Covert clump->hitList to HSPs (high scoring local sequence pair,
  * that is longest alignment without gaps) and add resulting HSPs to
  * rangeList. */
 {
 struct gfSeqSource *target = clump->target;
 aaSeq *tSeq = target->seq;
 BIOPOL *qs, *ts, *qe, *te;
 struct gfHit *hit;
 int qStart = 0, tStart = 0, qEnd = 0, tEnd = 0, newQ = 0, newT = 0;
 boolean outOfIt = TRUE;		/* Logically outside of a clump. */
 struct gfRange *range;
-BIOPOL *lastQs = NULL, *lastQe = NULL, *lastTs = NULL, *lastTe = NULL;
+BIOPOL *lastQs = NULL, *lastQe = NULL, *lastTs = NULL;
 int (*scoreMatch)(char a, char b) = (isProt ? aaScore2 : dnaScore2);
 int maxDown, minSpan;
 
 if (fastMap)
     {
     maxDown = 2;
     minSpan = 20;
     }
 else
     {
     maxDown = 10;
     minSpan = 0;
     }
 
 
@@ -766,31 +766,31 @@
 	 * all adjacent hits. */
 	if (hit == NULL || newQ != qEnd || newT != tEnd)
 	    {
 	    qs = qSeq->dna + qStart;
 	    ts = tSeq->dna + tStart;
 	    qe = qSeq->dna + qEnd;
 	    te = tSeq->dna + tEnd;
 	    extendHitRight(qSeq->size - qEnd, tSeq->size - tEnd,
 		&qe, &te, scoreMatch, maxDown);
 	    extendHitLeft(qStart, tStart, &qs, &ts, scoreMatch, maxDown);
 	    if (qs != lastQs || ts != lastTs || qe != lastQe || qs !=  lastQs)
 		{
 		lastQs = qs;
 		lastTs = ts;
 		lastQe = qe;
-		lastTe = te;
+		// BIOPOL *lastTe = te;  unnecessary
 		if (qe - qs >= minSpan)
 		    {
 		    AllocVar(range);
 		    range->qStart = qs - qSeq->dna;
 		    range->qEnd = qe - qSeq->dna;
 		    range->tName = cloneString(tSeq->name);
 		    range->tSeq = tSeq;
 		    range->tStart = ts - tSeq->dna;
 		    range->tEnd = te - tSeq->dna;
 		    range->hitCount = qe - qs;
 		    range->frame = frame;
 		    range->t3 = t3;
 		    assert(range->tEnd <= tSeq->size);
 		    slAddHead(pRangeList, range);
 		    }