File tree Expand file tree Collapse file tree 2 files changed +8
-12
lines changed
Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -224,12 +224,10 @@ void PairEndScanner::producerTask()
224224 ReadPair* read = reader.read ();
225225 if (!read){
226226 // the last pack
227- if (count>0 ){
228- ReadPairPack* pack = new ReadPairPack;
229- pack->data = data;
230- pack->count = count;
231- producePack (pack);
232- }
227+ ReadPairPack* pack = new ReadPairPack;
228+ pack->data = data;
229+ pack->count = count;
230+ producePack (pack);
233231 data = NULL ;
234232 break ;
235233 }
Original file line number Diff line number Diff line change @@ -196,12 +196,10 @@ void SingleEndScanner::producerTask()
196196 Read* read = reader1.read ();
197197 if (!read){
198198 // the last pack
199- if (count>0 ){
200- ReadPack* pack = new ReadPack;
201- pack->data = data;
202- pack->count = count;
203- producePack (pack);
204- }
199+ ReadPack* pack = new ReadPack;
200+ pack->data = data;
201+ pack->count = count;
202+ producePack (pack);
205203 data = NULL ;
206204 break ;
207205 }
You can’t perform that action at this time.
0 commit comments