StrokeWidth: Remove unused local variable (fixes compiler warning)

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2020-06-16 19:43:24 +02:00
parent 7f14f11f80
commit 18d9983f69

View File

@ -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);