From afc2f2e84bf39fd9d62affd3a1fea5825a7c43f2 Mon Sep 17 00:00:00 2001 From: Heng Li Date: Tue, 24 Oct 2017 21:08:54 -0400 Subject: [PATCH] r536: removed an unnecessary assert() --- index.c | 1 - main.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/index.c b/index.c index 9d069d4..93c5e21 100644 --- a/index.c +++ b/index.c @@ -267,7 +267,6 @@ static void *worker_pipeline(void *shared, int step, void *in) mm_idx_seq_t *seq = &p->mi->seq[p->mi->n_seq]; uint32_t j; if (p->keep_name) { - assert(strlen(s->seq[i].name) <= 254); // a long query name breaks BAM seq->name = (char*)kmalloc(p->mi->km, strlen(s->seq[i].name) + 1); strcpy(seq->name, s->seq[i].name); } else seq->name = 0; diff --git a/main.c b/main.c index 4d5618c..63cbb2c 100644 --- a/main.c +++ b/main.c @@ -6,7 +6,7 @@ #include "mmpriv.h" #include "getopt.h" -#define MM_VERSION "2.3-r533-dirty" +#define MM_VERSION "2.3-r536-dirty" #ifdef __linux__ #include