Skip to content

Commit

Permalink
Fix CID 1395116 ('Constant' variable guards dead code)
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Aug 22, 2018
1 parent 621a8cd commit 99efc13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classify/trainingsampleset.cpp
Expand Up @@ -237,7 +237,7 @@ float TrainingSampleSet::UnicharDistance(const UnicharAndFonts& uf1,
int c2 = uf2.unichar_id;
double dist_sum = 0.0;
int dist_count = 0;
bool debug = false;
const bool debug = false;
if (matched_fonts) {
// Compute distances only where fonts match.
for (int i = 0; i < num_fonts1; ++i) {
Expand Down

0 comments on commit 99efc13

Please sign in to comment.