de347b602f04699d5c00223cd08bee9fc821c97b kent Tue Mar 26 23:50:54 2013 -0700 Improved readability and removed unused function parameter. Ref #10428. diff --git src/lib/bbiWrite.c src/lib/bbiWrite.c index 85724bc..ac36dbc 100644 --- src/lib/bbiWrite.c +++ src/lib/bbiWrite.c @@ -646,31 +646,31 @@ a->end = sum->end; a->validCount = sum->validCount; a->minVal = sum->minVal; a->maxVal = sum->maxVal; a->sumData = sum->sumData; a->sumSquares = sum->sumSquares; elCount += 1; stream->elCount = elCount; if (elCount >= stream->allocCount) bbiSumOutStreamFlush(stream); } void bbiOutputOneSummaryFurtherReduce(struct bbiSummary *sum, struct bbiSummary **pTwiceReducedList, int doubleReductionSize, struct bbiBoundsArray **pBoundsPt, - struct bbiBoundsArray *boundsEnd, bits32 chromSize, struct lm *lm, + struct bbiBoundsArray *boundsEnd, struct lm *lm, struct bbiSumOutStream *stream) /* Write out sum to file, keeping track of minimal info on it in *pBoundsPt, and also adding * it to second level summary. */ { /* Get place to store file offset etc and make sure we have not gone off end. */ struct bbiBoundsArray *bounds = *pBoundsPt; assert(bounds < boundsEnd); *pBoundsPt += 1; /* Fill in bounds info. */ bounds->offset = ftell(stream->f); bounds->range.chromIx = sum->chromId; bounds->range.start = sum->start; bounds->range.end = sum->end;