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("
");
}
sqlFreeResult(&sr3);
}
hFreeConn(&conn3);
sqlFreeResult(&sr2);
hFreeConn(&conn2);
}
printf("Quality Scores: %d in reference, %d in read
\n",
snp.qualChr, snp.qualReads);
printf("Left Primer Sequence: %s
\n", snp.primerL);
printf("Right Primer Sequence: %s
\n", snp.primerR);
if (snp.snpType[0] != 'S')
+ {
if (snp.questionM[0] == 'H')
printf("Indel Confidence: High\n");
if (snp.questionM[0] == 'L')
printf("Indel Confidence: 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;