75220726105e48416a3cfe931ec0b12e0378d71c angie Wed Jan 9 09:48:17 2019 -0800 Fix gcc-7 compiler warning reported by Hiram that was actually a bug, although never triggered by real data. refs #22738 diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c index 2a1dc04..143e50f 100644 --- src/hg/hgc/hgc.c +++ src/hg/hgc/hgc.c @@ -13715,35 +13715,37 @@ if (gs.siftComment[0] != 0) printf(", SIFT comment: %s", gs.siftComment); puts("<BR>"); } sqlFreeResult(&sr3); } hFreeConn(&conn3); sqlFreeResult(&sr2); hFreeConn(&conn2); } printf("<B>Quality Scores:</B> %d in reference, %d in read<BR>\n", snp.qualChr, snp.qualReads); printf("<B>Left Primer Sequence:</B> %s<BR>\n", snp.primerL); printf("<B>Right Primer Sequence:</B> %s<BR>\n", snp.primerR); if (snp.snpType[0] != 'S') + { if (snp.questionM[0] == 'H') printf("<B>Indel Confidence</B>: High\n"); if (snp.questionM[0] == 'L') printf("<B>Indel Confidence</B>: Low\n"); } + } printTrackHtml(tdb); sqlFreeResult(&sr); hFreeConn(&conn); } void parseChromPointPos(char *pos, char *retChrom, int *retPos) /* Parse out chrN:123 into chrN and 123. */ { char *s, *e; int len; e = strchr(pos, ':'); if (e == NULL) errAbort("No : in chromosome point position %s", pos); len = e - pos;