71846b84aa4e4c3b938ebc76ab6de4f7e7913fdd
hiram
  Wed Nov 25 10:48:36 2015 -0800
fixup gcc warnings for -Wunused-but-set-variable refs #16121

diff --git src/utils/gffPeek/gffPeek.c src/utils/gffPeek/gffPeek.c
index ce93b7e..a46630b 100644
--- src/utils/gffPeek/gffPeek.c
+++ src/utils/gffPeek/gffPeek.c
@@ -75,71 +75,74 @@
 
 void countedHashDump(struct countedHash *ch, FILE *f)
 /* Dump out contents of counted hash. */
 {
 struct countedName *cn;
 slSort(&ch->list, countedNameCmp);
 fprintf(f, "%s:\n", ch->name);
 for (cn=ch->list; cn != NULL; cn = cn->next)
     fprintf(f, "  %s\t%d\n", cn->name, cn->count);
 }
 
 void gffPeek(char *fileName)
 /* gffPeek - Look at a gff file and report some basic stats. */
 {
 struct lineFile *lf = lineFileOpen(fileName, TRUE);
-char *line, *word, *group;
+char *line, *word;
 char *row[9];
 int commentCount = 0;
 int badCount = 0;
 int wordCount;
 struct countedHash *seqHash = countedHashNew("seq", 16);
 struct countedHash *sourceHash = countedHashNew("source", 16);
 struct countedHash *featureHash = countedHashNew("feature", 16);
 struct countedHash *strandHash = countedHashNew("strand", 8);
 struct countedHash *frameHash = countedHashNew("frame", 8);
-boolean complexGroup = FALSE;
+// boolean complexGroup = FALSE;  unused
+// char *group;  unused
 
 while (lineFileNext(lf, &line, NULL))
     {
     line = skipLeadingSpaces(line);
     if (line[0] == '#')
         {
 	++commentCount;
 	continue;
 	}
     wordCount = 0;
     for (wordCount=0; wordCount<8; ++wordCount)
         {
 	word = nextWord(&line);
 	if (word == NULL)
 	    break;
 	row[wordCount] = word;
 	}
     if (wordCount < 8)
         {
 	++badCount;
 	continue;
 	}
     line = skipLeadingSpaces(line);
+/* unused code
     group = NULL;
     if (line != NULL && line[0] != 0)
         {
 	group = line;
 	if (strchr(group, '=') != 0)
 	    complexGroup = TRUE;
 	}
+*/
     countedHashAdd(seqHash, row[0]);
     countedHashAdd(sourceHash, row[1]);
     countedHashAdd(featureHash, row[2]);
     countedHashAdd(strandHash, row[6]);
     countedHashAdd(frameHash, row[7]);
     }
 if (optionExists("seq"))
     countedHashDump(seqHash, stdout);
 countedHashDump(sourceHash, stdout);
 countedHashDump(featureHash, stdout);
 countedHashDump(strandHash, stdout);
 countedHashDump(frameHash, stdout);
 }
 
 int main(int argc, char *argv[])