b3aedfa46a48ead09c1cdedf34b07b281ea1ae18 hiram Fri Oct 2 10:41:11 2015 -0700 fixup gcc warnings for -Wunused-but-set-variable refs #16121 diff --git src/jkOwnLib/xenbig.c src/jkOwnLib/xenbig.c index 9798c72..a33a3be 100644 --- src/jkOwnLib/xenbig.c +++ src/jkOwnLib/xenbig.c @@ -870,57 +870,57 @@ while (fgets(line, sizeof(line), in)) { ++lineCount; if (++lineState == 5) lineState = 0; wordCount = chopLine(line, words); if (wordCount <= 0) continue; firstWord = words[0]; if (sameString(firstWord, "Aligning")) { char *queryString; char *targetString; char queryStrand, targetStrand; char *parts[8]; - int partCount; /* Do some preliminary checking of this line. */ if (newFormat) { if (wordCount < 7) errAbort("Short line %d of %s", lineCount, inName); queryFile = hashStoreName(queryFileHash, words[1]); queryString = words[2]; queryStrand = words[3][0]; targetString = words[5]; targetStrand = words[6][0]; } else { if (wordCount < 6) errAbort("Short line %d of %s", lineCount, inName); queryString = words[1]; queryStrand = words[2][0]; targetString = words[4]; targetStrand = words[5][0]; } /* Extract the name of the query sequence. If it's new, * then write out contigs on previous query we've accumulated - * so far and start a new list. */ - partCount = chopString(queryString, ":-", parts, ArraySize(parts)); + * so far and start a new list. Ignore partCount return + * from chopString. */ + chopString(queryString, ":-", parts, ArraySize(parts)); if (!sameString(parts[0], queryName)) { /* Allocate new name and keep track of it. */ struct slName *newName = newSlName(parts[0]); slAddHead(&queryNameList, newName); /* Write out old contigs and empty out contig list. */ finishContigs(&contigList, out, stitchMinScore, compactOutput, newFormat); queryName = newName->name; } /* Make up a new contig, and fill it in with the data we * have so far about query. */ AllocVar(contig); dlAddValTail(contigList, contig);