Skip to content

Commit 4c88efc

Browse files
committed
fix: evade unused parameter check
1 parent e199a69 commit 4c88efc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/linclust/kmermatcher.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ KmerPosition<T, IncludeAdjacentSeq> * doComputation(size_t &totalKmers, size_t h
556556

557557
template <int TYPE, typename T>
558558
size_t assignGroup(KmerPosition<T, false> *hashSeqPair, size_t splitKmerCount, bool includeOnlyExtendable, int covMode, float covThr,
559-
SequenceWeights *sequenceWeights, float weightThr, BaseMatrix *subMat, float &hashSeqBuffer) {
559+
SequenceWeights *sequenceWeights, float weightThr, BaseMatrix *, float &) {
560560

561561
size_t writePos=0;
562562
size_t prevHash = hashSeqPair[0].kmer;

src/linclust/kmermatcher.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ struct AdjacentSeqArray {
6262
// save memory when adjacent sequence is unused
6363
template <>
6464
struct AdjacentSeqArray<false> {
65-
void setAdjacentSeq(const int index, const unsigned char val) {
65+
void setAdjacentSeq(const int, const unsigned char) {
6666
Debug(Debug::ERROR) << "Invalid write attempt at adjacent sequence array";
6767
};
68-
unsigned char getAdjacentSeq(int index) {
68+
unsigned char getAdjacentSeq(int) {
6969
Debug(Debug::ERROR) << "Invalid read attempt at adjacent sequence array";
7070
return '\0';
7171
}

0 commit comments

Comments
 (0)