mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-22 01:30:49 +08:00
StrokeWidth: Remove unused local variable (fixes compiler warning)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
7f14f11f80
commit
18d9983f69
@ -1327,7 +1327,6 @@ bool StrokeWidth::DetectAndRemoveNoise(int pre_overlap, const TBOX& grid_box,
|
||||
blob->ClearNeighbours();
|
||||
if (!blob->IsDiacritic() || blob->owner() != nullptr)
|
||||
continue; // Not a noise candidate.
|
||||
TBOX blob_box(blob->bounding_box());
|
||||
TBOX search_box(blob->bounding_box());
|
||||
search_box.pad(gridsize(), gridsize());
|
||||
rsearch.StartRectSearch(search_box);
|
||||
|
Loading…
Reference in New Issue
Block a user