mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-18 06:30:14 +08:00
Classify: Don't hide debug parameter
Fix a warning from LGTM: Local variable 'debug' hides a parameter of the same name. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
30b75cfc05
commit
9c857ab962
@ -1115,8 +1115,8 @@ void Classify::MasterMatcher(INT_TEMPLATES templates,
|
||||
num_features, features,
|
||||
&int_result, classify_adapt_feature_threshold, debug,
|
||||
matcher_debug_separate_windows);
|
||||
bool debug = matcher_debug_level >= 2 || classify_debug_level > 1;
|
||||
ExpandShapesAndApplyCorrections(classes, debug, class_id, bottom, top,
|
||||
bool is_debug = matcher_debug_level >= 2 || classify_debug_level > 1;
|
||||
ExpandShapesAndApplyCorrections(classes, is_debug, class_id, bottom, top,
|
||||
results[c].Rating,
|
||||
final_results->BlobLength,
|
||||
matcher_multiplier, norm_factors,
|
||||
|
Loading…
Reference in New Issue
Block a user