6a3e11a5301f835d8d503ad5ef501a2c175866b9 markd Mon Jun 17 04:33:57 2019 -0700 fixed typo that as accidently committed diff --git src/hg/pslStats/pslStats.c src/hg/pslStats/pslStats.c index 65b9d44..3977aa9 100644 --- src/hg/pslStats/pslStats.c +++ src/hg/pslStats/pslStats.c @@ -38,31 +38,31 @@ " -queryStats - output per-query statistics, the default is per-alignment stats\n" " -overallStats - output overall statistics.\n" " -queries=querySizeFile - tab separated file with of expected qNames and sizes.\n" " If specified, statistic will include queries that didn't align.\n" " -warnOnConflicts - warn and ignore when a two PSLs with the same qName conflict.\n" " This can happen with bogus generated names.\n"); } struct querySizeCnt /* structure used to hold query size and a count */ { unsigned qSize; unsigned alnCnt; }; -static void querySizeConflict(char *qName, unsigned qSize, unsigned qSize22) +static void querySizeConflict(char *qName, unsigned qSize, unsigned qSize2) /* generate a error or warning on conflicting query sizes */ { if (warnOnConflicts) warn("conflicting query sizes for %s: %d and %d", qName, qSize, qSize2); else errAbort("conflicting query sizes for %s: %d and %d", qName, qSize, qSize2); } static struct querySizeCnt *querySizeCntGet(struct hash* querySizesTbl, char *qName, unsigned qSize) /* get entry with size and alignment count, create if not present. */ { struct hashEl *hel = hashStore(querySizesTbl, qName); struct querySizeCnt *qs = hel->val; if (qs != NULL)