Skip to content

Commit

Permalink
Fewer g++ -Wmaybe-uninitialized warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
rfschtkt committed May 11, 2017
1 parent da3c462 commit 1bd561d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions textord/textord.cpp
Expand Up @@ -285,6 +285,8 @@ void Textord::TextordPage(PageSegMode pageseg_mode, const FCOORD& reskew,
// RAW_LINE, SINGLE_LINE, SINGLE_WORD and SINGLE_CHAR all need a single row.
gradient = make_single_row(page_tr_, pageseg_mode != PSM_RAW_LINE,
to_block, to_blocks);
} else {
gradient = 0.0f;
}
BaselineDetect baseline_detector(textord_baseline_debug,
reskew, to_blocks);
Expand Down

0 comments on commit 1bd561d

Please sign in to comment.