2025-07-03 14:49 ftp://ftp.de.debian.org/debian/pool/main/h/hocr/hocr_0.10.18.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: 90b0e14 (2025-07-02 15:41:51 +0200) count: 141 139 elapsed-time: 4.0 3.8 head-timing-info: old-timing-info: head results: libhocr-0.10.18/examples/bindings/hocr_cpp.cpp:56:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] libhocr-0.10.18/src/ho_array_hist.c:59:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ho_array [valueFlowBailoutIncompleteVar] libhocr-0.10.18/src/ho_array_stat.c:61:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ho_array [valueFlowBailoutIncompleteVar] libhocr-0.10.18/examples/hocr/hocr.c:409:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_NAME [valueFlowBailoutIncompleteVar] libhocr-0.10.18/examples/hocr/hocr.c:736:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font_height [valueFlowBailoutIncompleteVar] libhocr-0.10.18/examples/hocr/hocr.c:833:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] libhocr-0.10.18/src/ho_gtk.c:117:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] libhocr-0.10.18/src/ho_layout.c:421:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line_spacing [valueFlowBailoutIncompleteVar] libhocr-0.10.18/src/ho_layout.c:502:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font_width [valueFlowBailoutIncompleteVar] libhocr-0.10.18/src/ho_layout.c:612:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font_width [valueFlowBailoutIncompleteVar] libhocr-0.10.18/src/ho_layout.c:670:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font_width [valueFlowBailoutIncompleteVar] libhocr-0.10.18/src/ho_layout.c:709:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] libhocr-0.10.18/src/ho_layout.c:750:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] libhocr-0.10.18/examples/hocr/hocr.c:1911:7: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] libhocr-0.10.18/examples/hocr/hocr.c:1932:5: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] libhocr-0.10.18/examples/hocr/hocr.c:535:11: error: Memory leak: filename [memleak] libhocr-0.10.18/examples/hocr/hocr.c:1665:13: error: Memory leak: filename [memleak] libhocr-0.10.18/examples/hocr/hocr.c:1780:13: error: Memory leak: filename [memleak] libhocr-0.10.18/src/ho_linguistics.c:46:7: style: Unused variable: i [unusedVariable] libhocr-0.10.18/examples/hocr/hocr.c:822:11: style: Local variable 'error' shadows outer variable [shadowVariable] libhocr-0.10.18/examples/hocr/hocr.c:129:9: note: Shadowed declaration libhocr-0.10.18/examples/hocr/hocr.c:822:11: note: Shadow variable libhocr-0.10.18/examples/hocr/hocr.c:987:19: style: Local variable 'i' shadows outer variable [shadowVariable] libhocr-0.10.18/examples/hocr/hocr.c:782:7: note: Shadowed declaration libhocr-0.10.18/examples/hocr/hocr.c:987:19: note: Shadow variable libhocr-0.10.18/examples/hocr/hocr.c:1010:19: style: Local variable 'i' shadows outer variable [shadowVariable] libhocr-0.10.18/examples/hocr/hocr.c:782:7: note: Shadowed declaration libhocr-0.10.18/examples/hocr/hocr.c:1010:19: note: Shadow variable libhocr-0.10.18/examples/hocr/hocr.c:796:14: style: Variable 'pix_out' can be declared as pointer to const [constVariablePointer] libhocr-0.10.18/examples/hocr/hocr.c:810:14: style: Variable 'm_edge' can be declared as pointer to const [constVariablePointer] libhocr-0.10.18/examples/hocr/hocr.c:812:14: style: Variable 'o_fonts' can be declared as pointer to const [constVariablePointer] libhocr-0.10.18/examples/hocr/hocr.c:822:11: style: Variable 'error' can be declared as pointer to const [constVariablePointer] libhocr-0.10.18/examples/hocr/hocr.c:862:32: style: Variable 'word_end' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/examples/hocr/hocr.c:864:34: style: Variable 'word_start' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/examples/hocr/hocr.c:866:25: style: Variable 'last_char_i' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/examples/hocr/hocr.c:782:7: style: Unused variable: i [unusedVariable] libhocr-0.10.18/examples/hocr/hocr.c:796:14: style: Variable 'pix_out' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/examples/hocr/hocr.c:810:14: style: Variable 'm_edge' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/examples/hocr/hocr.c:812:14: style: Variable 'o_fonts' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/examples/hocr/hocr.c:818:9: style: Unused variable: length [unusedVariable] libhocr-0.10.18/examples/hocr/hocr.c:820:9: style: Unused variable: terminator_pos [unusedVariable] libhocr-0.10.18/examples/hocr/hocr.c:822:11: style: Variable 'error' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/examples/hocr/hocr.c:1486:7: style: Unused variable: block_index [unusedVariable] libhocr-0.10.18/examples/hocr/hocr.c:1488:7: style: Unused variable: line_index [unusedVariable] libhocr-0.10.18/src/ho_layout.c:373:9: warning: Either the condition '!l_page->n_fonts' is redundant or there is possible null pointer dereference: l_page->n_fonts. [nullPointerRedundantCheck] libhocr-0.10.18/src/ho_layout.c:375:7: note: Assuming that condition '!l_page->n_fonts' is not redundant libhocr-0.10.18/src/ho_layout.c:373:9: note: Null pointer dereference libhocr-0.10.18/src/ho_layout.c:457:9: warning: Either the condition '!l_page->n_fonts' is redundant or there is possible null pointer dereference: l_page->n_fonts. [nullPointerRedundantCheck] libhocr-0.10.18/src/ho_layout.c:459:7: note: Assuming that condition '!l_page->n_fonts' is not redundant libhocr-0.10.18/src/ho_layout.c:457:9: note: Null pointer dereference libhocr-0.10.18/src/ho_layout.c:700:14: style: Variable 'm_line_text' can be declared as pointer to const [constVariablePointer] libhocr-0.10.18/src/ho_layout.c:773:14: style: Variable 'm_word_text' can be declared as pointer to const [constVariablePointer] libhocr-0.10.18/src/ho_layout.c:809:24: warning: Uninitialized variable: x_start [uninitvar] libhocr-0.10.18/src/ho_layout.c:797:17: note: Assuming condition is false libhocr-0.10.18/src/ho_layout.c:809:24: note: Uninitialized variable: x_start libhocr-0.10.18/src/ho_layout.c:811:11: warning: Uninitialized variable: x_end [uninitvar] libhocr-0.10.18/src/ho_layout.c:797:17: note: Assuming condition is false libhocr-0.10.18/src/ho_layout.c:811:11: note: Uninitialized variable: x_end libhocr-0.10.18/src/ho_layout.c:869:11: warning: Uninitialized variable: x_end [uninitvar] libhocr-0.10.18/src/ho_layout.c:857:17: note: Assuming condition is false libhocr-0.10.18/src/ho_layout.c:869:11: note: Uninitialized variable: x_end libhocr-0.10.18/src/ho_layout.c:869:19: warning: Uninitialized variable: x_start [uninitvar] libhocr-0.10.18/src/ho_layout.c:857:17: note: Assuming condition is false libhocr-0.10.18/src/ho_layout.c:869:19: note: Uninitialized variable: x_start libhocr-0.10.18/src/ho_layout.c:750:11: style: Variable 'x_start' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/ho_layout.c:751:11: style: Variable 'y_start' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/ho_array.c:696:29: warning: Either the condition 'l<256' is redundant or the array 'acc_hist[256]' is accessed at index 256, which is out of bounds. [arrayIndexOutOfBoundsCond] libhocr-0.10.18/src/ho_array.c:696:43: note: Assuming that condition 'l<256' is not redundant libhocr-0.10.18/src/ho_array.c:696:29: note: Array index out of bounds libhocr-0.10.18/src/ho_array.c:696:29: style: Array index 'l' is used before limits check. [arrayIndexThenCheck] libhocr-0.10.18/src/ho_array.c:619:39: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] libhocr-0.10.18/src/ho_array.c:1363:52: style: Condition 'y!=90' is always true [knownConditionTrueFalse] libhocr-0.10.18/src/ho_array.c:1360:19: note: Assuming that condition 'y<45' is not redundant libhocr-0.10.18/src/ho_array.c:1363:52: note: Condition 'y!=90' is always true libhocr-0.10.18/src/ho_array.c:1387:52: style: Condition 'y!=90' is always true [knownConditionTrueFalse] libhocr-0.10.18/src/ho_array.c:379:36: style:inconclusive: Function 'ho_array_get_min' argument 1 names different: declaration 'pix' definition 'ar'. [funcArgNamesDifferent] libhocr-0.10.18/src/ho_array.h:153:43: note: Function 'ho_array_get_min' argument 1 names different: declaration 'pix' definition 'ar'. libhocr-0.10.18/src/ho_array.c:379:36: note: Function 'ho_array_get_min' argument 1 names different: declaration 'pix' definition 'ar'. libhocr-0.10.18/src/ho_array.c:395:36: style:inconclusive: Function 'ho_array_get_max' argument 1 names different: declaration 'pix' definition 'ar'. [funcArgNamesDifferent] libhocr-0.10.18/src/ho_array.h:160:43: note: Function 'ho_array_get_max' argument 1 names different: declaration 'pix' definition 'ar'. libhocr-0.10.18/src/ho_array.c:395:36: note: Function 'ho_array_get_max' argument 1 names different: declaration 'pix' definition 'ar'. libhocr-0.10.18/src/ho_array.c:993:40: style:inconclusive: Function 'ho_array_complex_abs' argument 1 names different: declaration 'ar_r' definition 'ar1'. [funcArgNamesDifferent] libhocr-0.10.18/src/ho_array.h:293:50: note: Function 'ho_array_complex_abs' argument 1 names different: declaration 'ar_r' definition 'ar1'. libhocr-0.10.18/src/ho_array.c:993:40: note: Function 'ho_array_complex_abs' argument 1 names different: declaration 'ar_r' definition 'ar1'. libhocr-0.10.18/src/ho_array.c:993:62: style:inconclusive: Function 'ho_array_complex_abs' argument 2 names different: declaration 'ar_i' definition 'ar2'. [funcArgNamesDifferent] libhocr-0.10.18/src/ho_array.h:293:73: note: Function 'ho_array_complex_abs' argument 2 names different: declaration 'ar_i' definition 'ar2'. libhocr-0.10.18/src/ho_array.c:993:62: note: Function 'ho_array_complex_abs' argument 2 names different: declaration 'ar_i' definition 'ar2'. libhocr-0.10.18/src/ho_array.c:1024:42: style:inconclusive: Function 'ho_array_complex_atan2' argument 1 names different: declaration 'ar_r' definition 'ar1'. [funcArgNamesDifferent] libhocr-0.10.18/src/ho_array.h:301:52: note: Function 'ho_array_complex_atan2' argument 1 names different: declaration 'ar_r' definition 'ar1'. libhocr-0.10.18/src/ho_array.c:1024:42: note: Function 'ho_array_complex_atan2' argument 1 names different: declaration 'ar_r' definition 'ar1'. libhocr-0.10.18/src/ho_array.c:1024:64: style:inconclusive: Function 'ho_array_complex_atan2' argument 2 names different: declaration 'ar_i' definition 'ar2'. [funcArgNamesDifferent] libhocr-0.10.18/src/ho_array.h:301:75: note: Function 'ho_array_complex_atan2' argument 2 names different: declaration 'ar_i' definition 'ar2'. libhocr-0.10.18/src/ho_array.c:1024:64: note: Function 'ho_array_complex_atan2' argument 2 names different: declaration 'ar_i' definition 'ar2'. libhocr-0.10.18/src/ho_array.c:1117:45: style:inconclusive: Function 'ho_array_hough_circles' argument 4 names different: declaration 'threshold' definition 't'. [funcArgNamesDifferent] libhocr-0.10.18/src/ho_array.h:322:45: note: Function 'ho_array_hough_circles' argument 4 names different: declaration 'threshold' definition 't'. libhocr-0.10.18/src/ho_array.c:1117:45: note: Function 'ho_array_hough_circles' argument 4 names different: declaration 'threshold' definition 't'. libhocr-0.10.18/src/ho_array.c:1208:64: style:inconclusive: Function 'ho_array_hough_lines' argument 2 names different: declaration 'threshold' definition 't'. [funcArgNamesDifferent] libhocr-0.10.18/src/ho_array.h:331:23: note: Function 'ho_array_hough_lines' argument 2 names different: declaration 'threshold' definition 't'. libhocr-0.10.18/src/ho_array.c:1208:64: note: Function 'ho_array_hough_lines' argument 2 names different: declaration 'threshold' definition 't'. libhocr-0.10.18/src/ho_array.c:1303:41: style:inconclusive: Function 'ho_array_hough_lines_backwords' argument 4 names different: declaration 'threshold' definition 't'. [funcArgNamesDifferent] libhocr-0.10.18/src/ho_array.h:341:41: note: Function 'ho_array_hough_lines_backwords' argument 4 names different: declaration 'threshold' definition 't'. libhocr-0.10.18/src/ho_array.c:1303:41: note: Function 'ho_array_hough_lines_backwords' argument 4 names different: declaration 'threshold' definition 't'. libhocr-0.10.18/src/ho_array.c:1062:10: style: Variable 'sobol_x' can be declared as const array [constVariable] libhocr-0.10.18/src/ho_array.c:1063:10: style: Variable 'sobol_y' can be declared as const array [constVariable] libhocr-0.10.18/src/ho_array.c:368:34: warning: Uninitialized variable: y [uninitvar] libhocr-0.10.18/src/ho_array.c:362:17: note: Assuming condition is false libhocr-0.10.18/src/ho_array.c:368:34: note: Uninitialized variable: y libhocr-0.10.18/src/ho_array.c:360:8: style: Variable 'mean' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/ho_array.c:365:12: style: Variable 'mean' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/ho_array.c:368:8: style: Variable 'mean' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/ho_pixbuf.c:1550:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] libhocr-0.10.18/src/ho_objmap.c:1123:3: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libhocr-0.10.18/src/ho_objmap.c:345:32: style: Parameter 'object_list' can be declared as pointer to const [constParameterPointer] libhocr-0.10.18/src/ho_objmap.c:308:13: style: Variable 'new_index' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/ho_objmap.c:812:13: style: Variable 'index' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/ho_pixbuf.c:255:14: style: Variable 'm_word_font_mask' can be declared as pointer to const [constVariablePointer] libhocr-0.10.18/src/ho_pixbuf.c:205:13: style: Variable 'index' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/ho_pixbuf.c:1540:21: style: Variable 'val' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/ho_segment.c:85:8: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libhocr-0.10.18/src/ho_segment.c:87:3: note: Found duplicate branches for 'if' and 'else'. libhocr-0.10.18/src/ho_segment.c:85:8: note: Found duplicate branches for 'if' and 'else'. libhocr-0.10.18/src/ho_string.c:85:29: style:inconclusive: Function 'ho_string_free' argument 1 names different: declaration 's_str' definition 'string_buffer'. [funcArgNamesDifferent] libhocr-0.10.18/src/ho_string.h:57:33: note: Function 'ho_string_free' argument 1 names different: declaration 's_str' definition 'string_buffer'. libhocr-0.10.18/src/ho_string.c:85:29: note: Function 'ho_string_free' argument 1 names different: declaration 's_str' definition 'string_buffer'. libhocr-0.10.18/src/ho_string.c:99:28: style:inconclusive: Function 'ho_string_set' argument 1 names different: declaration 's_str' definition 'string_buffer'. [funcArgNamesDifferent] libhocr-0.10.18/src/ho_string.h:75:32: note: Function 'ho_string_set' argument 1 names different: declaration 's_str' definition 'string_buffer'. libhocr-0.10.18/src/ho_string.c:99:28: note: Function 'ho_string_set' argument 1 names different: declaration 's_str' definition 'string_buffer'. libhocr-0.10.18/src/ho_string.c:99:55: style:inconclusive: Function 'ho_string_set' argument 2 names different: declaration 'text' definition 'new_string'. [funcArgNamesDifferent] libhocr-0.10.18/src/ho_string.h:75:51: note: Function 'ho_string_set' argument 2 names different: declaration 'text' definition 'new_string'. libhocr-0.10.18/src/ho_string.c:99:55: note: Function 'ho_string_set' argument 2 names different: declaration 'text' definition 'new_string'. libhocr-0.10.18/src/ho_string.c:153:28: style:inconclusive: Function 'ho_string_cat' argument 1 names different: declaration 's_str' definition 'string_buffer'. [funcArgNamesDifferent] libhocr-0.10.18/src/ho_string.h:66:32: note: Function 'ho_string_cat' argument 1 names different: declaration 's_str' definition 'string_buffer'. libhocr-0.10.18/src/ho_string.c:153:28: note: Function 'ho_string_cat' argument 1 names different: declaration 's_str' definition 'string_buffer'. libhocr-0.10.18/src/ho_string.c:153:55: style:inconclusive: Function 'ho_string_cat' argument 2 names different: declaration 'text' definition 'new_string'. [funcArgNamesDifferent] libhocr-0.10.18/src/ho_string.h:66:51: note: Function 'ho_string_cat' argument 2 names different: declaration 'text' definition 'new_string'. libhocr-0.10.18/src/ho_string.c:153:55: note: Function 'ho_string_cat' argument 2 names different: declaration 'text' definition 'new_string'. libhocr-0.10.18/src/ho_string.c:190:35: style:inconclusive: Function 'ho_string_copy' argument 1 names different: declaration 's_str' definition 'string_buffer'. [funcArgNamesDifferent] libhocr-0.10.18/src/ho_string.h:91:46: note: Function 'ho_string_copy' argument 1 names different: declaration 's_str' definition 'string_buffer'. libhocr-0.10.18/src/ho_string.c:190:35: note: Function 'ho_string_copy' argument 1 names different: declaration 's_str' definition 'string_buffer'. libhocr-0.10.18/src/ho_segment.c:748:9: style: Local variable 'width' shadows outer variable [shadowVariable] libhocr-0.10.18/src/ho_segment.c:513:7: note: Shadowed declaration libhocr-0.10.18/src/ho_segment.c:748:9: note: Shadow variable libhocr-0.10.18/src/ho_segment.c:367:7: style: Unused variable: i [unusedVariable] libhocr-0.10.18/src/ho_segment.c:369:7: style: Unused variable: width [unusedVariable] libhocr-0.10.18/src/ho_segment.c:370:7: style: Unused variable: height [unusedVariable] libhocr-0.10.18/src/ho_segment.c:373:17: style: Unused variable: nikud_ret [unusedVariable] libhocr-0.10.18/src/ho_segment.c:513:7: style: Unused variable: width [unusedVariable] libhocr-0.10.18/src/ho_segment.c:514:7: style: Unused variable: height [unusedVariable] libhocr-0.10.18/src/ho_segment.c:519:17: style: Unused variable: nikud_ret [unusedVariable] libhocr-0.10.18/src/ho_font.c:1923:14: style: Variable 'm_clean' can be declared as pointer to const [constVariablePointer] libhocr-0.10.18/src/ho_font.c:926:6: style: Variable 'x2' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/ho_font.c:1036:6: style: Variable 'x2' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/ho_font.c:1148:6: style: Variable 'x2' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/ho_font.c:1267:6: style: Variable 'x2' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/hocr.c:292:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] libhocr-0.10.18/src/hocr.c:476:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUILD [valueFlowBailoutIncompleteVar] libhocr-0.10.18/src/hocr.c:482:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] libhocr-0.10.18/src/ho_font.c:1849:6: style: Variable 'x2' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/ho_font.c:1960:6: style: Variable 'x2' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/ho_font.c:1923:14: style: Variable 'm_clean' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/ho_font.c:1926:7: style: Unused variable: i [unusedVariable] libhocr-0.10.18/src/hocr.c:256:25: warning: Either the condition '!l_page' is redundant or there is possible null pointer dereference: l_page. [nullPointerRedundantCheck] libhocr-0.10.18/src/hocr.c:280:22: note: Assuming that condition '!l_page' is not redundant libhocr-0.10.18/src/hocr.c:256:25: note: Null pointer dereference libhocr-0.10.18/src/hocr.c:430:14: style: Variable 'l_page' can be declared as pointer to const [constVariablePointer] libhocr-0.10.18/src/hocr.c:68:16: style: Variable 'angle' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/hocr.c:70:16: style: Variable 'scale_by' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/hocr.c:312:32: style: Variable 'word_end' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/hocr.c:314:34: style: Variable 'word_start' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/hocr.c:316:25: style: Variable 'last_char_i' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/hocr.c:385:18: style: Variable 'm_text' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/hocr.c:385:27: style: Variable 'm_mask' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/ho_recognize_nikud.c:132:9: style: Variable 'obj_x' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/ho_recognize_nikud.c:182:17: style: Variable 'obj_x' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/ho_bitmap.c:331:3: warning: Either the condition '!m_out' is redundant or there is possible null pointer dereference: m_out. [nullPointerRedundantCheck] libhocr-0.10.18/src/ho_bitmap.c:346:7: note: Assuming that condition '!m_out' is not redundant libhocr-0.10.18/src/ho_bitmap.c:331:3: note: Null pointer dereference libhocr-0.10.18/src/ho_bitmap.c:332:3: warning: Either the condition '!m_out' is redundant or there is possible null pointer dereference: m_out. [nullPointerRedundantCheck] libhocr-0.10.18/src/ho_bitmap.c:346:7: note: Assuming that condition '!m_out' is not redundant libhocr-0.10.18/src/ho_bitmap.c:332:3: note: Null pointer dereference libhocr-0.10.18/src/ho_bitmap.c:334:3: warning: Either the condition '!m_out' is redundant or there is possible null pointer dereference: m_out. [nullPointerRedundantCheck] libhocr-0.10.18/src/ho_bitmap.c:346:7: note: Assuming that condition '!m_out' is not redundant libhocr-0.10.18/src/ho_bitmap.c:334:3: note: Null pointer dereference libhocr-0.10.18/src/ho_bitmap.c:335:3: warning: Either the condition '!m_out' is redundant or there is possible null pointer dereference: m_out. [nullPointerRedundantCheck] libhocr-0.10.18/src/ho_bitmap.c:346:7: note: Assuming that condition '!m_out' is not redundant libhocr-0.10.18/src/ho_bitmap.c:335:3: note: Null pointer dereference libhocr-0.10.18/src/ho_bitmap.c:336:3: warning: Either the condition '!m_out' is redundant or there is possible null pointer dereference: m_out. [nullPointerRedundantCheck] libhocr-0.10.18/src/ho_bitmap.c:346:7: note: Assuming that condition '!m_out' is not redundant libhocr-0.10.18/src/ho_bitmap.c:336:3: note: Null pointer dereference libhocr-0.10.18/src/ho_bitmap.c:337:3: warning: Either the condition '!m_out' is redundant or there is possible null pointer dereference: m_out. [nullPointerRedundantCheck] libhocr-0.10.18/src/ho_bitmap.c:346:7: note: Assuming that condition '!m_out' is not redundant libhocr-0.10.18/src/ho_bitmap.c:337:3: note: Null pointer dereference libhocr-0.10.18/src/ho_bitmap.c:338:3: warning: Either the condition '!m_out' is redundant or there is possible null pointer dereference: m_out. [nullPointerRedundantCheck] libhocr-0.10.18/src/ho_bitmap.c:346:7: note: Assuming that condition '!m_out' is not redundant libhocr-0.10.18/src/ho_bitmap.c:338:3: note: Null pointer dereference libhocr-0.10.18/src/ho_bitmap.c:339:3: warning: Either the condition '!m_out' is redundant or there is possible null pointer dereference: m_out. [nullPointerRedundantCheck] libhocr-0.10.18/src/ho_bitmap.c:346:7: note: Assuming that condition '!m_out' is not redundant libhocr-0.10.18/src/ho_bitmap.c:339:3: note: Null pointer dereference libhocr-0.10.18/src/ho_bitmap.c:340:3: warning: Either the condition '!m_out' is redundant or there is possible null pointer dereference: m_out. [nullPointerRedundantCheck] libhocr-0.10.18/src/ho_bitmap.c:346:7: note: Assuming that condition '!m_out' is not redundant libhocr-0.10.18/src/ho_bitmap.c:340:3: note: Null pointer dereference libhocr-0.10.18/src/ho_bitmap.c:341:3: warning: Either the condition '!m_out' is redundant or there is possible null pointer dereference: m_out. [nullPointerRedundantCheck] libhocr-0.10.18/src/ho_bitmap.c:346:7: note: Assuming that condition '!m_out' is not redundant libhocr-0.10.18/src/ho_bitmap.c:341:3: note: Null pointer dereference libhocr-0.10.18/src/ho_bitmap.c:991:3: warning: Either the condition '!m_out' is redundant or there is possible null pointer dereference: m_out. [nullPointerRedundantCheck] libhocr-0.10.18/src/ho_bitmap.c:1003:7: note: Assuming that condition '!m_out' is not redundant libhocr-0.10.18/src/ho_bitmap.c:991:3: note: Null pointer dereference libhocr-0.10.18/src/ho_bitmap.c:992:3: warning: Either the condition '!m_out' is redundant or there is possible null pointer dereference: m_out. [nullPointerRedundantCheck] libhocr-0.10.18/src/ho_bitmap.c:1003:7: note: Assuming that condition '!m_out' is not redundant libhocr-0.10.18/src/ho_bitmap.c:992:3: note: Null pointer dereference libhocr-0.10.18/src/ho_bitmap.c:994:3: warning: Either the condition '!m_out' is redundant or there is possible null pointer dereference: m_out. [nullPointerRedundantCheck] libhocr-0.10.18/src/ho_bitmap.c:1003:7: note: Assuming that condition '!m_out' is not redundant libhocr-0.10.18/src/ho_bitmap.c:994:3: note: Null pointer dereference libhocr-0.10.18/src/ho_bitmap.c:995:3: warning: Either the condition '!m_out' is redundant or there is possible null pointer dereference: m_out. [nullPointerRedundantCheck] libhocr-0.10.18/src/ho_bitmap.c:1003:7: note: Assuming that condition '!m_out' is not redundant libhocr-0.10.18/src/ho_bitmap.c:995:3: note: Null pointer dereference libhocr-0.10.18/src/ho_bitmap.c:996:3: warning: Either the condition '!m_out' is redundant or there is possible null pointer dereference: m_out. [nullPointerRedundantCheck] libhocr-0.10.18/src/ho_bitmap.c:1003:7: note: Assuming that condition '!m_out' is not redundant libhocr-0.10.18/src/ho_bitmap.c:996:3: note: Null pointer dereference libhocr-0.10.18/src/ho_bitmap.c:997:3: warning: Either the condition '!m_out' is redundant or there is possible null pointer dereference: m_out. [nullPointerRedundantCheck] libhocr-0.10.18/src/ho_bitmap.c:1003:7: note: Assuming that condition '!m_out' is not redundant libhocr-0.10.18/src/ho_bitmap.c:997:3: note: Null pointer dereference libhocr-0.10.18/src/ho_bitmap.c:998:3: warning: Either the condition '!m_out' is redundant or there is possible null pointer dereference: m_out. [nullPointerRedundantCheck] libhocr-0.10.18/src/ho_bitmap.c:1003:7: note: Assuming that condition '!m_out' is not redundant libhocr-0.10.18/src/ho_bitmap.c:998:3: note: Null pointer dereference libhocr-0.10.18/src/ho_bitmap.c:999:3: warning: Either the condition '!m_out' is redundant or there is possible null pointer dereference: m_out. [nullPointerRedundantCheck] libhocr-0.10.18/src/ho_bitmap.c:1003:7: note: Assuming that condition '!m_out' is not redundant libhocr-0.10.18/src/ho_bitmap.c:999:3: note: Null pointer dereference libhocr-0.10.18/src/ho_bitmap.c:1000:3: warning: Either the condition '!m_out' is redundant or there is possible null pointer dereference: m_out. [nullPointerRedundantCheck] libhocr-0.10.18/src/ho_bitmap.c:1003:7: note: Assuming that condition '!m_out' is not redundant libhocr-0.10.18/src/ho_bitmap.c:1000:3: note: Null pointer dereference libhocr-0.10.18/src/ho_bitmap.c:1001:3: warning: Either the condition '!m_out' is redundant or there is possible null pointer dereference: m_out. [nullPointerRedundantCheck] libhocr-0.10.18/src/ho_bitmap.c:1003:7: note: Assuming that condition '!m_out' is not redundant libhocr-0.10.18/src/ho_bitmap.c:1001:3: note: Null pointer dereference libhocr-0.10.18/src/ho_bitmap.c:1198:37: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] libhocr-0.10.18/src/ho_bitmap.c:912:8: style: Variable 'ix' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/ho_bitmap.c:914:8: style: Variable 'iy' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/ho_bitmap.c:932:8: style: Variable 'ix' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/ho_bitmap.c:934:8: style: Variable 'iy' is assigned a value that is never used. [unreadVariable] libhocr-0.10.18/src/ho_recognize.c:1015:7: style: The if condition is the same as the previous if condition [duplicateCondition] libhocr-0.10.18/src/ho_recognize.c:1004:7: note: First condition libhocr-0.10.18/src/ho_recognize.c:1015:7: note: Second condition libhocr-0.10.18/src/ho_recognize.c:1061:7: style: The if condition is the same as the previous if condition [duplicateCondition] libhocr-0.10.18/src/ho_recognize.c:1018:7: note: First condition libhocr-0.10.18/src/ho_recognize.c:1061:7: note: Second condition diff: head libhocr-0.10.18/examples/hocr/hocr.c:1911:7: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] head libhocr-0.10.18/examples/hocr/hocr.c:1932:5: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] DONE