r437: fixed uninialized memory on rep_len

This commit is contained in:
Heng Li 2017-09-25 14:22:45 -04:00
parent 81008dd371
commit 8f25cfa36e
2 changed files with 2 additions and 2 deletions

2
main.c
View File

@ -6,7 +6,7 @@
#include "mmpriv.h"
#include "getopt.h"
#define MM_VERSION "2.2-r436-dirty"
#define MM_VERSION "2.2-r437-dirty"
#ifdef __linux__
#include <sys/resource.h>

2
map.c
View File

@ -171,7 +171,7 @@ static void collect_minimizers(const mm_mapopt_t *opt, const mm_idx_t *mi, int n
static mm128_t *collect_seed_hits(const mm_mapopt_t *opt, const mm_idx_t *mi, const char *qname, int qlen, int64_t *n_a, int *rep_len, mm_tbuf_t *b)
{
int rep_st, rep_en, i;
int rep_st = 0, rep_en = 0, i;
mm_match_t *m;
mm128_t *a;