0886e7b5c34b188b9030e65199c5368592c486c5 markd Tue Nov 24 20:28:35 2015 -0800 fixed unused variable warnings diff --git src/hg/gbToFaRa/gbToFaRa.c src/hg/gbToFaRa/gbToFaRa.c index 0a9bc7b..f898189 100644 --- src/hg/gbToFaRa/gbToFaRa.c +++ src/hg/gbToFaRa/gbToFaRa.c @@ -1104,31 +1104,31 @@ int modder = 100; /* How often to print an I'm still alive dot. */ char *origFaDir = faDir; if (formatType == ftBac) modder = 100; gbCount = 0; while (readGbInfo(lf)) { char *locus = locusField->val; char *accession = accessionField->val; int version = 0; char *gi = NULL; char *verChar = versionField->val; char *s; char *org = organismField->val; - struct keyVal *seqKey, *sizeKey; + struct keyVal *seqKey; boolean doneSequence = FALSE; if (++gbCount % modder == 0) { printf("."); if (gbCount%70000 == 0) printf("\n"); fflush(stdout); } if (locus == NULL || accession == NULL) errAbort("No LOCUS or no ACCESSION line near %d of %s", lf->lineIx, inName); /* Chop off all but first word of accession. */ s = skipLeadingSpaces(accession); if (s != NULL) @@ -1330,31 +1330,31 @@ addBeutenContigs(com, accession); else if (addNoteContigs(com, accession, hattoriStyle)) isNoted = TRUE; else nSeparateFrags = 10; } } } } /* Handle sequence part of read. */ readSequence(lf, &dna, &dnaSize); doneSequence = TRUE; seqKey = kvtAdd(kvt, "seq", dna); sprintf(sizeString, "%d", dnaSize); - sizeKey = kvtAdd(kvt, "siz", sizeString); + kvtAdd(kvt, "siz", sizeString); if (nSeparateFrags) sepByN(dna, dnaSize, nSeparateFrags); if (isFragmented) { if (contigCount == 0) contigCount = 1; if (contigCount == 1 && !isNoted) { if (com == NULL || (!strstr(com, "n's") && !strstr(com, "N's"))) warn("*** Only one contig in %s ***", accession); } sprintf(frg, "%d", contigCount); kvtAdd(kvt, "frg", frg); if (contigCount > 1)