Skip to content

Commit

Permalink
reduced some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
walaj committed Mar 6, 2024
1 parent 2715a41 commit 8402085
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bwamem_extra.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ mem_alnreg_v mem_align1(const mem_opt_t *opt, const bwt_t *bwt, const bntseq_t *
memcpy(seq, seq_, l_seq); // makes a copy of seq_
ar = mem_align1_core(opt, bwt, bns, pac, l_seq, seq, 0);
//mem_mark_primary_se(opt, ar.n, ar.a, lrand48());
uint32_t k = __ac_Wang_hash(__ac_X31_hash_string(seq) ^ 1337); //Jeremiah
//uint32_t k = __ac_Wang_hash(__ac_X31_hash_string(seq) ^ 1337); //Jeremiah
free(seq);
return ar;
}
Expand Down
4 changes: 2 additions & 2 deletions bwtsw2_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ bwtsw2_t **bsw2_core(const bntseq_t *bns, const bsw2opt_t *opt, const bwtl_t *ta
{
bsw2stack_t *stack = (bsw2stack_t*)pool->stack;
bwtsw2_t *b, *b1, **b_ret;
int i, j, score_mat[16], *heap, heap_size, n_tot = 0;
int i, j, score_mat[16], *heap, heap_size; //, n_tot = 0;
struct rusage curr, last;
khash_t(qintv) *rhash;
khash_t(64) *chash;
Expand Down Expand Up @@ -483,7 +483,7 @@ bwtsw2_t **bsw2_core(const bntseq_t *bns, const bsw2opt_t *opt, const bwtl_t *ta
bwtint_t k, l;

v = stack_pop(stack); old_n = v->n;
n_tot += v->n;
//n_tot += v->n;

for (i = 0; i < v->n; ++i) { // test max depth and band width
bsw2cell_t *p = v->array + i;
Expand Down

0 comments on commit 8402085

Please sign in to comment.