Skip to content

Commit 98843e0

Browse files
committed
Fix uninitialized scalar variable (CID 1395880)
This fixes a warning from Coverity Scan. Signed-off-by: Stefan Weil <sw@weilnetz.de>
1 parent 146d2ca commit 98843e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unittest/applybox_test.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class ApplyBoxTest : public testing::Test {
7777
EXPECT_TRUE(
7878
it->BoundingBox(tesseract::RIL_SYMBOL, &left, &top, &right, &bottom));
7979
TBOX ocr_box(ICOORD(left, height - bottom), ICOORD(right, height - top));
80-
int line_number;
80+
int line_number = 0;
8181
TBOX truth_box;
8282
STRING box_text;
8383
EXPECT_TRUE(

0 commit comments

Comments
 (0)