Skip to content

Commit

Permalink
Fix CID 1395113 ('Constant' variable guards dead code)
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Aug 22, 2018
1 parent 7e9dfef commit ac17663
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/textord/wordseg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@ int32_t row_words2( //compute space size
FCOORD rotation, //for drawing
bool testing_on //for debug
) {
bool testing_row; //contains testpt
bool prev_valid; //if decent size
bool this_valid; //current blob big enough
int32_t prev_x; //end of prev blob
Expand Down Expand Up @@ -375,7 +374,7 @@ int32_t row_words2( //compute space size
// tprintf("Row smooth factor=%d\n",smooth_factor);
prev_valid = false;
prev_x = -INT16_MAX;
testing_row = false;
const bool testing_row = false;
//min blob size
min_width = (int32_t) block->pr_space;
total_count = 0;
Expand Down

0 comments on commit ac17663

Please sign in to comment.