From 7f6daa968c978c5044d5009f4388b97ad39723ae Mon Sep 17 00:00:00 2001 From: Claire Lemaitre Date: Tue, 1 Mar 2022 21:59:08 +0100 Subject: [PATCH] removing a compilation warning --- src/FindSNP.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/FindSNP.hpp b/src/FindSNP.hpp index 7a03f7d..31018e3 100644 --- a/src/FindSNP.hpp +++ b/src/FindSNP.hpp @@ -146,9 +146,7 @@ bool FindSNP::snp_at_end(unsigned char* beginpos, size_t limit, KmerType* nuc[un] = 0; nuc[deux] = 0; nuc[trois] = 0; - - unsigned char endpos = (*beginpos + limit) % 256; - + unsigned char beginpos_init = (*beginpos); //this->remove_nuc(nuc, *beginpos); *ref_nuc = this->_find->het_kmer_history(*beginpos).kmer & 3; // obtain the reference nuc