From 83cd586ea304d6f6aa190c65ee796baaba1941a7 Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Thu, 23 Sep 2021 12:35:04 -0700 Subject: feat: improved interface of map macro --- sys/libbio/fasta.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'sys/libbio/fasta.c') diff --git a/sys/libbio/fasta.c b/sys/libbio/fasta.c index 078325a..0c47199 100644 --- a/sys/libbio/fasta.c +++ b/sys/libbio/fasta.c @@ -190,7 +190,7 @@ readfasta(bio·SeqReader *rdr, bio·Seq *seq, byte hdr, byte stop) { error err; byte *beg; - + if (rdr->eof && rdr->b == rdr->bend-1) return EOF; @@ -236,13 +236,6 @@ SEQLOOP: rdr->b++; } -#if 0 - for(byte *cb = rdr->seq->b+rdr->seq->off; cb != rdr->seq->it; ++cb) { - if(*cb == 0) { - printf("ERROR @ pos=%ld: Found zero byte\n", cb - rdr->seq->b+rdr->seq->off); - } - } -#endif push(&rdr->seq, rdr->b - beg, beg); -- cgit v1.2.1