Skip to content

Commit 5e732b4

Browse files
committed
chore: remove unused code
1 parent 96a2152 commit 5e732b4

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/scorer.cc

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ Score computeScore(const CandidateString &subject, const CandidateString &subjec
143143

144144

145145
// Init
146+
// Fill with 0
146147
vector<Score> score_row(query_size, 0);
147148
vector<Score> csc_row(query_size, 0);
148149
const auto sz = scoreSize(query_size, subject_size);
@@ -151,13 +152,6 @@ Score computeScore(const CandidateString &subject, const CandidateString &subjec
151152
auto miss_left = miss_budget;
152153
auto csc_should_rebuild = true;
153154

154-
// Fill with 0
155-
/*
156-
int j = -1;
157-
while (++j < n) {
158-
score_row[j] = 0;
159-
csc_row[j] = 0;
160-
}*/
161155

162156
auto i = 0u;
163157
while (i < subject_size) {//foreach char si of subject

0 commit comments

Comments
 (0)