Skip to content

Commit

Permalink
Fix uninitialized scalar variable (CID 1395880)
Browse files Browse the repository at this point in the history
This fixes a warning from Coverity Scan.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Oct 16, 2018
1 parent 146d2ca commit 98843e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unittest/applybox_test.cc
Expand Up @@ -77,7 +77,7 @@ class ApplyBoxTest : public testing::Test {
EXPECT_TRUE(
it->BoundingBox(tesseract::RIL_SYMBOL, &left, &top, &right, &bottom));
TBOX ocr_box(ICOORD(left, height - bottom), ICOORD(right, height - top));
int line_number;
int line_number = 0;
TBOX truth_box;
STRING box_text;
EXPECT_TRUE(
Expand Down

0 comments on commit 98843e0

Please sign in to comment.