5df4ac5c2048475a1b19915200cd360e125f41a3 galt Thu Nov 21 17:13:25 2013 -0800 fixing compiler warnings diff --git src/hg/lib/liftOver.c src/hg/lib/liftOver.c index 485bc7d..57768b9 100644 --- src/hg/lib/liftOver.c +++ src/hg/lib/liftOver.c @@ -149,31 +149,32 @@ struct binElement *list = findRange(chainHash, chrom, s, e), *el; struct chain *chainsHit = NULL, *chainsPartial = NULL, *chainsMissed = NULL, *chain; struct bed *bedList = NULL, *unmappedBedList = NULL; struct bed *bed = NULL; char strand = qStrand; /* initialize for single region case */ int start = s, end = e; double minMatchSize = minMatch * (end - start); int intersectSize; int tStart; bool multiple = (regionName != NULL); verbose(2, "%s:%d-%d", chrom, s, e); -verbose(2, multiple ? "\t%s\n": "\n", regionName); +if (multiple) verbose(2, "\t%s", regionName); +verbose(2, "\n"); for (el = list; el != NULL; el = el->next) { chain = el->val; if (multiple) { if (chain->qEnd - chain->qStart < minChainSizeQ || chain->tEnd - chain->tStart < minChainSizeT) continue; /* limit required match to chain range on target */ end = min(e, chain->tEnd); start = max(s, chain->tStart); minMatchSize = minMatch * (end - start); } intersectSize = aliIntersectSize(chain, start, end); if (intersectSize >= minMatchSize)