2025-05-05 05:28 ftp://ftp.de.debian.org/debian/pool/main/k/k2pdfopt/k2pdfopt_2.55+ds.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --library=libcurl --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 -j1 platform: Linux-6.8.0-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: 88ef81e (2025-05-02 08:42:38 +0200) count: 1036 1033 elapsed-time: 37.5 38.1 head-timing-info: old-timing-info: head results: k2pdfopt_v2.55/k2pdfopt.c:263:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/k2pdfopt.c:224:19: style: Condition 'k2settings->query_user' is always true [knownConditionTrueFalse] k2pdfopt_v2.55/k2pdfopt.c:221:32: note: Assignment 'k2settings->query_user=1', assigned value is 1 k2pdfopt_v2.55/k2pdfopt.c:224:19: note: Condition 'k2settings->query_user' is always true k2pdfopt_v2.55/k2pdfopt.c:264:12: error: Uninitialized variable: k2listproc [uninitvar] k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:96:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:779:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PI [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:1787:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANSI_RED [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:1083:61: style: Condition 'nrmid>1' is always true [knownConditionTrueFalse] k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:1072:18: note: Assuming that condition 'nrmid>1' is not redundant k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:1076:16: note: Assuming condition is false k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:1083:61: note: Condition 'nrmid>1' is always true k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:156:29: style:inconclusive: Function 'bmpregion_is_clear' argument 4 names different: declaration 'pixel_count_array' definition 'col_pix_count'. [funcArgNamesDifferent] k2pdfopt_v2.55/k2pdfoptlib/k2pdfopt.h:847:30: note: Function 'bmpregion_is_clear' argument 4 names different: declaration 'pixel_count_array' definition 'col_pix_count'. k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:156:29: note: Function 'bmpregion_is_clear' argument 4 names different: declaration 'pixel_count_array' definition 'col_pix_count'. k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:429:55: style:inconclusive: Function 'bmpregion_copy' argument 3 names different: declaration 'copy_textrows' definition 'copy_text_rows'. [funcArgNamesDifferent] k2pdfopt_v2.55/k2pdfoptlib/k2pdfopt.h:858:55: note: Function 'bmpregion_copy' argument 3 names different: declaration 'copy_textrows' definition 'copy_text_rows'. k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:429:55: note: Function 'bmpregion_copy' argument 3 names different: declaration 'copy_textrows' definition 'copy_text_rows'. k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:2155:40: style:inconclusive: Function 'get_word_gap_threshold' argument 1 names different: declaration 'copt0' definition 'copt'. [funcArgNamesDifferent] k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:34:40: note: Function 'get_word_gap_threshold' argument 1 names different: declaration 'copt0' definition 'copt'. k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:2155:40: note: Function 'get_word_gap_threshold' argument 1 names different: declaration 'copt0' definition 'copt'. k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:2155:50: style:inconclusive: Function 'get_word_gap_threshold' argument 2 names different: declaration 'gw0' definition 'gw'. [funcArgNamesDifferent] k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:34:51: note: Function 'get_word_gap_threshold' argument 2 names different: declaration 'gw0' definition 'gw'. k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:2155:50: note: Function 'get_word_gap_threshold' argument 2 names different: declaration 'gw0' definition 'gw'. k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:91:24: style: Variable 's' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:155:47: style: Parameter 'row_black_count' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:155:68: style: Parameter 'col_black_count' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:156:29: style: Parameter 'col_pix_count' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:769:26: style: Parameter 'count' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:827:30: style: Parameter 'rc' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:887:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:1180:63: style: Parameter 'k2settings' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:1193:22: style: Variable 'textrow' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:1676:78: style: Parameter 'k2settings' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:1957:28: style: Parameter 'textrow' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:1975:64: style: Parameter 'k2settings' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:2083:56: style: Parameter 'bp' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:2155:50: style: Parameter 'gw' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/bmpregion.c:2156:72: style: Parameter 'k2settings' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:639:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PI [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:736:13: style: Condition '!vert_line_erase(bmp,cbmp,tmp,ir0max,ic0max,tanthmax,minheight_in,maxwidth_in,white_thresh,dpi,erase_vertical_lines)' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:736:29: note: Calling function 'vert_line_erase' returns 1 k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:736:13: note: Condition '!vert_line_erase(bmp,cbmp,tmp,ir0max,ic0max,tanthmax,minheight_in,maxwidth_in,white_thresh,dpi,erase_vertical_lines)' is always false k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:324:4: style: Variable 'wth' is reassigned a value before the old one has been used. [redundantAssignment] k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:321:16: note: wth is assigned k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:324:4: note: wth is overwritten k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:324:4: style: Variable 'wth' is reassigned a value before the old one has been used. [redundantAssignment] k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:323:16: note: wth is assigned k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:324:4: note: wth is overwritten k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:339:4: style: Variable 'wtv' is reassigned a value before the old one has been used. [redundantAssignment] k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:336:16: note: wtv is assigned k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:339:4: note: wtv is overwritten k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:339:4: style: Variable 'wtv' is reassigned a value before the old one has been used. [redundantAssignment] k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:338:16: note: wtv is assigned k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:339:4: note: wtv is overwritten k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:49:68: style:inconclusive: Function 'bmp_get_one_document_page' argument 2 names different: declaration 'k2pdfopt' definition 'k2settings'. [funcArgNamesDifferent] k2pdfopt_v2.55/k2pdfoptlib/k2pdfopt.h:1102:71: note: Function 'bmp_get_one_document_page' argument 2 names different: declaration 'k2pdfopt' definition 'k2settings'. k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:49:68: note: Function 'bmp_get_one_document_page' argument 2 names different: declaration 'k2pdfopt' definition 'k2settings'. k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:1018:30: style:inconclusive: Function 'bmp_change_colors' argument 3 names different: declaration 'fgcolor' definition 'colorfg'. [funcArgNamesDifferent] k2pdfopt_v2.55/k2pdfoptlib/k2pdfopt.h:1126:69: note: Function 'bmp_change_colors' argument 3 names different: declaration 'fgcolor' definition 'colorfg'. k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:1018:30: note: Function 'bmp_change_colors' argument 3 names different: declaration 'fgcolor' definition 'colorfg'. k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:1018:55: style:inconclusive: Function 'bmp_change_colors' argument 5 names different: declaration 'bgcolor' definition 'colorbg'. [funcArgNamesDifferent] k2pdfopt_v2.55/k2pdfoptlib/k2pdfopt.h:1127:32: note: Function 'bmp_change_colors' argument 5 names different: declaration 'bgcolor' definition 'colorbg'. k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:1018:55: note: Function 'bmp_change_colors' argument 5 names different: declaration 'bgcolor' definition 'colorbg'. k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:118:37: style: Parameter 'k2settings' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:132:45: style: Parameter 'k2settings' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:461:37: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:806:28: style: Variable 'p' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:958:32: style: Variable 'p0' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:1130:34: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:1345:50: style: Parameter 'cx0' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:1760:48: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:1807:43: style: Parameter 'cx' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:1961:76: style: Parameter 'color' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:1961:87: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2bmp.c:2118:26: style: Variable 'mark' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/k2pdfoptlib/k2file.c:1652:46: error: There is an unknown macro here somewhere. Configuration is required. If ANSI_NORMAL is a macro then please configure it. [unknownMacro] k2pdfopt_v2.55/k2pdfoptlib/k2files.c:55:60: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2files.c:74:63: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2mark.c:54:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXFILENAMELEN [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/k2pdfoptlib/k2mark.c:164:22: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] k2pdfopt_v2.55/k2pdfoptlib/k2mark.c:159:23: note: outer condition: caller_id==3 k2pdfopt_v2.55/k2pdfoptlib/k2mark.c:164:22: note: identical inner condition: caller_id==3 k2pdfopt_v2.55/k2pdfoptlib/k2mark.c:79:34: style:inconclusive: Function 'mark_source_page' argument 3 names different: declaration 'region' definition 'region0'. [funcArgNamesDifferent] k2pdfopt_v2.55/k2pdfoptlib/k2pdfopt.h:1013:34: note: Function 'mark_source_page' argument 3 names different: declaration 'region' definition 'region0'. k2pdfopt_v2.55/k2pdfoptlib/k2mark.c:79:34: note: Function 'mark_source_page' argument 3 names different: declaration 'region' definition 'region0'. k2pdfopt_v2.55/k2pdfoptlib/k2master.c:1656:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/k2pdfoptlib/k2master.c:2138:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/k2pdfoptlib/k2master.c:2603:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/k2pdfoptlib/k2master.c:2678:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/k2pdfoptlib/k2master.c:1429:19: style: The if condition is the same as the previous if condition [duplicateCondition] k2pdfopt_v2.55/k2pdfoptlib/k2master.c:1421:19: note: First condition k2pdfopt_v2.55/k2pdfoptlib/k2master.c:1429:19: note: Second condition k2pdfopt_v2.55/k2pdfoptlib/k2master.c:1638:53: style: Condition 'k2settings->dst_fgtype==4' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/k2pdfoptlib/k2master.c:2688:17: style: Condition '!ocrlayer_bounding_box_inches(masterinfo,&ocrbb)' is always true [knownConditionTrueFalse] k2pdfopt_v2.55/k2pdfoptlib/k2master.c:2688:46: note: Calling function 'ocrlayer_bounding_box_inches' returns 0 k2pdfopt_v2.55/k2pdfoptlib/k2master.c:2688:17: note: Condition '!ocrlayer_bounding_box_inches(masterinfo,&ocrbb)' is always true k2pdfopt_v2.55/k2pdfoptlib/k2master.c:485:51: style:inconclusive: Function 'masterinfo_add_bitmap' argument 10 names different: declaration 'textrow' definition 'textrow0'. [funcArgNamesDifferent] k2pdfopt_v2.55/k2pdfoptlib/k2pdfopt.h:1047:51: note: Function 'masterinfo_add_bitmap' argument 10 names different: declaration 'textrow' definition 'textrow0'. k2pdfopt_v2.55/k2pdfoptlib/k2master.c:485:51: note: Function 'masterinfo_add_bitmap' argument 10 names different: declaration 'textrow' definition 'textrow0'. k2pdfopt_v2.55/k2pdfoptlib/k2master.c:2574:48: style:inconclusive: Function 'masterinfo_get_margins' argument 1 names different: declaration 'k2setings' definition 'k2settings'. [funcArgNamesDifferent] k2pdfopt_v2.55/k2pdfoptlib/k2pdfopt.h:1063:48: note: Function 'masterinfo_get_margins' argument 1 names different: declaration 'k2setings' definition 'k2settings'. k2pdfopt_v2.55/k2pdfoptlib/k2master.c:2574:48: note: Function 'masterinfo_get_margins' argument 1 names different: declaration 'k2setings' definition 'k2settings'. k2pdfopt_v2.55/k2pdfoptlib/k2master.c:2792:47: style:inconclusive: Function 'k2master_rows_color' argument 1 names different: declaration 'bmp' definition 'srcbmp'. [funcArgNamesDifferent] k2pdfopt_v2.55/k2pdfoptlib/k2master.c:55:47: note: Function 'k2master_rows_color' argument 1 names different: declaration 'bmp' definition 'srcbmp'. k2pdfopt_v2.55/k2pdfoptlib/k2master.c:2792:47: note: Function 'k2master_rows_color' argument 1 names different: declaration 'bmp' definition 'srcbmp'. k2pdfopt_v2.55/k2pdfoptlib/k2master.c:412:87: style: Parameter 'k2settings' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2master.c:485:51: style: Parameter 'textrow0' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2master.c:906:30: style: Variable 'psrc' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/k2pdfoptlib/k2master.c:1205:24: style: Variable 'psrc' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/k2pdfoptlib/k2master.c:1259:53: style: Parameter 'masterinfo' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2master.c:1972:24: style: Variable 'psrc' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/k2pdfoptlib/k2master.c:2509:18: style: Variable 'row' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/k2pdfoptlib/k2master.c:2574:48: style: Parameter 'k2settings' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2master.c:2661:87: style: Parameter 'units' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2master.c:2662:51: style: Parameter 'pagedims_inches' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2master.c:2662:86: style: Parameter 'trimrect_in' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2master.c:2735:53: style: Parameter 'masterinfo' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2master.c:2735:72: style: Parameter 'rect' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2master.c:2865:22: style: Variable 'textrow' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/k2pdfoptlib/k2master.c:2381:21: style: Variable 'nobreak' is assigned a value that is never used. [unreadVariable] k2pdfopt_v2.55/k2pdfoptlib/k2menu.c:960:49: error: There is an unknown macro here somewhere. Configuration is required. If ANSI_GREEN is a macro then please configure it. [unknownMacro] k2pdfopt_v2.55/k2pdfoptlib/k2ocr.c:430:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable k2ocr_tess_status [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/k2pdfoptlib/k2ocr.c:69:36: style: Parameter 'k2settings' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2ocr.c:69:53: style: Parameter 'initstr' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2ocr.c:478:35: style: Parameter 'k2settings' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2parsecmd.c:344:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/k2pdfoptlib/k2parsecmd.c:152:28: style:inconclusive: Function 'parse_cmd_args' argument 4 names different: declaration 'userinput' definition 'usermenu'. [funcArgNamesDifferent] k2pdfopt_v2.55/k2pdfoptlib/k2pdfopt.h:827:28: note: Function 'parse_cmd_args' argument 4 names different: declaration 'userinput' definition 'usermenu'. k2pdfopt_v2.55/k2pdfoptlib/k2parsecmd.c:152:28: note: Function 'parse_cmd_args' argument 4 names different: declaration 'userinput' definition 'usermenu'. k2pdfopt_v2.55/k2pdfoptlib/k2parsecmd.c:610:19: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/k2pdfoptlib/k2parsecmd.c:1538:44: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:736:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:1626:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:1884:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:3525:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANSI_RED [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:3403:38: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:3402:56: note: outer condition: mlp->median_line_spacing>0. k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:3403:38: note: identical inner condition: mlp->median_line_spacing>0. k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:94:47: style:inconclusive: Function 'k2proc_get_fontsize_histogram' argument 1 names different: declaration 'region' definition 'srcregion'. [funcArgNamesDifferent] k2pdfopt_v2.55/k2pdfoptlib/k2pdfopt.h:959:47: note: Function 'k2proc_get_fontsize_histogram' argument 1 names different: declaration 'region' definition 'srcregion'. k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:94:47: note: Function 'k2proc_get_fontsize_histogram' argument 1 names different: declaration 'region' definition 'srcregion'. k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:566:76: style:inconclusive: Function 'pageregions_from_cropboxes' argument 2 names different: declaration 'region' definition 'srcregion'. [funcArgNamesDifferent] k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:30:76: note: Function 'pageregions_from_cropboxes' argument 2 names different: declaration 'region' definition 'srcregion'. k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:566:76: note: Function 'pageregions_from_cropboxes' argument 2 names different: declaration 'region' definition 'srcregion'. k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:1069:39: style:inconclusive: Function 'bmpregion_add' argument 1 names different: declaration 'params' definition 'added_region'. [funcArgNamesDifferent] k2pdfopt_v2.55/k2pdfoptlib/k2pdfopt.h:968:39: note: Function 'bmpregion_add' argument 1 names different: declaration 'params' definition 'added_region'. k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:1069:39: note: Function 'bmpregion_add' argument 1 names different: declaration 'params' definition 'added_region'. k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:2673:55: style:inconclusive: Function 'bmpregion_add_textrows' argument 1 names different: declaration 'params' definition 'added_region'. [funcArgNamesDifferent] k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:54:55: note: Function 'bmpregion_add_textrows' argument 1 names different: declaration 'params' definition 'added_region'. k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:2673:55: note: Function 'bmpregion_add_textrows' argument 1 names different: declaration 'params' definition 'added_region'. k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:400:13: style: Local variable 'level' shadows outer argument [shadowArgument] k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:276:69: note: Shadowed declaration k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:400:13: note: Shadow variable k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:1131:13: style: Local variable 'i' shadows outer variable [shadowVariable] k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:1073:16: note: Shadowed declaration k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:1131:13: note: Shadow variable k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:1811:56: style: Parameter 'notes' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:2643:38: style: Parameter 'textrows' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:3016:18: style: Variable 'textrow' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:3026:18: style: Variable 'textrow' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:3203:18: style: Variable 'textrow' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:3263:22: style: Variable 't1' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:3375:45: style: Parameter 'tr1' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:3375:58: style: Parameter 'tr2' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:3375:80: style: Parameter 'mlp' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:3376:56: style: Parameter 'k2settings' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:3477:42: style: Parameter 'textrow' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:201:11: style: Unused variable: dst_ocr [unusedVariable] k2pdfopt_v2.55/k2pdfoptlib/k2proc.c:2698:11: style: Variable 'nc' is assigned a value that is never used. [unreadVariable] k2pdfopt_v2.55/k2pdfoptlib/k2publish.c:107:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable queue_page [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/k2pdfoptlib/k2publish.c:243:79: style: Parameter 'k2settings' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2publish.c:117:13: error: Uninitialized variable: queue_pages_only [uninitvar] k2pdfopt_v2.55/k2pdfoptlib/k2publish.c:42:53: style: Variable 'queue_pages_only' is not assigned a value. [unassignedVariable] k2pdfopt_v2.55/k2pdfoptlib/k2settings.c:691:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/k2pdfoptlib/k2settings.c:296:74: style: Parameter 'masterinfo' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2settings.c:357:71: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2settings.c:389:51: style: Parameter 'k2settings' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2settings.c:418:35: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2settings.c:508:51: style: Parameter 'k2settings' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2settings.c:599:79: style: Parameter 'masterinfo' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2settings.c:932:45: style: Parameter 'k2settings' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2settings.c:947:48: style: Parameter 'k2settings' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2settings.c:986:30: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2settings.c:997:39: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2settings.c:1070:36: style: Parameter 'cropboxes' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2settings.c:1090:56: style: Parameter 'k2settings' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2settings.c:1099:58: style: Parameter 'k2settings' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2sys.c:189:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/k2pdfoptlib/k2sys.c:209:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/k2pdfoptlib/k2sys.c:129:15: style: Condition 'cap[0]=='\0'' is always true [knownConditionTrueFalse] k2pdfopt_v2.55/k2pdfoptlib/k2sys.c:121:12: note: Assignment 'cap[0]='\0'', assigned value is 0 k2pdfopt_v2.55/k2pdfoptlib/k2sys.c:129:15: note: Condition 'cap[0]=='\0'' is always true k2pdfopt_v2.55/k2pdfoptlib/k2sys.c:40:42: style: Parameter 'k2settings' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2sys.c:88:45: style: Parameter 'k2settings' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2sys.c:198:40: style: Parameter 'def' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2usage.c:1334:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/k2pdfoptlib/k2usage.c:1266:37: style:inconclusive: Function 'pr1cmdopt' argument 2 names different: declaration 'maxlines' definition 'nlines'. [funcArgNamesDifferent] k2pdfopt_v2.55/k2pdfoptlib/k2usage.c:1075:37: note: Function 'pr1cmdopt' argument 2 names different: declaration 'maxlines' definition 'nlines'. k2pdfopt_v2.55/k2pdfoptlib/k2usage.c:1266:37: note: Function 'pr1cmdopt' argument 2 names different: declaration 'maxlines' definition 'nlines'. k2pdfopt_v2.55/k2pdfoptlib/k2usage.c:1109:29: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2usage.c:1120:38: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2usage.c:1165:43: style: Parameter 'pattern' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2usage.c:1227:43: style: Parameter 'usage' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2usage.c:1249:29: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/k2usage.c:1190:20: style: Variable 'nlo' is assigned a value that is never used. [unreadVariable] k2pdfopt_v2.55/k2pdfoptlib/pagelist.c:29:37: style:inconclusive: Function 'pagelist_valid_page_range' argument 1 names different: declaration 'pagelist' definition 's'. [funcArgNamesDifferent] k2pdfopt_v2.55/k2pdfoptlib/k2pdfopt.h:1093:37: note: Function 'pagelist_valid_page_range' argument 1 names different: declaration 'pagelist' definition 's'. k2pdfopt_v2.55/k2pdfoptlib/pagelist.c:29:37: note: Function 'pagelist_valid_page_range' argument 1 names different: declaration 'pagelist' definition 's'. k2pdfopt_v2.55/k2pdfoptlib/pagelist.c:29:37: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/pagelist.c:307:38: style: Parameter 'pagelist' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/pageregions.c:363:49: style: Condition 'ibestbelow<0' is always true [knownConditionTrueFalse] k2pdfopt_v2.55/k2pdfoptlib/pageregions.c:351:27: note: Assuming that condition 'ibestbelow>=0' is not redundant k2pdfopt_v2.55/k2pdfoptlib/pageregions.c:363:49: note: Condition 'ibestbelow<0' is always true k2pdfopt_v2.55/k2pdfoptlib/pageregions.c:277:13: style: Local variable 'i' shadows outer variable [shadowVariable] k2pdfopt_v2.55/k2pdfoptlib/pageregions.c:183:9: note: Shadowed declaration k2pdfopt_v2.55/k2pdfoptlib/pageregions.c:277:13: note: Shadow variable k2pdfopt_v2.55/k2pdfoptlib/pageregions.c:386:13: style: Local variable 'j' shadows outer variable [shadowVariable] k2pdfopt_v2.55/k2pdfoptlib/pageregions.c:183:15: note: Shadowed declaration k2pdfopt_v2.55/k2pdfoptlib/pageregions.c:386:13: note: Shadow variable k2pdfopt_v2.55/k2pdfoptlib/pageregions.c:283:23: style: Variable 'gap_thresh_array' can be declared as const array [constVariable] k2pdfopt_v2.55/k2pdfoptlib/pageregions.c:318:27: style: Variable 'box1' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/k2pdfoptlib/pageregions.c:318:33: style: Variable 'box2' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/k2pdfoptlib/pageregions.c:812:40: style: Parameter 'box1' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/pageregions.c:812:51: style: Parameter 'box2' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/pageregions.c:831:44: style: Parameter 'box0' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/pageregions.c:831:55: style: Parameter 'box1' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/textrows.c:699:23: style: Variable 'partial' is reassigned a value before the old one has been used. [redundantAssignment] k2pdfopt_v2.55/k2pdfoptlib/textrows.c:647:23: note: partial is assigned k2pdfopt_v2.55/k2pdfoptlib/textrows.c:699:23: note: partial is overwritten k2pdfopt_v2.55/k2pdfoptlib/textrows.c:132:59: style:inconclusive: Function 'textrow_assign_bmpregion' argument 2 names different: declaration 'region' definition 'bmpregion'. [funcArgNamesDifferent] k2pdfopt_v2.55/k2pdfoptlib/textrows.c:26:66: note: Function 'textrow_assign_bmpregion' argument 2 names different: declaration 'region' definition 'bmpregion'. k2pdfopt_v2.55/k2pdfoptlib/textrows.c:132:59: note: Function 'textrow_assign_bmpregion' argument 2 names different: declaration 'region' definition 'bmpregion'. k2pdfopt_v2.55/k2pdfoptlib/textrows.c:349:17: style: Local variable 'j' shadows outer variable [shadowVariable] k2pdfopt_v2.55/k2pdfoptlib/textrows.c:258:11: note: Shadowed declaration k2pdfopt_v2.55/k2pdfoptlib/textrows.c:349:17: note: Shadow variable k2pdfopt_v2.55/k2pdfoptlib/textrows.c:96:55: style: Parameter 'textrow' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/textrows.c:132:59: style: Parameter 'bmpregion' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/textrows.c:173:43: style: Parameter 'tr1' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/textrows.c:173:56: style: Parameter 'tr2' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/textrows.c:183:40: style: Parameter 'tr1' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/textrows.c:183:53: style: Parameter 'tr2' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/textrows.c:312:18: style: Variable 'textrow' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/k2pdfoptlib/textrows.c:894:41: style: Parameter 'k2settings' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/textrows.c:949:24: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/textrows.c:984:24: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/userinput.c:217:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/k2pdfoptlib/userinput.c:27:44: style:inconclusive: Function 'userinput_float' argument 7 names different: declaration 'extra_message' definition 'extramessage'. [funcArgNamesDifferent] k2pdfopt_v2.55/k2pdfoptlib/k2pdfopt.h:835:51: note: Function 'userinput_float' argument 7 names different: declaration 'extra_message' definition 'extramessage'. k2pdfopt_v2.55/k2pdfoptlib/userinput.c:27:44: note: Function 'userinput_float' argument 7 names different: declaration 'extra_message' definition 'extramessage'. k2pdfopt_v2.55/k2pdfoptlib/userinput.c:198:31: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/k2pdfoptlib/wrapbmp.c:839:38: error: There is an unknown macro here somewhere. Configuration is required. If ANSI_NORMAL is a macro then please configure it. [unknownMacro] k2pdfopt_v2.55/leptonica_mod/dewarp2.c:173:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/leptonica_mod/dewarp2.c:339:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/leptonica_mod/dewarp2.c:651:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/leptonica_mod/dewarp2.c:894:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1051:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_CLONE [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1120:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1198:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1299:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1360:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1427:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1484:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1571:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1804:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1988:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/leptonica_mod/dewarp2.c:2018:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/leptonica_mod/dewarp2.c:2054:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1188:38: style:inconclusive: Function 'dewarpFilterLineEndPoints' argument 2 names different: declaration 'ptal1' definition 'ptal'. [funcArgNamesDifferent] k2pdfopt_v2.55/leptonica_mod/dewarp2.c:72:63: note: Function 'dewarpFilterLineEndPoints' argument 2 names different: declaration 'ptal1' definition 'ptal'. k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1188:38: note: Function 'dewarpFilterLineEndPoints' argument 2 names different: declaration 'ptal1' definition 'ptal'. k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1189:38: style:inconclusive: Function 'dewarpFilterLineEndPoints' argument 3 names different: declaration 'ptar1' definition 'ptar'. [funcArgNamesDifferent] k2pdfopt_v2.55/leptonica_mod/dewarp2.c:72:75: note: Function 'dewarpFilterLineEndPoints' argument 3 names different: declaration 'ptar1' definition 'ptar'. k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1189:38: note: Function 'dewarpFilterLineEndPoints' argument 3 names different: declaration 'ptar1' definition 'ptar'. k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1190:38: style:inconclusive: Function 'dewarpFilterLineEndPoints' argument 4 names different: declaration 'pptal2' definition 'pptalf'. [funcArgNamesDifferent] k2pdfopt_v2.55/leptonica_mod/dewarp2.c:73:48: note: Function 'dewarpFilterLineEndPoints' argument 4 names different: declaration 'pptal2' definition 'pptalf'. k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1190:38: note: Function 'dewarpFilterLineEndPoints' argument 4 names different: declaration 'pptal2' definition 'pptalf'. k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1191:38: style:inconclusive: Function 'dewarpFilterLineEndPoints' argument 5 names different: declaration 'pptar2' definition 'pptarf'. [funcArgNamesDifferent] k2pdfopt_v2.55/leptonica_mod/dewarp2.c:73:62: note: Function 'dewarpFilterLineEndPoints' argument 5 names different: declaration 'pptar2' definition 'pptarf'. k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1191:38: note: Function 'dewarpFilterLineEndPoints' argument 5 names different: declaration 'pptar2' definition 'pptarf'. k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1348:37: style:inconclusive: Function 'dewarpIsLineCoverageValid' argument 1 names different: declaration 'ptaa2' definition 'ptaa'. [funcArgNamesDifferent] k2pdfopt_v2.55/leptonica_mod/dewarp2.c:75:48: note: Function 'dewarpIsLineCoverageValid' argument 1 names different: declaration 'ptaa2' definition 'ptaa'. k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1348:37: note: Function 'dewarpIsLineCoverageValid' argument 1 names different: declaration 'ptaa2' definition 'ptaa'. k2pdfopt_v2.55/leptonica_mod/dewarp2.c:328:13: style: Variable 'famidys' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1029:35: style: Parameter 'pixs' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1187:38: style: Parameter 'dew' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1983:12: style: Variable 'dew' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1387:14: warning: Uninitialized variable: ytop [uninitvar] k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1376:29: note: Assuming condition is false k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1387:14: note: Uninitialized variable: ytop k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1388:14: warning: Uninitialized variable: ybot [uninitvar] k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1376:29: note: Assuming condition is false k2pdfopt_v2.55/leptonica_mod/dewarp2.c:1388:14: note: Uninitialized variable: ybot k2pdfopt_v2.55/mupdf_mod/filter-basic.c:44:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/mupdf_mod/filter-basic.c:110:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/mupdf_mod/filter-basic.c:152:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable length [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/mupdf_mod/filter-basic.c:202:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/mupdf_mod/filter-basic.c:334:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wp [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/mupdf_mod/filter-basic.c:403:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FZ_ERROR_GENERIC [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/mupdf_mod/filter-basic.c:489:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FZ_ERROR_GENERIC [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/mupdf_mod/filter-basic.c:538:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/mupdf_mod/filter-basic.c:664:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/mupdf_mod/filter-basic.c:772:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/mupdf_mod/filter-basic.c:830:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FZ_ERROR_GENERIC [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/mupdf_mod/filter-basic.c:887:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FZ_ERROR_GENERIC [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/mupdf_mod/filter-basic.c:104:13: style: Variable 'range' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/mupdf_mod/filter-basic.c:194:17: style: Variable 'rp' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/mupdf_mod/filter-basic.c:448:17: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/mupdf_mod/filter-basic.c:532:17: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/mupdf_mod/filter-basic.c:661:17: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/mupdf_mod/filter-basic.c:820:17: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/mupdf_mod/font-win32.c:869:53: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/mupdf_mod/font.c:815:2: error: There is an unknown macro here somewhere. Configuration is required. If fz_always is a macro then please configure it. [unknownMacro] k2pdfopt_v2.55/mupdf_mod/mu-office-lib.c:224:2: error: There is an unknown macro here somewhere. Configuration is required. If fz_try is a macro then please configure it. [unknownMacro] k2pdfopt_v2.55/mupdf_mod/pdf-link.c:414:2: error: There is an unknown macro here somewhere. Configuration is required. If fz_always is a macro then please configure it. [unknownMacro] k2pdfopt_v2.55/mupdf_mod/pdf-parse.c:481:2: error: There is an unknown macro here somewhere. Configuration is required. If fz_always is a macro then please configure it. [unknownMacro] k2pdfopt_v2.55/mupdf_mod/pdf-xref.c:511:2: error: There is an unknown macro here somewhere. Configuration is required. If fz_catch is a macro then please configure it. [unknownMacro] k2pdfopt_v2.55/mupdf_mod/stext-device.c:852:2: error: There is an unknown macro here somewhere. Configuration is required. If fz_always is a macro then please configure it. [unknownMacro] k2pdfopt_v2.55/mupdf_mod/string.c:69:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ucd_tolower2 [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/mupdf_mod/string.c:82:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ucd_toupper2 [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/mupdf_mod/string.c:419:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FZ_ERROR_GENERIC [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/mupdf_mod/string.c:324:8: style: Local variable 'c' shadows outer variable [shadowVariable] k2pdfopt_v2.55/mupdf_mod/string.c:319:7: note: Shadowed declaration k2pdfopt_v2.55/mupdf_mod/string.c:324:8: note: Shadow variable k2pdfopt_v2.55/mupdf_mod/string.c:431:16: style: Variable 'dotdot' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/mupdf_mod/string.c:740:34: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:136:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable classify_font_name [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:160:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kTrainedDataSuffix [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:242:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TESSERACT_VERSION_STR [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:271:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable input_file_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:276:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable output_file_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:280:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tesseract_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:288:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tesseract_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:394:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tesseract_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:459:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tesseract_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:473:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tesseract_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:484:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tesseract_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:498:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SET_PARAM_CONSTRAINT_NON_INIT_ONLY [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:503:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SET_PARAM_CONSTRAINT_DEBUG_ONLY [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:512:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tesseract_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:520:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tesseract_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:541:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tesseract_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:561:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tesseract_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:585:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thresholder_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:602:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFF_PNG [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:620:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thresholder_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:632:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tesseract_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:760:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_INSERT [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:791:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thresholder_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:821:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable page_res_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:835:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tesseract_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:940:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thresholder_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:957:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:1076:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tessedit_train_from_boxes [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:1115:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stream_filelist [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:1260:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tessedit_pageseg_mode [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:1321:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tesseract_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:1338:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tesseract_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:1355:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tesseract_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:1365:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tesseract_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:1413:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tesseract_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:1553:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tesseract_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:1601:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RIL_BLOCK [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:1669:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tesseract_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:1829:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fixed [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:1863:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tesseract_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:1914:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable page_res_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:1971:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thresholder_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:1988:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thresholder_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:2047:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RIL_TEXTLINE [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:2077:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tesseract_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:2091:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tesseract_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:2103:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tesseract_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:2129:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kMinCredibleResolution [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:2196:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thresholder_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:2273:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tesseract_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:2301:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tesseract_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:2334:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tesseract_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:2372:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block_list_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:2414:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable paragraph_models_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:2433:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tesseract_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:2441:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tesseract_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:189:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:1614:15: style: C-style pointer casting [cstyleCast] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:1619:24: style: C-style pointer casting [cstyleCast] k2pdfopt_v2.55/tesseract_mod/baseapi.cpp:1850:8: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/tesseract_mod/input.cpp:35:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ni_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/input.cpp:59:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cached_x_scale_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/lstmrecognizer.cpp:52:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable language_data_path_prefix [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/lstmrecognizer.cpp:69:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable network_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/lstmrecognizer.cpp:78:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TESSDATA_LSTM [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/lstmrecognizer.cpp:94:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TESSDATA_LSTM_RECODER [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/lstmrecognizer.cpp:134:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable network_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/lstmrecognizer.cpp:182:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TESSDATA_LSTM_UNICHARSET [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/lstmrecognizer.cpp:204:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNICHAR_SPACE [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/lstmrecognizer.cpp:226:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dict_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/lstmrecognizer.cpp:258:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable search_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/lstmrecognizer.cpp:301:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable null_char_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/lstmrecognizer.cpp:328:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable network_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/lstmrecognizer.cpp:401:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable null_char_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/lstmrecognizer.cpp:433:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable null_char_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/lstmrecognizer.cpp:457:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable null_char_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/lstmrecognizer.cpp:535:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable search_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/lstmrecognizer.cpp:553:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable null_char_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/lstmrecognizer.cpp:569:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable null_char_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/lstmrecognizer.cpp:616:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable null_char_ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/serialis.h:40:1: debug: Failed to parse 'using FileWriter = bool ( * ) ( const std :: vector < char > & data , const char * filename ) ;'. The checking continues anyway. [simplifyUsing] k2pdfopt_v2.55/tesseract_mod/serialis.h:35:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/serialis.h:50:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/serialis.h:56:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/serialis.h:89:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/serialis.h:101:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/serialis.h:152:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/serialis.h:160:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/params.cpp:53:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/params.cpp:120:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/serialis.cpp:227:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/serialis.cpp:277:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/serialis.cpp:63:8: warning: Member variable 'TFile::tfile_filename' is not initialized in the constructor. [uninitMemberVar] k2pdfopt_v2.55/tesseract_mod/serialis.cpp:265:13: style:inconclusive: Technically the member function 'tesseract::TFile::CloseWrite' can be const. [functionConst] k2pdfopt_v2.55/tesseract_mod/serialis.h:215:8: note: Technically the member function 'tesseract::TFile::CloseWrite' can be const. k2pdfopt_v2.55/tesseract_mod/serialis.cpp:265:13: note: Technically the member function 'tesseract::TFile::CloseWrite' can be const. k2pdfopt_v2.55/tesseract_mod/serialis.cpp:72:38: style:inconclusive: Function 'DeSerializeSize' argument 1 names different: declaration 'data' definition 'pSize'. [funcArgNamesDifferent] k2pdfopt_v2.55/tesseract_mod/serialis.h:82:33: note: Function 'DeSerializeSize' argument 1 names different: declaration 'data' definition 'pSize'. k2pdfopt_v2.55/tesseract_mod/serialis.cpp:72:38: note: Function 'DeSerializeSize' argument 1 names different: declaration 'data' definition 'pSize'. k2pdfopt_v2.55/tesseract_mod/simddetect.h:26:1: debug: Failed to parse 'using DotProductFunction = TFloat ( * ) ( const TFloat * , const TFloat * , int ) ;'. The checking continues anyway. [simplifyUsing] k2pdfopt_v2.55/tesseract_mod/simddetect.cpp:138:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable intSimdMatrix [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/simddetect.cpp:280:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dotproduct [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/simddetect.cpp:289:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dotproduct [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/tesseract/baseapi.h:61:1: debug: Failed to parse 'using FileReader = bool ( * ) ( const char * filename , std :: vector < char > * data ) ;'. The checking continues anyway. [simplifyUsing] k2pdfopt_v2.55/tesseract_mod/tesseract/baseapi.h:63:1: debug: Failed to parse 'using DictFunc = int ( Dict :: * ) ( void * , const UNICHARSET & , UNICHAR_ID , bool ) const ;'. The checking continues anyway. [simplifyUsing] k2pdfopt_v2.55/tesseract_mod/tesseract/baseapi.h:65:1: debug: Failed to parse 'using ProbabilityInContextFunc = double ( Dict :: * ) ( const char * , const char * , int , const char * , int ) ;'. The checking continues anyway. [simplifyUsing] k2pdfopt_v2.55/tesseract_mod/tesscapi.cpp:114:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/tesscapi.cpp:159:23: style: Condition 'ocr_type==0' is always true [knownConditionTrueFalse] k2pdfopt_v2.55/tesseract_mod/tesscapi.cpp:156:14: note: Assignment 'ocr_type=0', assigned value is 0 k2pdfopt_v2.55/tesseract_mod/tesscapi.cpp:159:23: note: Condition 'ocr_type==0' is always true k2pdfopt_v2.55/tesseract_mod/tesscapi.cpp:262:12: style: C-style pointer casting [cstyleCast] k2pdfopt_v2.55/tesseract_mod/tesscapi.cpp:272:9: style: C-style pointer casting [cstyleCast] k2pdfopt_v2.55/tesseract_mod/tesscapi.cpp:302:9: style: C-style pointer casting [cstyleCast] k2pdfopt_v2.55/tesseract_mod/tesscapi.cpp:329:9: style: C-style pointer casting [cstyleCast] k2pdfopt_v2.55/tesseract_mod/tesscapi.cpp:266:29: style:inconclusive: Function 'tess_capi_get_ocr' argument 1 names different: declaration 'api' definition 'vapi'. [funcArgNamesDifferent] k2pdfopt_v2.55/tesseract_mod/tesseract.h:20:29: note: Function 'tess_capi_get_ocr' argument 1 names different: declaration 'api' definition 'vapi'. k2pdfopt_v2.55/tesseract_mod/tesscapi.cpp:266:29: note: Function 'tess_capi_get_ocr' argument 1 names different: declaration 'api' definition 'vapi'. k2pdfopt_v2.55/tesseract_mod/tesscapi.cpp:322:26: style:inconclusive: Function 'tess_capi_end' argument 1 names different: declaration 'api' definition 'vapi'. [funcArgNamesDifferent] k2pdfopt_v2.55/tesseract_mod/tesseract.h:25:26: note: Function 'tess_capi_end' argument 1 names different: declaration 'api' definition 'vapi'. k2pdfopt_v2.55/tesseract_mod/tesscapi.cpp:322:26: note: Function 'tess_capi_end' argument 1 names different: declaration 'api' definition 'vapi'. k2pdfopt_v2.55/tesseract_mod/tprintf.cpp:46:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_file [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/tesseract_mod/tprintf.cpp:82:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/ansi.c:127:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/ansi.c:226:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/ansi.c:359:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCGWINSZ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/ansi.c:68:28: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/ansi.c:72:18: style: Variable 'esccodes' can be declared as const array [constVariable] k2pdfopt_v2.55/willuslib/ansi.c:190:45: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/ansi.c:318:28: style: Parameter 'fmt' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/array.c:370:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/array.c:490:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/array.c:366:13: warning: Return value of function rand() is not used. [ignoredReturnValue] k2pdfopt_v2.55/willuslib/array.c:456:72: style:inconclusive: Function 'array_findminfitd' argument 5 names different: declaration 'maxerr' definition 'errmax'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:465:72: note: Function 'array_findminfitd' argument 5 names different: declaration 'maxerr' definition 'errmax'. k2pdfopt_v2.55/willuslib/array.c:456:72: note: Function 'array_findminfitd' argument 5 names different: declaration 'maxerr' definition 'errmax'. k2pdfopt_v2.55/willuslib/array.c:89:16: style: Local variable 'sum_sq' shadows outer variable [shadowVariable] k2pdfopt_v2.55/willuslib/array.c:78:21: note: Shadowed declaration k2pdfopt_v2.55/willuslib/array.c:89:16: note: Shadow variable k2pdfopt_v2.55/willuslib/array.c:114:16: style: Local variable 'sum_sq' shadows outer variable [shadowVariable] k2pdfopt_v2.55/willuslib/array.c:103:21: note: Shadowed declaration k2pdfopt_v2.55/willuslib/array.c:114:16: note: Shadow variable k2pdfopt_v2.55/willuslib/array.c:567:15: style: Local variable 'i0' shadows outer variable [shadowVariable] k2pdfopt_v2.55/willuslib/array.c:461:17: note: Shadowed declaration k2pdfopt_v2.55/willuslib/array.c:567:15: note: Shadow variable k2pdfopt_v2.55/willuslib/array.c:1056:15: style: Local variable 'sum_sq' shadows outer variable [shadowVariable] k2pdfopt_v2.55/willuslib/array.c:1045:21: note: Shadowed declaration k2pdfopt_v2.55/willuslib/array.c:1056:15: note: Shadow variable k2pdfopt_v2.55/willuslib/array.c:44:27: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/array.c:74:27: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/array.c:99:25: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/array.c:124:36: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/array.c:124:46: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/array.c:141:38: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/array.c:141:48: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/array.c:177:37: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/array.c:225:26: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/array.c:237:26: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/array.c:250:26: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/array.c:349:43: style: Parameter 'loadtype' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/array.c:352:18: style: Variable 'err' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/array.c:456:34: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/array.c:635:33: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/array.c:891:54: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/array.c:891:63: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/array.c:927:52: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/array.c:927:61: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/array.c:957:29: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/array.c:1014:29: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/array.c:1041:25: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/array.c:1065:26: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/array.c:1077:25: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/array.c:1090:25: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/array.c:82:20: style: Variable 'sum_sq' is assigned a value that is never used. [unreadVariable] k2pdfopt_v2.55/willuslib/array.c:107:20: style: Variable 'sum_sq' is assigned a value that is never used. [unreadVariable] k2pdfopt_v2.55/willuslib/array.c:1049:20: style: Variable 'sum_sq' is assigned a value that is never used. [unreadVariable] k2pdfopt_v2.55/willuslib/bmp.c:577:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PNG_COLOR_TYPE_GRAY [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/bmp.c:779:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PNG_COLOR_TYPE_GRAY [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/bmp.c:954:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/bmp.c:1079:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JCS_RGB [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/bmp.c:1128:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/bmp.c:1202:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JCS_RGB [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/bmp.c:3889:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/bmp.c:3965:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/bmp.c:4736:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/bmp.c:819:9: style: Condition '!bmp_alloc(bmp)' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/bmp.c:819:19: note: Calling function 'bmp_alloc' returns 1 k2pdfopt_v2.55/willuslib/bmp.c:819:9: note: Condition '!bmp_alloc(bmp)' is always false k2pdfopt_v2.55/willuslib/bmp.c:1216:9: style: Condition '!bmp_alloc(bmp)' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/bmp.c:1216:19: note: Calling function 'bmp_alloc' returns 1 k2pdfopt_v2.55/willuslib/bmp.c:1216:9: note: Condition '!bmp_alloc(bmp)' is always false k2pdfopt_v2.55/willuslib/bmp.c:1605:9: style: Condition '!bmp_alloc(bmp)' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/bmp.c:1605:19: note: Calling function 'bmp_alloc' returns 1 k2pdfopt_v2.55/willuslib/bmp.c:1605:9: note: Condition '!bmp_alloc(bmp)' is always false k2pdfopt_v2.55/willuslib/bmp.c:1640:9: style: Condition '!bmp_alloc(bmp)' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/bmp.c:1640:19: note: Calling function 'bmp_alloc' returns 1 k2pdfopt_v2.55/willuslib/bmp.c:1640:9: note: Condition '!bmp_alloc(bmp)' is always false k2pdfopt_v2.55/willuslib/bmp.c:1669:9: style: Condition '!bmp_alloc(dest)' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/bmp.c:1669:19: note: Calling function 'bmp_alloc' returns 1 k2pdfopt_v2.55/willuslib/bmp.c:1669:9: note: Condition '!bmp_alloc(dest)' is always false k2pdfopt_v2.55/willuslib/bmp.c:1949:9: style: Condition '!bmp_alloc(bmap)' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/bmp.c:1949:19: note: Calling function 'bmp_alloc' returns 1 k2pdfopt_v2.55/willuslib/bmp.c:1949:9: note: Condition '!bmp_alloc(bmap)' is always false k2pdfopt_v2.55/willuslib/bmp.c:2075:9: style: Condition '!bmp_alloc(bmap)' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/bmp.c:2075:19: note: Calling function 'bmp_alloc' returns 1 k2pdfopt_v2.55/willuslib/bmp.c:2075:9: note: Condition '!bmp_alloc(bmap)' is always false k2pdfopt_v2.55/willuslib/bmp.c:2253:9: style: Condition '!bmp_alloc(bmp)' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/bmp.c:2253:19: note: Calling function 'bmp_alloc' returns 1 k2pdfopt_v2.55/willuslib/bmp.c:2253:9: note: Condition '!bmp_alloc(bmp)' is always false k2pdfopt_v2.55/willuslib/bmp.c:2789:9: style: Condition '!bmp_alloc(dest)' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/bmp.c:2789:19: note: Calling function 'bmp_alloc' returns 1 k2pdfopt_v2.55/willuslib/bmp.c:2789:9: note: Condition '!bmp_alloc(dest)' is always false k2pdfopt_v2.55/willuslib/bmp.c:3053:9: style: Condition '!bmp_alloc(dest)' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/bmp.c:3053:19: note: Calling function 'bmp_alloc' returns 1 k2pdfopt_v2.55/willuslib/bmp.c:3053:9: note: Condition '!bmp_alloc(dest)' is always false k2pdfopt_v2.55/willuslib/bmp.c:4932:9: style: Condition '!bmp_alloc(bmp)' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/bmp.c:4932:19: note: Calling function 'bmp_alloc' returns 1 k2pdfopt_v2.55/willuslib/bmp.c:4932:9: note: Condition '!bmp_alloc(bmp)' is always false k2pdfopt_v2.55/willuslib/bmp.c:753:14: portability: Casting between unsigned char * * and double * which have an incompatible binary data representation. [invalidPointerCast] k2pdfopt_v2.55/willuslib/bmp.c:845:10: portability: Casting between unsigned char * * and double * which have an incompatible binary data representation. [invalidPointerCast] k2pdfopt_v2.55/willuslib/bmp.c:933:14: portability: Casting between unsigned char * * and double * which have an incompatible binary data representation. [invalidPointerCast] k2pdfopt_v2.55/willuslib/bmp.c:990:10: portability: Casting between unsigned char * * and double * which have an incompatible binary data representation. [invalidPointerCast] k2pdfopt_v2.55/willuslib/bmp.c:1506:8: style: Variable 'dst' is reassigned a value before the old one has been used. [redundantAssignment] k2pdfopt_v2.55/willuslib/bmp.c:1492:8: note: dst is assigned k2pdfopt_v2.55/willuslib/bmp.c:1506:8: note: dst is overwritten k2pdfopt_v2.55/willuslib/bmp.c:2308:8: style: Variable 'src->bpp' is assigned an expression that holds the same value. [redundantAssignment] k2pdfopt_v2.55/willuslib/bmp.c:2296:8: note: bpp is assigned 'src->bpp' here. k2pdfopt_v2.55/willuslib/bmp.c:2308:8: note: Variable 'src->bpp' is assigned an expression that holds the same value. k2pdfopt_v2.55/willuslib/bmp.c:207:29: style:inconclusive: Function 'bmp_write' argument 1 names different: declaration 'bmp' definition 'bmap'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:520:30: note: Function 'bmp_write' argument 1 names different: declaration 'bmp' definition 'bmap'. k2pdfopt_v2.55/willuslib/bmp.c:207:29: note: Function 'bmp_write' argument 1 names different: declaration 'bmp' definition 'bmap'. k2pdfopt_v2.55/willuslib/bmp.c:897:50: style:inconclusive: Function 'bmp_write_png_stream' argument 2 names different: declaration 'dest' definition 'f'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:532:51: note: Function 'bmp_write_png_stream' argument 2 names different: declaration 'dest' definition 'f'. k2pdfopt_v2.55/willuslib/bmp.c:897:50: note: Function 'bmp_write_png_stream' argument 2 names different: declaration 'dest' definition 'f'. k2pdfopt_v2.55/willuslib/bmp.c:1054:51: style:inconclusive: Function 'bmp_write_jpeg_stream' argument 2 names different: declaration 'dest' definition 'outfile'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:538:52: note: Function 'bmp_write_jpeg_stream' argument 2 names different: declaration 'dest' definition 'outfile'. k2pdfopt_v2.55/willuslib/bmp.c:1054:51: note: Function 'bmp_write_jpeg_stream' argument 2 names different: declaration 'dest' definition 'outfile'. k2pdfopt_v2.55/willuslib/bmp.c:1485:36: style:inconclusive: Function 'bmp_rotate_fast' argument 1 names different: declaration 'dst' definition 'bmp'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:554:36: note: Function 'bmp_rotate_fast' argument 1 names different: declaration 'dst' definition 'bmp'. k2pdfopt_v2.55/willuslib/bmp.c:1485:36: note: Function 'bmp_rotate_fast' argument 1 names different: declaration 'dst' definition 'bmp'. k2pdfopt_v2.55/willuslib/bmp.c:1841:32: style:inconclusive: Function 'get_file_ext' argument 1 names different: declaration 'fileext' definition 'dest'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/bmp.c:122:32: note: Function 'get_file_ext' argument 1 names different: declaration 'fileext' definition 'dest'. k2pdfopt_v2.55/willuslib/bmp.c:1841:32: note: Function 'get_file_ext' argument 1 names different: declaration 'fileext' definition 'dest'. k2pdfopt_v2.55/willuslib/bmp.c:1841:43: style:inconclusive: Function 'get_file_ext' argument 2 names different: declaration 'filename' definition 'src'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/bmp.c:122:46: note: Function 'get_file_ext' argument 2 names different: declaration 'filename' definition 'src'. k2pdfopt_v2.55/willuslib/bmp.c:1841:43: note: Function 'get_file_ext' argument 2 names different: declaration 'filename' definition 'src'. k2pdfopt_v2.55/willuslib/bmp.c:3496:30: style:inconclusive: Function 'bmp_erode' argument 1 names different: declaration 'dst' definition 'dst0'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:516:30: note: Function 'bmp_erode' argument 1 names different: declaration 'dst' definition 'dst0'. k2pdfopt_v2.55/willuslib/bmp.c:3496:30: note: Function 'bmp_erode' argument 1 names different: declaration 'dst' definition 'dst0'. k2pdfopt_v2.55/willuslib/bmp.c:797:21: style: Local variable 'i' shadows outer variable [shadowVariable] k2pdfopt_v2.55/willuslib/bmp.c:701:13: note: Shadowed declaration k2pdfopt_v2.55/willuslib/bmp.c:797:21: note: Shadow variable k2pdfopt_v2.55/willuslib/bmp.c:853:21: style: Local variable 'i' shadows outer variable [shadowVariable] k2pdfopt_v2.55/willuslib/bmp.c:701:13: note: Shadowed declaration k2pdfopt_v2.55/willuslib/bmp.c:853:21: note: Shadow variable k2pdfopt_v2.55/willuslib/bmp.c:950:17: style: Local variable 'i' shadows outer variable [shadowVariable] k2pdfopt_v2.55/willuslib/bmp.c:911:13: note: Shadowed declaration k2pdfopt_v2.55/willuslib/bmp.c:950:17: note: Shadow variable k2pdfopt_v2.55/willuslib/bmp.c:1527:24: style: Local variable 'g' shadows outer variable [shadowVariable] k2pdfopt_v2.55/willuslib/bmp.c:1490:13: note: Shadowed declaration k2pdfopt_v2.55/willuslib/bmp.c:1527:24: note: Shadow variable k2pdfopt_v2.55/willuslib/bmp.c:4939:13: style: Local variable 'status' shadows outer variable [shadowVariable] k2pdfopt_v2.55/willuslib/bmp.c:4920:13: note: Shadowed declaration k2pdfopt_v2.55/willuslib/bmp.c:4939:13: note: Shadow variable k2pdfopt_v2.55/willuslib/bmp.c:380:32: style: Parameter 'bmp' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/bmp.c:1258:39: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/bmp.c:1477:24: style: Variable 'psrc' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/bmp.c:1688:18: style: Variable 'coeffs' can be declared as const array [constVariable] k2pdfopt_v2.55/willuslib/bmp.c:1841:43: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/bmp.c:2260:24: style: Variable 'oldp' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/bmp.c:3273:35: style: Parameter 'spc' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/bmp.c:3273:44: style: Parameter 'dbgc' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/bmp.c:3273:54: style: Parameter 'dfgc' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/bmp.c:3273:64: style: Parameter 'sbgc' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/bmp.c:3273:74: style: Parameter 'sfgc' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/bmp.c:3454:36: style: Parameter 'bmp' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/bmp.c:3467:82: style: Parameter 'newval' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/bmp.c:3487:24: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/bmp.c:3946:48: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/bmp.c:4246:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/bmp.c:4269:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/bmp.c:4269:23: style: Variable 'p0' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/bmp.c:4517:24: style: Variable 'p' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/bmp.c:4850:16: style: Variable 'da' can be declared as const array [constVariable] k2pdfopt_v2.55/willuslib/bmp.c:4986:38: style: Parameter 'pclbuf' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/bmp.c:4990:18: style: Variable 'mstr' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/bmp.c:1299:13: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] k2pdfopt_v2.55/willuslib/bmp.c:1319:13: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] k2pdfopt_v2.55/willuslib/bmp.c:1340:13: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] k2pdfopt_v2.55/willuslib/bmp.c:1941:13: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] k2pdfopt_v2.55/willuslib/bmp.c:2108:18: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] k2pdfopt_v2.55/willuslib/bmp.c:2136:18: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] k2pdfopt_v2.55/willuslib/bmp.c:463:6: style: Variable 'n' is assigned a value that is never used. [unreadVariable] k2pdfopt_v2.55/willuslib/bmp.c:755:16: style: Variable 'rowptrs' is assigned a value that is never used. [unreadVariable] k2pdfopt_v2.55/willuslib/bmp.c:847:12: style: Variable 'rowptrs' is assigned a value that is never used. [unreadVariable] k2pdfopt_v2.55/willuslib/bmp.c:861:19: style: Variable 'gotpal' is assigned a value that is never used. [unreadVariable] k2pdfopt_v2.55/willuslib/bmp.c:935:16: style: Variable 'rowptrs' is assigned a value that is never used. [unreadVariable] k2pdfopt_v2.55/willuslib/bmp.c:4050:10: style: Variable 'hist' is assigned a value that is never used. [unreadVariable] k2pdfopt_v2.55/willuslib/bmpdjvu.c:128:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DDJVU_RENDER_COLOR [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/bmpdjvu.c:198:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/bmpdjvu.c:360:13: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] k2pdfopt_v2.55/willuslib/bmpdjvu.c:375:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] k2pdfopt_v2.55/willuslib/bmpdjvu.c:352:15: note: Assuming allocation function fails k2pdfopt_v2.55/willuslib/bmpdjvu.c:352:15: note: Assignment 'buf=malloc(1024+100*npages)', assigned value is 0 k2pdfopt_v2.55/willuslib/bmpdjvu.c:357:32: note: Calling function 'djvu_add_page_info', 1st argument 'buf' value is 0 k2pdfopt_v2.55/willuslib/bmpdjvu.c:375:25: note: Null pointer dereference k2pdfopt_v2.55/willuslib/bmpdjvu.c:385:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] k2pdfopt_v2.55/willuslib/bmpdjvu.c:352:15: note: Assuming allocation function fails k2pdfopt_v2.55/willuslib/bmpdjvu.c:352:15: note: Assignment 'buf=malloc(1024+100*npages)', assigned value is 0 k2pdfopt_v2.55/willuslib/bmpdjvu.c:357:32: note: Calling function 'djvu_add_page_info', 1st argument 'buf' value is 0 k2pdfopt_v2.55/willuslib/bmpdjvu.c:377:13: note: Assuming condition is false k2pdfopt_v2.55/willuslib/bmpdjvu.c:385:25: note: Null pointer dereference k2pdfopt_v2.55/willuslib/bmpdjvu.c:193:17: style: Variable 'msg' is reassigned a value before the old one has been used. [redundantAssignment] k2pdfopt_v2.55/willuslib/bmpdjvu.c:192:13: note: msg is assigned k2pdfopt_v2.55/willuslib/bmpdjvu.c:193:17: note: msg is overwritten k2pdfopt_v2.55/willuslib/bmpdjvu.c:368:68: style:inconclusive: Function 'djvu_add_page_info' argument 3 names different: declaration 'page' definition 'pageno'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/bmpdjvu.c:29:68: note: Function 'djvu_add_page_info' argument 3 names different: declaration 'page' definition 'pageno'. k2pdfopt_v2.55/willuslib/bmpdjvu.c:368:68: note: Function 'djvu_add_page_info' argument 3 names different: declaration 'page' definition 'pageno'. k2pdfopt_v2.55/willuslib/bmpdjvu.c:331:43: style: Parameter 'pagelist' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/bmpdjvu.c:513:67: style: Parameter 'pos' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/bmpdjvu.c:359:36: error: Uninitialized variable: i [legacyUninitvar] k2pdfopt_v2.55/willuslib/bmpdjvu.c:338:19: style: Unused variable: page [unusedVariable] k2pdfopt_v2.55/willuslib/bmpdjvu.c:339:15: style: Unused variable: dtext [unusedVariable] k2pdfopt_v2.55/willuslib/bmpmupdf.c:120:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fz_identity [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/bmpmupdf.c:212:17: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] k2pdfopt_v2.55/willuslib/bmpmupdf.c:172:15: style: Condition 'status<0' is always true [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/bmpmupdf.c:167:15: note: Assignment 'status=-10', assigned value is -10 k2pdfopt_v2.55/willuslib/bmpmupdf.c:172:15: note: Condition 'status<0' is always true k2pdfopt_v2.55/willuslib/bmpmupdf.c:241:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] k2pdfopt_v2.55/willuslib/bmpmupdf.c:203:19: note: Assuming allocation function fails k2pdfopt_v2.55/willuslib/bmpmupdf.c:203:19: note: Assignment 'buf=malloc(1024+100*npages)', assigned value is 0 k2pdfopt_v2.55/willuslib/bmpmupdf.c:208:41: note: Calling function 'mupdf_cbz_add_page_info', 1st argument 'buf' value is 0 k2pdfopt_v2.55/willuslib/bmpmupdf.c:239:15: note: Assuming condition is false k2pdfopt_v2.55/willuslib/bmpmupdf.c:241:25: note: Null pointer dereference k2pdfopt_v2.55/willuslib/bmpmupdf.c:122:8: style: Variable 'ctm' is reassigned a value before the old one has been used. [redundantAssignment] k2pdfopt_v2.55/willuslib/bmpmupdf.c:120:8: note: ctm is assigned k2pdfopt_v2.55/willuslib/bmpmupdf.c:122:8: note: ctm is overwritten k2pdfopt_v2.55/willuslib/bmpmupdf.c:178:45: style: Parameter 'pagelist' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/dtcompress.c:96:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_WBITS [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/dtcompress.c:125:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/dtcompress.c:198:50: style: Checking if unsigned expression 'compress_out(f,h,0)' is less than zero. [unsignedLessThanZero] k2pdfopt_v2.55/willuslib/dtcompress.c:155:45: style:inconclusive: Function 'compress_done' argument 2 names different: declaration 'h' definition 'hh'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:1107:46: note: Function 'compress_done' argument 2 names different: declaration 'h' definition 'hh'. k2pdfopt_v2.55/willuslib/dtcompress.c:155:45: note: Function 'compress_done' argument 2 names different: declaration 'h' definition 'hh'. k2pdfopt_v2.55/willuslib/dtcompress.c:178:47: style:inconclusive: Function 'compress_write' argument 2 names different: declaration 'h' definition 'hh'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:1108:48: note: Function 'compress_write' argument 2 names different: declaration 'h' definition 'hh'. k2pdfopt_v2.55/willuslib/dtcompress.c:178:47: note: Function 'compress_write' argument 2 names different: declaration 'h' definition 'hh'. k2pdfopt_v2.55/willuslib/dtcompress.c:208:17: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] k2pdfopt_v2.55/willuslib/filelist.c:203:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/filelist.c:300:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/filelist.c:359:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/filelist.c:1371:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/filelist.c:1542:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tm_sec [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/filelist.c:1556:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tm_sec [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/filelist.c:1664:17: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] k2pdfopt_v2.55/willuslib/filelist.c:1848:12: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] k2pdfopt_v2.55/willuslib/filelist.c:2796:23: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] k2pdfopt_v2.55/willuslib/filelist.c:206:8: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] k2pdfopt_v2.55/willuslib/filelist.c:235:8: portability: Casting between signed int * and double * which have an incompatible binary data representation. [invalidPointerCast] k2pdfopt_v2.55/willuslib/filelist.c:237:8: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] k2pdfopt_v2.55/willuslib/filelist.c:303:8: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] k2pdfopt_v2.55/willuslib/filelist.c:328:8: portability: Casting between signed int * and double * which have an incompatible binary data representation. [invalidPointerCast] k2pdfopt_v2.55/willuslib/filelist.c:330:8: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] k2pdfopt_v2.55/willuslib/filelist.c:362:8: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] k2pdfopt_v2.55/willuslib/filelist.c:379:8: portability: Casting between signed int * and double * which have an incompatible binary data representation. [invalidPointerCast] k2pdfopt_v2.55/willuslib/filelist.c:381:8: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] k2pdfopt_v2.55/willuslib/filelist.c:2781:21: style: Variable 'slen' is reassigned a value before the old one has been used. [redundantAssignment] k2pdfopt_v2.55/willuslib/filelist.c:2771:17: note: slen is assigned k2pdfopt_v2.55/willuslib/filelist.c:2781:21: note: slen is overwritten k2pdfopt_v2.55/willuslib/filelist.c:1417:19: style: Checking if unsigned expression 'fl2->n' is less than zero. [unsignedLessThanZero] k2pdfopt_v2.55/willuslib/filelist.c:1979:24: style: Checking if unsigned expression 'strlen(&buf[i])' is less than zero. [unsignedLessThanZero] k2pdfopt_v2.55/willuslib/filelist.c:2052:24: style: Checking if unsigned expression 'strlen(&buf[i])' is less than zero. [unsignedLessThanZero] k2pdfopt_v2.55/willuslib/filelist.c:2109:24: style: Checking if unsigned expression 'strlen(&buf[i])' is less than zero. [unsignedLessThanZero] k2pdfopt_v2.55/willuslib/filelist.c:193:30: style:inconclusive: Function 'filelist_diff' argument 1 names different: declaration 'newf' definition 'result'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:1394:30: note: Function 'filelist_diff' argument 1 names different: declaration 'newf' definition 'result'. k2pdfopt_v2.55/willuslib/filelist.c:193:30: note: Function 'filelist_diff' argument 1 names different: declaration 'newf' definition 'result'. k2pdfopt_v2.55/willuslib/filelist.c:193:47: style:inconclusive: Function 'filelist_diff' argument 2 names different: declaration 'arch' definition 'set2'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:1394:45: note: Function 'filelist_diff' argument 2 names different: declaration 'arch' definition 'set2'. k2pdfopt_v2.55/willuslib/filelist.c:193:47: note: Function 'filelist_diff' argument 2 names different: declaration 'arch' definition 'set2'. k2pdfopt_v2.55/willuslib/filelist.c:193:62: style:inconclusive: Function 'filelist_diff' argument 3 names different: declaration 'disk' definition 'set1'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:1394:60: note: Function 'filelist_diff' argument 3 names different: declaration 'disk' definition 'set1'. k2pdfopt_v2.55/willuslib/filelist.c:193:62: note: Function 'filelist_diff' argument 3 names different: declaration 'disk' definition 'set1'. k2pdfopt_v2.55/willuslib/filelist.c:290:33: style:inconclusive: Function 'filelist_combine' argument 1 names different: declaration 'newf' definition 'new'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:1397:33: note: Function 'filelist_combine' argument 1 names different: declaration 'newf' definition 'new'. k2pdfopt_v2.55/willuslib/filelist.c:290:33: note: Function 'filelist_combine' argument 1 names different: declaration 'newf' definition 'new'. k2pdfopt_v2.55/willuslib/filelist.c:898:45: style:inconclusive: Function 'filelist_chdir_fast' argument 2 names different: declaration 'folder' definition 'folder0'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:1410:45: note: Function 'filelist_chdir_fast' argument 2 names different: declaration 'folder' definition 'folder0'. k2pdfopt_v2.55/willuslib/filelist.c:898:45: note: Function 'filelist_chdir_fast' argument 2 names different: declaration 'folder' definition 'folder0'. k2pdfopt_v2.55/willuslib/filelist.c:1291:53: style:inconclusive: Function 'filelist_recursive_archive_add' argument 1 names different: declaration 'fl' definition 'dst'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/filelist.c:37:53: note: Function 'filelist_recursive_archive_add' argument 1 names different: declaration 'fl' definition 'dst'. k2pdfopt_v2.55/willuslib/filelist.c:1291:53: note: Function 'filelist_recursive_archive_add' argument 1 names different: declaration 'fl' definition 'dst'. k2pdfopt_v2.55/willuslib/filelist.c:1292:37: style:inconclusive: Function 'filelist_recursive_archive_add' argument 3 names different: declaration 'folder' definition 'archdir'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/filelist.c:38:37: note: Function 'filelist_recursive_archive_add' argument 3 names different: declaration 'folder' definition 'archdir'. k2pdfopt_v2.55/willuslib/filelist.c:1292:37: note: Function 'filelist_recursive_archive_add' argument 3 names different: declaration 'folder' definition 'archdir'. k2pdfopt_v2.55/willuslib/filelist.c:1292:51: style:inconclusive: Function 'filelist_recursive_archive_add' argument 4 names different: declaration 'archname' definition 'archfile'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/filelist.c:38:50: note: Function 'filelist_recursive_archive_add' argument 4 names different: declaration 'archname' definition 'archfile'. k2pdfopt_v2.55/willuslib/filelist.c:1292:51: note: Function 'filelist_recursive_archive_add' argument 4 names different: declaration 'archname' definition 'archfile'. k2pdfopt_v2.55/willuslib/filelist.c:1201:13: style: Local variable 'is_archive' shadows outer variable [shadowVariable] k2pdfopt_v2.55/willuslib/filelist.c:1170:13: note: Shadowed declaration k2pdfopt_v2.55/willuslib/filelist.c:1201:13: note: Shadow variable k2pdfopt_v2.55/willuslib/filelist.c:1346:22: style: Local variable 'tempname' shadows outer variable [shadowVariable] k2pdfopt_v2.55/willuslib/filelist.c:1296:10: note: Shadowed declaration k2pdfopt_v2.55/willuslib/filelist.c:1346:22: note: Shadow variable k2pdfopt_v2.55/willuslib/filelist.c:1354:26: style: Local variable 'basename' shadows outer variable [shadowVariable] k2pdfopt_v2.55/willuslib/filelist.c:1298:10: note: Shadowed declaration k2pdfopt_v2.55/willuslib/filelist.c:1354:26: note: Shadow variable k2pdfopt_v2.55/willuslib/filelist.c:827:32: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/filelist.c:898:45: style: Parameter 'folder0' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/filelist.c:1044:26: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/filelist.c:1058:39: style: Parameter 'fl' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/filelist.c:1058:48: style: Parameter 'zipfile' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/filelist.c:1651:68: style: Parameter 'zipfile' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/filelist.c:1689:20: style: Variable 'date' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/filelist.c:1710:20: style: Variable 'date' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/filelist.c:1795:41: style: Parameter 'prepend' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/filelist.c:1809:20: style: Variable 'lt' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/filelist.c:2125:38: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/filelist.c:2155:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/filelist.c:2180:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/filelist.c:2307:59: style: Parameter 'newname' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/filelist.c:2503:11: style: Variable 'odb' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/filelist.c:237:7: style: Variable 'mi' is assigned a value that is never used. [unreadVariable] k2pdfopt_v2.55/willuslib/filelist.c:330:7: style: Variable 'mi' is assigned a value that is never used. [unreadVariable] k2pdfopt_v2.55/willuslib/filelist.c:381:7: style: Variable 'mi' is assigned a value that is never used. [unreadVariable] k2pdfopt_v2.55/willuslib/filelist.c:1309:10: style: Variable 'count' is assigned a value that is never used. [unreadVariable] k2pdfopt_v2.55/willuslib/filelist.c:1374:30: style: Variable 'count' is assigned a value that is never used. [unreadVariable] k2pdfopt_v2.55/willuslib/fontrender.c:213:31: style:inconclusive: Function 'fontrender_render_ex' argument 8 names different: declaration 'clear_behind_letters' definition 'clear_behind_chars'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:651:31: note: Function 'fontrender_render_ex' argument 8 names different: declaration 'clear_behind_letters' definition 'clear_behind_chars'. k2pdfopt_v2.55/willuslib/fontrender.c:213:31: note: Function 'fontrender_render_ex' argument 8 names different: declaration 'clear_behind_letters' definition 'clear_behind_chars'. k2pdfopt_v2.55/willuslib/fontrender.c:113:44: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/fontrender.c:535:10: style: Variable 'w' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/fontrender.c:536:20: style: Variable 's' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/fontrender.c:569:58: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/fontrender.c:745:38: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/fontrender.c:945:50: style: Parameter 'fontletter' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/fontrender.c:1034:43: style: Parameter 'x1' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/fontrender.c:1034:58: style: Parameter 'x2' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/gslpolyfit.c:30:35: style:inconclusive: Function 'gslpolyfit' argument 2 names different: declaration 'y' definition 'y0'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:1861:35: note: Function 'gslpolyfit' argument 2 names different: declaration 'y' definition 'y0'. k2pdfopt_v2.55/willuslib/gslpolyfit.c:30:35: note: Function 'gslpolyfit' argument 2 names different: declaration 'y' definition 'y0'. k2pdfopt_v2.55/willuslib/gslpolyfit.c:30:48: style:inconclusive: Function 'gslpolyfit' argument 4 names different: declaration 'degree' definition 'd'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:1861:47: note: Function 'gslpolyfit' argument 4 names different: declaration 'degree' definition 'd'. k2pdfopt_v2.55/willuslib/gslpolyfit.c:30:48: note: Function 'gslpolyfit' argument 4 names different: declaration 'degree' definition 'd'. k2pdfopt_v2.55/willuslib/gslpolyfit.c:30:58: style:inconclusive: Function 'gslpolyfit' argument 5 names different: declaration 'c' definition 'c0'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:1861:62: note: Function 'gslpolyfit' argument 5 names different: declaration 'c' definition 'c0'. k2pdfopt_v2.55/willuslib/gslpolyfit.c:30:58: note: Function 'gslpolyfit' argument 5 names different: declaration 'c' definition 'c0'. k2pdfopt_v2.55/willuslib/gslpolyfit.c:30:25: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/gslpolyfit.c:30:35: style: Parameter 'y0' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/gslpolyfit.c:30:58: style: Parameter 'c0' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/math.c:201:62: style:inconclusive: Function 'readxy' argument 5 names different: declaration 'err' definition 'output'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:664:73: note: Function 'readxy' argument 5 names different: declaration 'err' definition 'output'. k2pdfopt_v2.55/willuslib/math.c:201:62: note: Function 'readxy' argument 5 names different: declaration 'err' definition 'output'. k2pdfopt_v2.55/willuslib/math.c:208:65: style:inconclusive: Function 'readxy_ex' argument 5 names different: declaration 'err' definition 'output'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:665:73: note: Function 'readxy_ex' argument 5 names different: declaration 'err' definition 'output'. k2pdfopt_v2.55/willuslib/math.c:208:65: note: Function 'readxy_ex' argument 5 names different: declaration 'err' definition 'output'. k2pdfopt_v2.55/willuslib/math.c:319:50: style:inconclusive: Function 'readx' argument 4 names different: declaration 'err' definition 'output'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:663:62: note: Function 'readx' argument 4 names different: declaration 'err' definition 'output'. k2pdfopt_v2.55/willuslib/math.c:319:50: note: Function 'readx' argument 4 names different: declaration 'err' definition 'output'. k2pdfopt_v2.55/willuslib/math.c:412:74: style:inconclusive: Function 'readxyz' argument 6 names different: declaration 'err' definition 'output'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:668:36: note: Function 'readxyz' argument 6 names different: declaration 'err' definition 'output'. k2pdfopt_v2.55/willuslib/math.c:412:74: note: Function 'readxyz' argument 6 names different: declaration 'err' definition 'output'. k2pdfopt_v2.55/willuslib/math.c:419:77: style:inconclusive: Function 'readxyz_ex' argument 6 names different: declaration 'err' definition 'output'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:670:36: note: Function 'readxyz_ex' argument 6 names different: declaration 'err' definition 'output'. k2pdfopt_v2.55/willuslib/math.c:419:77: note: Function 'readxyz_ex' argument 6 names different: declaration 'err' definition 'output'. k2pdfopt_v2.55/willuslib/math.c:1506:36: style:inconclusive: Function 'line_segment_dist_2d' argument 1 names different: declaration 'x1' definition 'z0'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:693:36: note: Function 'line_segment_dist_2d' argument 1 names different: declaration 'x1' definition 'z0'. k2pdfopt_v2.55/willuslib/math.c:1506:36: note: Function 'line_segment_dist_2d' argument 1 names different: declaration 'x1' definition 'z0'. k2pdfopt_v2.55/willuslib/math.c:1506:46: style:inconclusive: Function 'line_segment_dist_2d' argument 2 names different: declaration 'y1' definition 'r0'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:693:46: note: Function 'line_segment_dist_2d' argument 2 names different: declaration 'y1' definition 'r0'. k2pdfopt_v2.55/willuslib/math.c:1506:46: note: Function 'line_segment_dist_2d' argument 2 names different: declaration 'y1' definition 'r0'. k2pdfopt_v2.55/willuslib/math.c:1506:56: style:inconclusive: Function 'line_segment_dist_2d' argument 3 names different: declaration 'x2' definition 'z1'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:693:56: note: Function 'line_segment_dist_2d' argument 3 names different: declaration 'x2' definition 'z1'. k2pdfopt_v2.55/willuslib/math.c:1506:56: note: Function 'line_segment_dist_2d' argument 3 names different: declaration 'x2' definition 'z1'. k2pdfopt_v2.55/willuslib/math.c:1506:66: style:inconclusive: Function 'line_segment_dist_2d' argument 4 names different: declaration 'y2' definition 'r1'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:693:66: note: Function 'line_segment_dist_2d' argument 4 names different: declaration 'y2' definition 'r1'. k2pdfopt_v2.55/willuslib/math.c:1506:66: note: Function 'line_segment_dist_2d' argument 4 names different: declaration 'y2' definition 'r1'. k2pdfopt_v2.55/willuslib/math.c:1507:36: style:inconclusive: Function 'line_segment_dist_2d' argument 5 names different: declaration 'x' definition 'z'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:694:36: note: Function 'line_segment_dist_2d' argument 5 names different: declaration 'x' definition 'z'. k2pdfopt_v2.55/willuslib/math.c:1507:36: note: Function 'line_segment_dist_2d' argument 5 names different: declaration 'x' definition 'z'. k2pdfopt_v2.55/willuslib/math.c:1507:45: style:inconclusive: Function 'line_segment_dist_2d' argument 6 names different: declaration 'y' definition 'r'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:694:45: note: Function 'line_segment_dist_2d' argument 6 names different: declaration 'y' definition 'r'. k2pdfopt_v2.55/willuslib/math.c:1507:45: note: Function 'line_segment_dist_2d' argument 6 names different: declaration 'y' definition 'r'. k2pdfopt_v2.55/willuslib/math.c:90:29: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/math.c:125:32: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/math.c:208:21: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/math.c:213:18: style: Variable 'notenough' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/math.c:214:18: style: Variable 'internal' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/math.c:237:15: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/math.c:283:15: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/math.c:319:17: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/math.c:323:18: style: Variable 'notenough' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/math.c:324:18: style: Variable 'internal' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/math.c:419:22: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/math.c:424:18: style: Variable 'notenough' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/math.c:425:18: style: Variable 'internal' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/math.c:448:15: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/math.c:496:15: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/math.c:1775:60: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/math.c:1832:59: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/math.c:1167:7: style: Variable 'x0' is assigned a value that is never used. [unreadVariable] k2pdfopt_v2.55/willuslib/mem.c:378:32: style: Checking if unsigned expression 'oldsize' is less than zero. [unsignedLessThanZero] k2pdfopt_v2.55/willuslib/ocr.c:178:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/ocr.c:84:18: style: Variable 'funcname' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/ocr.c:382:18: style: Variable 'word_swaps' can be declared as const array [constVariable] k2pdfopt_v2.55/willuslib/ocr.c:84:18: style: Variable 'funcname' is assigned a value that is never used. [unreadVariable] k2pdfopt_v2.55/willuslib/ocrgocr.c:65:11: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/ocrtess.c:481:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tm_mday [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/ocrtess.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] k2pdfopt_v2.55/willuslib/ocrtess.c:372:58: style:inconclusive: Function 'ocrtess_lang_default' argument 6 names different: declaration 'debugstr' definition 'tessdebug'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:1654:58: note: Function 'ocrtess_lang_default' argument 6 names different: declaration 'debugstr' definition 'tessdebug'. k2pdfopt_v2.55/willuslib/ocrtess.c:372:58: note: Function 'ocrtess_lang_default' argument 6 names different: declaration 'debugstr' definition 'tessdebug'. k2pdfopt_v2.55/willuslib/ocrtess.c:712:53: style:inconclusive: Function 'ocrtess_ocrwords_from_bmp8' argument 2 names different: declaration 'words' definition 'ocrwords'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:1667:53: note: Function 'ocrtess_ocrwords_from_bmp8' argument 2 names different: declaration 'words' definition 'ocrwords'. k2pdfopt_v2.55/willuslib/ocrtess.c:712:53: note: Function 'ocrtess_ocrwords_from_bmp8' argument 2 names different: declaration 'words' definition 'ocrwords'. k2pdfopt_v2.55/willuslib/ocrtess.c:176:11: style: Variable 'langstr' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/ocrtess.c:238:45: style: Parameter 'lang' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/ocrtess.c:345:26: style: Parameter 'lang' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/ocrtess.c:377:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/ocrtess.c:381:18: style: Variable 'header' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/ocrtess.c:385:18: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/ocrtess.c:386:18: style: Variable 'month_name' can be declared as const array [constVariable] k2pdfopt_v2.55/willuslib/ocrtess.c:498:44: style: Parameter 'suggested' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/ocrtess.c:552:40: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/ocrtess.c:587:39: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/ocrtess.c:587:49: style: Parameter 'keyword' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/ocrwords.c:662:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/ocrwords.c:270:18: style: Condition 'i>0' is always true [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/ocrwords.c:267:14: note: Assuming that condition 'i>0' is not redundant k2pdfopt_v2.55/willuslib/ocrwords.c:270:18: note: Condition 'i>0' is always true k2pdfopt_v2.55/willuslib/ocrwords.c:223:36: style:inconclusive: Function 'ocrwords_to_textfile' argument 1 names different: declaration 'words' definition 'ocrwords'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:843:37: note: Function 'ocrwords_to_textfile' argument 1 names different: declaration 'words' definition 'ocrwords'. k2pdfopt_v2.55/willuslib/ocrwords.c:223:36: note: Function 'ocrwords_to_textfile' argument 1 names different: declaration 'words' definition 'ocrwords'. k2pdfopt_v2.55/willuslib/ocrwords.c:369:40: style:inconclusive: Function 'ocrwords_sort_by_pageno' argument 1 names different: declaration 'words' definition 'ocrwords'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:848:40: note: Function 'ocrwords_sort_by_pageno' argument 1 names different: declaration 'words' definition 'ocrwords'. k2pdfopt_v2.55/willuslib/ocrwords.c:369:40: note: Function 'ocrwords_sort_by_pageno' argument 1 names different: declaration 'words' definition 'ocrwords'. k2pdfopt_v2.55/willuslib/ocrwords.c:108:43: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/ocrwords.c:155:24: style: Variable 'src' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/ocrwords.c:223:51: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/ocrwords.c:234:18: style: Variable 'word0' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/ocrwords.c:235:18: style: Variable 'word' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/ocrwords.c:592:49: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/ocrwords.c:612:18: style: Variable 'word' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/ocrwords.c:625:18: style: Variable 'word' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/pdfwrite.c:1070:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/pdfwrite.c:776:13: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] k2pdfopt_v2.55/willuslib/pdfwrite.c:1280:21: style: Condition 'c>=224' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/pdfwrite.c:1269:17: note: Assuming that condition 'd[i]<256' is not redundant k2pdfopt_v2.55/willuslib/pdfwrite.c:1270:18: note: Assignment 'cid=d[i]', assigned value is 255 k2pdfopt_v2.55/willuslib/pdfwrite.c:1279:14: note: Assignment 'c=cid-32', assigned value is less than 224 k2pdfopt_v2.55/willuslib/pdfwrite.c:1280:21: note: Condition 'c>=224' is always false k2pdfopt_v2.55/willuslib/pdfwrite.c:582:59: style:inconclusive: Function 'pdffile_bmp_stream' argument 2 names different: declaration 'bmp' definition 'src'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/pdfwrite.c:48:59: note: Function 'pdffile_bmp_stream' argument 2 names different: declaration 'bmp' definition 'src'. k2pdfopt_v2.55/willuslib/pdfwrite.c:582:59: note: Function 'pdffile_bmp_stream' argument 2 names different: declaration 'bmp' definition 'src'. k2pdfopt_v2.55/willuslib/pdfwrite.c:162:33: style: Parameter 'pdf' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/pdfwrite.c:174:44: style: Parameter 'pdf' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/pdfwrite.c:438:54: style: Parameter 'fonts' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/pdfwrite.c:438:66: style: Parameter 'streamtext' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/pdfwrite.c:755:28: style: Variable 'p' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/pdfwrite.c:763:40: style: Parameter 'title' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/pdfwrite.c:763:52: style: Parameter 'author' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/pdfwrite.c:763:65: style: Parameter 'producer' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/pdfwrite.c:763:80: style: Parameter 'cdate' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/pdfwrite.c:913:56: style: Parameter 'object' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/pdfwrite.c:1083:55: style: Parameter 'opbuf' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/pdfwrite.c:1135:18: style: Variable 'word' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/pdfwrite.c:1437:84: style: Parameter 'nspaces' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/pdfwrite.c:1048:11: style: Variable 'status' is assigned a value that is never used. [unreadVariable] k2pdfopt_v2.55/willuslib/pdfwrite.c:1295:15: style: Variable 'ab' is assigned a value that is never used. [unreadVariable] k2pdfopt_v2.55/willuslib/point2d.c:31:26: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/point2d.c:38:32: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/point2d.c:45:34: style: Parameter 'v1' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/point2d.c:45:47: style: Parameter 'v2' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/point2d.c:67:60: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/point2d.c:173:29: style: Parameter 'p1' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/point2d.c:173:41: style: Parameter 'p2' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/point2d.c:245:54: style: Parameter 'point' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/point2d.c:286:52: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/point2d.c:426:31: style: Parameter 'tri' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/render.c:163:65: style:inconclusive: Function 'render_circle' argument 4 names different: declaration 'radius' definition 'xradius'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:1544:65: note: Function 'render_circle' argument 4 names different: declaration 'radius' definition 'xradius'. k2pdfopt_v2.55/willuslib/render.c:163:65: note: Function 'render_circle' argument 4 names different: declaration 'radius' definition 'xradius'. k2pdfopt_v2.55/willuslib/render.c:1209:28: style: Local variable 'd2' shadows outer variable [shadowVariable] k2pdfopt_v2.55/willuslib/render.c:1156:16: note: Shadowed declaration k2pdfopt_v2.55/willuslib/render.c:1209:28: note: Shadow variable k2pdfopt_v2.55/willuslib/render.c:1209:31: style: Local variable 'd' shadows outer variable [shadowVariable] k2pdfopt_v2.55/willuslib/render.c:1156:19: note: Shadowed declaration k2pdfopt_v2.55/willuslib/render.c:1209:31: note: Shadow variable k2pdfopt_v2.55/willuslib/render.c:281:61: style: Parameter 'triangle' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/render.c:626:13: style: Variable 'pattern' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/render.c:1027:37: style: Parameter 'bmap' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/render.c:1041:37: style: Parameter 'bmap' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/render.c:1239:53: style: Parameter 'bmap' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/render.c:1347:39: style: Parameter 'rc1' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/render.c:1347:57: style: Parameter 'rc2' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/render.c:1368:43: style: Parameter 'fgc' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/render.c:1368:61: style: Parameter 'bgc' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/render.c:1403:33: style: Parameter 'dash' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/render.c:682:15: style: Variable 'lx' is assigned a value that is never used. [unreadVariable] k2pdfopt_v2.55/willuslib/render.c:684:15: style: Variable 'rx' is assigned a value that is never used. [unreadVariable] k2pdfopt_v2.55/willuslib/render.c:841:15: style: Variable 'lx' is assigned a value that is never used. [unreadVariable] k2pdfopt_v2.55/willuslib/render.c:843:15: style: Variable 'rx' is assigned a value that is never used. [unreadVariable] k2pdfopt_v2.55/willuslib/strbuf.c:34:29: style:inconclusive: Function 'strbuf_lineno' argument 1 names different: declaration 'buf' definition 'sbuf'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:428:29: note: Function 'strbuf_lineno' argument 1 names different: declaration 'buf' definition 'sbuf'. k2pdfopt_v2.55/willuslib/strbuf.c:34:29: note: Function 'strbuf_lineno' argument 1 names different: declaration 'buf' definition 'sbuf'. k2pdfopt_v2.55/willuslib/strbuf.c:113:24: style: Parameter 'sbuf' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/strbuf.c:120:29: style: Parameter 'sbuf' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/strbuf.c:133:40: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/strbuf.c:156:39: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/strbuf.c:168:36: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/strbuf.c:216:36: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/strbuf.c:367:44: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/string.c:1880:15: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] k2pdfopt_v2.55/willuslib/string.c:805:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] k2pdfopt_v2.55/willuslib/string.c:805:57: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] k2pdfopt_v2.55/willuslib/string.c:853:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] k2pdfopt_v2.55/willuslib/string.c:853:57: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] k2pdfopt_v2.55/willuslib/string.c:1215:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] k2pdfopt_v2.55/willuslib/string.c:1239:12: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] k2pdfopt_v2.55/willuslib/string.c:619:27: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] k2pdfopt_v2.55/willuslib/string.c:617:31: note: outer condition: buf[j]=='\"' k2pdfopt_v2.55/willuslib/string.c:619:27: note: identical inner condition: buf[j]=='\"' k2pdfopt_v2.55/willuslib/string.c:93:15: style: The statement 'if (buf[i]!='\0') buf[i]='\0'' is logically equivalent to 'buf[i]='\0''. [duplicateConditionalAssign] k2pdfopt_v2.55/willuslib/string.c:94:15: note: Assignment 'buf[i]='\0'' k2pdfopt_v2.55/willuslib/string.c:93:15: note: Condition 'buf[i]!='\0'' is redundant k2pdfopt_v2.55/willuslib/string.c:121:15: style: The statement 'if (buf[i]!='\0') buf[i]='\0'' is logically equivalent to 'buf[i]='\0''. [duplicateConditionalAssign] k2pdfopt_v2.55/willuslib/string.c:122:15: note: Assignment 'buf[i]='\0'' k2pdfopt_v2.55/willuslib/string.c:121:15: note: Condition 'buf[i]!='\0'' is redundant k2pdfopt_v2.55/willuslib/string.c:679:19: style: The statement 'if (buf[i]!='\0') buf[i]='\0'' is logically equivalent to 'buf[i]='\0''. [duplicateConditionalAssign] k2pdfopt_v2.55/willuslib/string.c:680:19: note: Assignment 'buf[i]='\0'' k2pdfopt_v2.55/willuslib/string.c:679:19: note: Condition 'buf[i]!='\0'' is redundant k2pdfopt_v2.55/willuslib/string.c:740:19: style: The statement 'if (buf[i]!='\0') buf[i]='\0'' is logically equivalent to 'buf[i]='\0''. [duplicateConditionalAssign] k2pdfopt_v2.55/willuslib/string.c:741:19: note: Assignment 'buf[i]='\0'' k2pdfopt_v2.55/willuslib/string.c:740:19: note: Condition 'buf[i]!='\0'' is redundant k2pdfopt_v2.55/willuslib/string.c:1093:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] k2pdfopt_v2.55/willuslib/string.c:1601:37: style:inconclusive: Function 'clean_line_unicode' argument 2 names different: declaration 'n' definition 'n0'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:784:37: note: Function 'clean_line_unicode' argument 2 names different: declaration 'n' definition 'n0'. k2pdfopt_v2.55/willuslib/string.c:1601:37: note: Function 'clean_line_unicode' argument 2 names different: declaration 'n' definition 'n0'. k2pdfopt_v2.55/willuslib/string.c:1613:13: style: Local variable 'j' shadows outer variable [shadowVariable] k2pdfopt_v2.55/willuslib/string.c:1604:11: note: Shadowed declaration k2pdfopt_v2.55/willuslib/string.c:1613:13: note: Shadow variable k2pdfopt_v2.55/willuslib/string.c:127:48: style: Parameter 'cptr' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/string.c:172:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/string.c:221:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/string.c:301:25: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/string.c:318:25: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/string.c:410:27: style: Parameter 'progname' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/string.c:410:42: style: Parameter 'usage' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/string.c:640:34: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/string.c:640:55: style: Parameter 'delimiters' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/string.c:695:26: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/string.c:888:30: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/string.c:900:36: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/string.c:905:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/string.c:1073:46: style: Parameter 'datestr' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/string.c:1255:46: style: Parameter 'time' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/string.c:1291:21: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/string.c:1291:29: style: Parameter 't' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/string.c:1324:26: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/string.c:1336:25: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/string.c:1351:41: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/string.c:1364:24: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/string.c:1374:34: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/string.c:1390:21: style: Variable 'p' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/string.c:1410:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/string.c:1432:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/string.c:1483:34: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/string.c:1538:34: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/string.c:1625:22: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/string.c:1649:36: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/string.c:1706:21: style: Variable 'u' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/string.c:1801:20: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/string.c:1828:29: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/string.c:1875:21: style: Variable 'p' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/string.c:1588:9: style: Unused variable: i [unusedVariable] k2pdfopt_v2.55/willuslib/string.c:1604:11: style: Unused variable: j [unusedVariable] k2pdfopt_v2.55/willuslib/token.c:201:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/token.c:341:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/token.c:78:44: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/token.c:116:28: style: Parameter 's' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:281:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wfile.c:1993:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P_tmpdir [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wfile.c:2281:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wfile.c:2391:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wfile.c:3080:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wfile.c:3568:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wfile.c:3595:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wfile.c:167:12: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] k2pdfopt_v2.55/willuslib/wfile.c:802:12: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] k2pdfopt_v2.55/willuslib/wfile.c:2090:9: style: Obsolescent function 'tmpnam' called. It is recommended to use 'tmpfile', 'mkstemp' or 'mkdtemp' instead. [prohibitedtmpnamCalled] k2pdfopt_v2.55/willuslib/wfile.c:2108:22: portability: Non reentrant function 'tempnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'tempnam_r'. [prohibitedtempnamCalled] k2pdfopt_v2.55/willuslib/wfile.c:2539:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] k2pdfopt_v2.55/willuslib/wfile.c:1189:12: warning: Identical condition and return expression 'status', return value is always 0 [identicalConditionAfterEarlyExit] k2pdfopt_v2.55/willuslib/wfile.c:1187:9: note: If condition 'status' is true, the function will return/exit k2pdfopt_v2.55/willuslib/wfile.c:1189:12: note: Returning identical expression 'status' k2pdfopt_v2.55/willuslib/wfile.c:168:9: style: Condition '!wfile_date(filename,&fdate)' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wfile.c:168:20: note: Calling function 'wfile_date' returns -1 k2pdfopt_v2.55/willuslib/wfile.c:168:9: note: Condition '!wfile_date(filename,&fdate)' is always false k2pdfopt_v2.55/willuslib/wfile.c:1153:23: style: Condition 'status==1' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wfile.c:1152:32: note: Calling function 'wfile_status' returns -1 k2pdfopt_v2.55/willuslib/wfile.c:1152:32: note: Assignment 'status=wfile_status(path)', assigned value is -1 k2pdfopt_v2.55/willuslib/wfile.c:1153:23: note: Condition 'status==1' is always false k2pdfopt_v2.55/willuslib/wfile.c:1155:23: style: Condition 'status!=2' is always true [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wfile.c:1152:32: note: Calling function 'wfile_status' returns -1 k2pdfopt_v2.55/willuslib/wfile.c:1152:32: note: Assignment 'status=wfile_status(path)', assigned value is -1 k2pdfopt_v2.55/willuslib/wfile.c:1155:23: note: Condition 'status!=2' is always true k2pdfopt_v2.55/willuslib/wfile.c:1180:15: style: Condition 'status!=0' is always true [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wfile.c:1179:24: note: Calling function 'wfile_status' returns -1 k2pdfopt_v2.55/willuslib/wfile.c:1179:24: note: Assignment 'status=wfile_status(path)', assigned value is -1 k2pdfopt_v2.55/willuslib/wfile.c:1180:15: note: Condition 'status!=0' is always true k2pdfopt_v2.55/willuslib/wfile.c:1203:26: style: Condition 'wfile_status(dir)!=2' is always true [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wfile.c:1203:21: note: Calling function 'wfile_status' returns -1 k2pdfopt_v2.55/willuslib/wfile.c:1203:26: note: Condition 'wfile_status(dir)!=2' is always true k2pdfopt_v2.55/willuslib/wfile.c:1333:27: style: Condition 'wfile_status(path)!=2' is always true [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wfile.c:1333:21: note: Calling function 'wfile_status' returns -1 k2pdfopt_v2.55/willuslib/wfile.c:1333:27: note: Condition 'wfile_status(path)!=2' is always true k2pdfopt_v2.55/willuslib/wfile.c:1339:38: style: Condition 's' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wfile.c:1339:27: note: Calling function 'wfile_findfirst' returns 0 k2pdfopt_v2.55/willuslib/wfile.c:1339:27: note: Assignment 's=wfile_findfirst(spec,&wf)', assigned value is 0 k2pdfopt_v2.55/willuslib/wfile.c:1339:38: note: Condition 's' is always false k2pdfopt_v2.55/willuslib/wfile.c:1344:67: style: Condition 'wfile_status(wf.fullname)!=2' is always true [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wfile.c:1344:54: note: Calling function 'wfile_status' returns -1 k2pdfopt_v2.55/willuslib/wfile.c:1344:67: note: Condition 'wfile_status(wf.fullname)!=2' is always true k2pdfopt_v2.55/willuslib/wfile.c:1496:34: style: Condition 'wfile_date(filename1,&d1)!=1' is always true [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wfile.c:1496:19: note: Calling function 'wfile_date' returns -1 k2pdfopt_v2.55/willuslib/wfile.c:1496:34: note: Condition 'wfile_date(filename1,&d1)!=1' is always true k2pdfopt_v2.55/willuslib/wfile.c:1498:34: style: Condition 'wfile_date(filename2,&d2)!=1' is always true [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wfile.c:1498:19: note: Calling function 'wfile_date' returns -1 k2pdfopt_v2.55/willuslib/wfile.c:1498:34: note: Condition 'wfile_date(filename2,&d2)!=1' is always true k2pdfopt_v2.55/willuslib/wfile.c:2159:39: style: Condition 'wfile_status(hushfile)==1' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wfile.c:2159:29: note: Calling function 'wfile_status' returns -1 k2pdfopt_v2.55/willuslib/wfile.c:2159:39: note: Condition 'wfile_status(hushfile)==1' is always false k2pdfopt_v2.55/willuslib/wfile.c:2164:34: style: Return value 'wfile_status(hushfile)==1' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wfile.c:2164:24: note: Calling function 'wfile_status' returns -1 k2pdfopt_v2.55/willuslib/wfile.c:2164:34: note: Return value 'wfile_status(hushfile)==1' is always false k2pdfopt_v2.55/willuslib/wfile.c:2304:33: style: Condition 'wfile_status(src)==1' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wfile.c:2304:28: note: Calling function 'wfile_status' returns -1 k2pdfopt_v2.55/willuslib/wfile.c:2304:33: note: Condition 'wfile_status(src)==1' is always false k2pdfopt_v2.55/willuslib/wfile.c:2320:31: style: Condition 'wfile_status(dest)==1' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wfile.c:2320:25: note: Calling function 'wfile_status' returns -1 k2pdfopt_v2.55/willuslib/wfile.c:2320:31: note: Condition 'wfile_status(dest)==1' is always false k2pdfopt_v2.55/willuslib/wfile.c:2908:44: style: Condition 'wfile_status(pwf->fullname)!=2' is always true [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wfile.c:2908:29: note: Calling function 'wfile_status' returns -1 k2pdfopt_v2.55/willuslib/wfile.c:2908:44: note: Condition 'wfile_status(pwf->fullname)!=2' is always true k2pdfopt_v2.55/willuslib/wfile.c:3046:42: style: Condition 'status' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wfile.c:3046:32: note: Calling function 'wfile_findfirst' returns 0 k2pdfopt_v2.55/willuslib/wfile.c:3046:32: note: Assignment 'status=wfile_findfirst(spec,wf)', assigned value is 0 k2pdfopt_v2.55/willuslib/wfile.c:3046:42: note: Condition 'status' is always false k2pdfopt_v2.55/willuslib/wfile.c:3047:39: style: Condition 'wfile_status(wf->fullname)==2' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wfile.c:3047:25: note: Calling function 'wfile_status' returns -1 k2pdfopt_v2.55/willuslib/wfile.c:3047:39: note: Condition 'wfile_status(wf->fullname)==2' is always false k2pdfopt_v2.55/willuslib/wfile.c:3058:36: style: Condition 'status' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wfile.c:3058:31: note: Calling function 'wfile_findnext' returns 0 k2pdfopt_v2.55/willuslib/wfile.c:3058:31: note: Assignment 'status=wfile_findnext(wf)', assigned value is 0 k2pdfopt_v2.55/willuslib/wfile.c:3058:36: note: Condition 'status' is always false k2pdfopt_v2.55/willuslib/wfile.c:3059:39: style: Condition 'wfile_status(wf->fullname)==2' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wfile.c:3059:25: note: Calling function 'wfile_status' returns -1 k2pdfopt_v2.55/willuslib/wfile.c:3059:39: note: Condition 'wfile_status(wf->fullname)==2' is always false k2pdfopt_v2.55/willuslib/wfile.c:3187:29: style: Condition 'wfile_status(newloc)==1' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wfile.c:3187:21: note: Calling function 'wfile_status' returns -1 k2pdfopt_v2.55/willuslib/wfile.c:3187:29: note: Condition 'wfile_status(newloc)==1' is always false k2pdfopt_v2.55/willuslib/wfile.c:3240:33: style: Condition 'wfile_status(folder)!=2' is always true [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wfile.c:3240:25: note: Calling function 'wfile_status' returns -1 k2pdfopt_v2.55/willuslib/wfile.c:3240:33: note: Condition 'wfile_status(folder)!=2' is always true k2pdfopt_v2.55/willuslib/wfile.c:3242:33: style: Condition 'wfile_status(folder)==2' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wfile.c:3242:25: note: Calling function 'wfile_status' returns -1 k2pdfopt_v2.55/willuslib/wfile.c:3242:33: note: Condition 'wfile_status(folder)==2' is always false k2pdfopt_v2.55/willuslib/wfile.c:3326:33: style: Condition 'wfile_status(folder)!=2' is always true [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wfile.c:3326:25: note: Calling function 'wfile_status' returns -1 k2pdfopt_v2.55/willuslib/wfile.c:3326:33: note: Condition 'wfile_status(folder)!=2' is always true k2pdfopt_v2.55/willuslib/wfile.c:2224:5: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] k2pdfopt_v2.55/willuslib/wfile.c:3132:14: style: Checking if unsigned expression 'fl->n' is less than zero. [unsignedLessThanZero] k2pdfopt_v2.55/willuslib/wfile.c:3178:14: style: Checking if unsigned expression 'fl->n' is less than zero. [unsignedLessThanZero] k2pdfopt_v2.55/willuslib/wfile.c:301:23: style:inconclusive: Function 'wfile_ext' argument 1 names different: declaration 'filename' definition 'dst'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:993:23: note: Function 'wfile_ext' argument 1 names different: declaration 'filename' definition 'dst'. k2pdfopt_v2.55/willuslib/wfile.c:301:23: note: Function 'wfile_ext' argument 1 names different: declaration 'filename' definition 'dst'. k2pdfopt_v2.55/willuslib/wfile.c:1694:30: style:inconclusive: Function 'wfile_remove_dots' argument 1 names different: declaration 'path' definition 's'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:1045:30: note: Function 'wfile_remove_dots' argument 1 names different: declaration 'path' definition 's'. k2pdfopt_v2.55/willuslib/wfile.c:1694:30: note: Function 'wfile_remove_dots' argument 1 names different: declaration 'path' definition 's'. k2pdfopt_v2.55/willuslib/wfile.c:3438:25: style:inconclusive: Function 'wfile_makedir' argument 1 names different: declaration 'path' definition 'foldername'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:1028:25: note: Function 'wfile_makedir' argument 1 names different: declaration 'path' definition 'foldername'. k2pdfopt_v2.55/willuslib/wfile.c:3438:25: note: Function 'wfile_makedir' argument 1 names different: declaration 'path' definition 'foldername'. k2pdfopt_v2.55/willuslib/wfile.c:158:34: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:223:26: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:319:35: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:319:45: style: Parameter 'ext' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:345:37: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:359:26: style: Parameter 'envvar' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:371:45: style: Parameter 'wptr' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:431:27: style: Parameter 'wptr' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:492:29: style: Parameter 'wptr' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:519:48: style: Parameter 'filedate' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:722:31: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:722:51: style: Parameter 'date' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:754:31: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:754:46: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:778:33: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:791:47: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:800:20: style: Variable 'lt' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/wfile.c:888:36: style: Parameter 'ts' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:903:44: style: Parameter 'date' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:907:16: style: Variable 'j1days' can be declared as const array [constVariable] k2pdfopt_v2.55/willuslib/wfile.c:922:16: style: Variable 'dim' can be declared as const array [constVariable] k2pdfopt_v2.55/willuslib/wfile.c:961:24: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:1052:30: style: Parameter 'volume' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:1141:25: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:1281:34: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:1407:30: style: Parameter 'dirname' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:1431:31: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:1491:23: style: Parameter 'filename1' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:1491:39: style: Parameter 'filename2' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:1509:31: style: Parameter 'd1' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:1509:45: style: Parameter 'd2' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:1522:34: style: Parameter 'fn1' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:1522:44: style: Parameter 'fn2' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:1566:24: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:1616:51: style: Parameter 'fullname' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:1616:66: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:1747:53: style: Parameter 'spec' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:1821:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/wfile.c:1852:37: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:1900:36: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:1921:45: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:2032:28: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:2032:38: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:2146:24: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:2297:51: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:2338:46: style: Parameter 'pattern' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:2503:30: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:2533:16: style: Variable 't' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/wfile.c:3000:14: style: Variable 'wf' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/wfile.c:3041:30: style: Parameter 'spec' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:3068:34: style: Parameter 'pattern' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:3218:57: style: Parameter 'folderlist' can be declared as const array [constParameter] k2pdfopt_v2.55/willuslib/wfile.c:3219:60: style: Parameter 'envdir' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:3411:30: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:3411:45: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:3461:29: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:3481:29: style: Parameter 'filename1' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:3481:45: style: Parameter 'filename2' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:3506:46: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:3553:29: style: Parameter 'file1' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:3553:41: style: Parameter 'file2' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:3585:31: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:3585:55: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:3619:34: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wfile.c:2224:12: error: Uninitialized variable: size [uninitvar] k2pdfopt_v2.55/willuslib/wfile.c:1162:16: style: Variable 'path[i]' is assigned a value that is never used. [unreadVariable] k2pdfopt_v2.55/willuslib/wgs.c:276:25: style: Condition 'willusgs_name[0]=='\0'' is always true [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wgs.c:245:22: note: Assignment 'willusgs_name[0]='\0'', assigned value is 0 k2pdfopt_v2.55/willuslib/wgs.c:276:25: note: Condition 'willusgs_name[0]=='\0'' is always true k2pdfopt_v2.55/willuslib/wgs.c:114:57: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgs.c:174:30: style: Parameter 'dstfile' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgs.c:174:44: style: Parameter 'srcfile' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgs.c:335:34: style: Parameter 'argv' can be declared as const array [constParameter] k2pdfopt_v2.55/willuslib/wgui.c:145:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wgui.c:270:5: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] k2pdfopt_v2.55/willuslib/wgui.c:123:34: style: Condition 'willusgui_dprintf_sem==NULL' is always true [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wgui.c:122:62: note: Calling function 'willusgui_semaphore_create_ex' returns 0 k2pdfopt_v2.55/willuslib/wgui.c:122:62: note: Assignment 'willusgui_dprintf_sem=willusgui_semaphore_create_ex("willusgui_dprintf",1,1)', assigned value is 0 k2pdfopt_v2.55/willuslib/wgui.c:123:34: note: Condition 'willusgui_dprintf_sem==NULL' is always true k2pdfopt_v2.55/willuslib/wgui.c:1295:15: style: Condition 'status!=0' is always true [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wgui.c:1293:12: note: Assignment 'status=3', assigned value is 3 k2pdfopt_v2.55/willuslib/wgui.c:1295:15: note: Condition 'status!=0' is always true k2pdfopt_v2.55/willuslib/wgui.c:83:48: style:inconclusive: Function 'willusgui_set_altkey_margin_inches' argument 1 names different: declaration 'inches' definition 'x'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:1967:48: note: Function 'willusgui_set_altkey_margin_inches' argument 1 names different: declaration 'inches' definition 'x'. k2pdfopt_v2.55/willuslib/wgui.c:83:48: note: Function 'willusgui_set_altkey_margin_inches' argument 1 names different: declaration 'inches' definition 'x'. k2pdfopt_v2.55/willuslib/wgui.c:1826:52: style:inconclusive: Function 'willusgui_semaphore_create_ex' argument 2 names different: declaration 'initialcout' definition 'initialcount'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:2046:52: note: Function 'willusgui_semaphore_create_ex' argument 2 names different: declaration 'initialcout' definition 'initialcount'. k2pdfopt_v2.55/willuslib/wgui.c:1826:52: note: Function 'willusgui_semaphore_create_ex' argument 2 names different: declaration 'initialcout' definition 'initialcount'. k2pdfopt_v2.55/willuslib/wgui.c:223:31: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:286:52: style: Parameter 'win' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:286:71: style: Parameter 'font' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:286:82: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:287:93: style: Parameter 'rect' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:337:53: style: Parameter 'win' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:337:72: style: Parameter 'font' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:337:83: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:337:105: style: Parameter 'rect' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:355:50: style: Parameter 'win' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:374:57: style: Parameter 'win' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:374:76: style: Parameter 'rect' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:395:57: style: Parameter 'win' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:395:66: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:395:73: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:428:61: style: Parameter 'brect' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:488:55: style: Parameter 'win' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:527:46: style: Parameter 'rect' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:527:66: style: Parameter 'winrect' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:557:58: style: Parameter 'win' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:557:77: style: Parameter 'rect' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:631:49: style: Parameter 'control' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:918:49: style: Parameter 'control' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:927:51: style: Parameter 'control' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:927:65: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:964:53: style: Parameter 'control' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:975:59: style: Parameter 'control' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:987:48: style: Parameter 'win' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:987:67: style: Parameter 'guirect' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1006:51: style: Parameter 'guirect' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1025:47: style: Parameter 'win' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1025:66: style: Parameter 'guirect' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1045:56: style: Parameter 'win' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1045:75: style: Parameter 'guirect' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1066:63: style: Parameter 'win' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1075:51: style: Parameter 'win' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1088:51: style: Parameter 'win' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1088:61: style: Parameter 'menus' can be declared as const array [constParameter] k2pdfopt_v2.55/willuslib/wgui.c:1138:44: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1138:57: style: Parameter 'title' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1138:69: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1138:83: style: Parameter 'button1' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1139:35: style: Parameter 'button2' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1139:49: style: Parameter 'button3' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1139:63: style: Parameter 'inbuf' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1141:34: style: Parameter 'bcolors' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1141:57: style: Parameter 'rect' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1222:48: style: Parameter 'control' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1404:36: style: Parameter 'link' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1416:53: style: Parameter 'control' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1430:54: style: Parameter 'control' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1441:72: style: Parameter 'control' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1475:64: style: Parameter 'control' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1491:74: style: Parameter 'control' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1491:87: style: Parameter 'selected_indices' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1515:61: style: Parameter 'control' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1515:75: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1544:56: style: Parameter 'control' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1558:59: style: Parameter 'control' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1558:73: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1583:63: style: Parameter 'control' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1618:42: style: Parameter 'dropptr' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1667:50: style: Parameter 'win' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1684:55: style: Parameter 'control' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1684:68: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1684:79: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1700:54: style: Parameter 'control' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1712:58: style: Parameter 'control' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1738:51: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1756:40: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1756:61: style: Parameter 'allowedfiles' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1757:37: style: Parameter 'prompt' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1757:50: style: Parameter 'defext' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1790:42: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1790:63: style: Parameter 'allowedfiles' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1791:38: style: Parameter 'prompt' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1791:51: style: Parameter 'defext' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1806:56: style: Parameter 'win' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1806:74: style: Parameter 'bmp' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1815:40: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1826:43: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1837:40: style: Parameter 'semaphore' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1846:38: style: Parameter 'semaphore' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1859:43: style: Parameter 'semaphore' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1876:38: style: Parameter 'semaphore' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1889:37: style: Parameter 'funcptr' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1889:51: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1900:39: style: Parameter 'pid' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:1990:74: style: Parameter 'oshandle' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:2085:20: style: Variable 'rect' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/wgui.c:2149:19: style: Variable 'src' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/wgui.c:2150:20: style: Variable 'rect' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/wgui.c:2183:35: style: Parameter 'handle' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:2183:71: style: Parameter 'lparam' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wgui.c:114:16: style: Unused variable: tids [unusedVariable] k2pdfopt_v2.55/willuslib/wgui.c:115:16: style: Variable 'ntids' is assigned a value that is never used. [unreadVariable] k2pdfopt_v2.55/willuslib/wininet.c:332:38: style: Parameter 'lurl' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wmupdf.c:186:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pdf_write_options [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wmupdf.c:1515:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FZ_STEXT_BLOCK_TEXT [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wmupdf.c:263:12: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] k2pdfopt_v2.55/willuslib/wmupdf.c:222:19: style: Condition 'status<0' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wmupdf.c:221:38: note: Calling function 'wmupdf_pdfdoc_newpages' returns 0 k2pdfopt_v2.55/willuslib/wmupdf.c:221:38: note: Assignment 'status=wmupdf_pdfdoc_newpages(xref,ctx,pageinfo,use_forms,wpdfoutline,out)', assigned value is 0 k2pdfopt_v2.55/willuslib/wmupdf.c:222:19: note: Condition 'status<0' is always false k2pdfopt_v2.55/willuslib/wmupdf.c:242:9: style: Condition 'write_failed' is always true [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wmupdf.c:239:22: note: Assignment 'write_failed=1', assigned value is 1 k2pdfopt_v2.55/willuslib/wmupdf.c:242:9: note: Condition 'write_failed' is always true k2pdfopt_v2.55/willuslib/wmupdf.c:1511:13: style: Variable 'lig' is reassigned a value before the old one has been used. [redundantAssignment] k2pdfopt_v2.55/willuslib/wmupdf.c:1510:8: note: lig is assigned k2pdfopt_v2.55/willuslib/wmupdf.c:1511:13: note: lig is overwritten k2pdfopt_v2.55/willuslib/wmupdf.c:307:92: style:inconclusive: Function 'wmupdf_object_bbox' argument 4 names different: declaration 'defbbox' definition 'bbox_def'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/wmupdf.c:37:92: note: Function 'wmupdf_object_bbox' argument 4 names different: declaration 'defbbox' definition 'bbox_def'. k2pdfopt_v2.55/willuslib/wmupdf.c:307:92: note: Function 'wmupdf_object_bbox' argument 4 names different: declaration 'defbbox' definition 'bbox_def'. k2pdfopt_v2.55/willuslib/wmupdf.c:1006:90: style:inconclusive: Function 'add_to_srcpage_stream' argument 4 names different: declaration 'dict' definition 'srcdict'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/wmupdf.c:47:90: note: Function 'add_to_srcpage_stream' argument 4 names different: declaration 'dict' definition 'srcdict'. k2pdfopt_v2.55/willuslib/wmupdf.c:1006:90: note: Function 'add_to_srcpage_stream' argument 4 names different: declaration 'dict' definition 'srcdict'. k2pdfopt_v2.55/willuslib/wmupdf.c:1195:53: style:inconclusive: Function 'wmupdf_dict_merge' argument 2 names different: declaration 'distname' definition 'dictname'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/wmupdf.c:54:53: note: Function 'wmupdf_dict_merge' argument 2 names different: declaration 'distname' definition 'dictname'. k2pdfopt_v2.55/willuslib/wmupdf.c:1195:53: note: Function 'wmupdf_dict_merge' argument 2 names different: declaration 'distname' definition 'dictname'. k2pdfopt_v2.55/willuslib/wmupdf.c:712:21: style: Local variable 'k' shadows outer variable [shadowVariable] k2pdfopt_v2.55/willuslib/wmupdf.c:426:15: note: Shadowed declaration k2pdfopt_v2.55/willuslib/wmupdf.c:712:21: note: Shadow variable k2pdfopt_v2.55/willuslib/wmupdf.c:836:83: style: Parameter 'srcpageused' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wmupdf.c:1331:47: style: Parameter 'src' can be declared as const array [constParameter] k2pdfopt_v2.55/willuslib/wmupdf.c:1362:33: style: Parameter 'm' can be declared as const array [constParameter] k2pdfopt_v2.55/willuslib/wmupdf.c:1503:84: style: Parameter 'page' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wmupdfinfo.c:266:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x1 [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wmupdfinfo.c:378:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MediaBox [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wmupdfinfo.c:434:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Subtype [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wmupdfinfo.c:483:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Subtype [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wmupdfinfo.c:554:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Subtype [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wmupdfinfo.c:605:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Subtype [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wmupdfinfo.c:647:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShadingType [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wmupdfinfo.c:694:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PatternType [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wmupdfinfo.c:759:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FZ_ERROR_GENERIC [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wmupdfinfo.c:831:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FZ_ERROR_GENERIC [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wmupdfinfo.c:856:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x1 [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wmupdfinfo.c:1130:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FZ_ERROR_GENERIC [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wmupdfinfo.c:1195:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wmupdfinfo.c:1281:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wmupdfinfo.c:297:9: error: Memory leak: buf [memleak] k2pdfopt_v2.55/willuslib/wmupdfinfo.c:295:16: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] k2pdfopt_v2.55/willuslib/wmupdfinfo.c:293:15: note: Assuming allocation function fails k2pdfopt_v2.55/willuslib/wmupdfinfo.c:293:15: note: Assignment 'buf=strdup(buf0)', assigned value is 0 k2pdfopt_v2.55/willuslib/wmupdfinfo.c:295:16: note: Null pointer dereference k2pdfopt_v2.55/willuslib/wmupdfinfo.c:285:68: style: Parameter 'buf0' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wmupdfinfo.c:285:95: style: Parameter 'label' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wmupdfinfo.c:323:68: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wmupdfinfo.c:1095:90: style: Parameter 'pagelist' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wmupdfinfo.c:1309:18: style: Variable 'mname' can be declared as const array [constVariable] k2pdfopt_v2.55/willuslib/wmupdfinfo.c:52:13: style: struct member 'Anonymous2::obj' is never used. [unusedStructMember] k2pdfopt_v2.55/willuslib/wmupdfinfo.c:55:13: style: struct member 'Anonymous3::obj' is never used. [unusedStructMember] k2pdfopt_v2.55/willuslib/wmupdfinfo.c:58:13: style: struct member 'Anonymous4::obj' is never used. [unusedStructMember] k2pdfopt_v2.55/willuslib/wpdf.c:76:50: style: Parameter 'box' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wpdf.c:144:17: style: Variable 'srcbox' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/wpdf.c:324:58: style: Parameter 'textchar' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wpdf.c:648:46: style: Parameter 'c1' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wpdf.c:648:60: style: Parameter 'c2' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wpdf.c:739:47: style: Parameter 'c1' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wpdf.c:739:61: style: Parameter 'c2' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wpdf.c:902:52: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wpdf.c:914:20: style: Variable 'wtc' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/wpdfoutline.c:229:64: style:inconclusive: Function 'wpdfoutline_num_anchors_on_level' argument 2 names different: declaration 'rcount' definition 'rc'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:927:64: note: Function 'wpdfoutline_num_anchors_on_level' argument 2 names different: declaration 'rcount' definition 'rc'. k2pdfopt_v2.55/willuslib/wpdfoutline.c:229:64: note: Function 'wpdfoutline_num_anchors_on_level' argument 2 names different: declaration 'rcount' definition 'rc'. k2pdfopt_v2.55/willuslib/wpdfoutline.c:267:57: style:inconclusive: Function 'wpdfoutline_index' argument 2 names different: declaration 'local' definition 'outline1'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:928:57: note: Function 'wpdfoutline_index' argument 2 names different: declaration 'local' definition 'outline1'. k2pdfopt_v2.55/willuslib/wpdfoutline.c:267:57: note: Function 'wpdfoutline_index' argument 2 names different: declaration 'local' definition 'outline1'. k2pdfopt_v2.55/willuslib/wpdfoutline.c:281:60: style:inconclusive: Function 'wpdfoutline_by_index' argument 2 names different: declaration 'index' definition 'n'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:929:60: note: Function 'wpdfoutline_by_index' argument 2 names different: declaration 'index' definition 'n'. k2pdfopt_v2.55/willuslib/wpdfoutline.c:281:60: note: Function 'wpdfoutline_by_index' argument 2 names different: declaration 'index' definition 'n'. k2pdfopt_v2.55/willuslib/wpdfoutline.c:299:69: style:inconclusive: Function 'wpdfoutline_previous' argument 2 names different: declaration 'local' definition 'outline1'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:930:69: note: Function 'wpdfoutline_previous' argument 2 names different: declaration 'local' definition 'outline1'. k2pdfopt_v2.55/willuslib/wpdfoutline.c:299:69: note: Function 'wpdfoutline_previous' argument 2 names different: declaration 'local' definition 'outline1'. k2pdfopt_v2.55/willuslib/wpdfoutline.c:312:67: style:inconclusive: Function 'wpdfoutline_parent' argument 2 names different: declaration 'local' definition 'outline1'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:931:67: note: Function 'wpdfoutline_parent' argument 2 names different: declaration 'local' definition 'outline1'. k2pdfopt_v2.55/willuslib/wpdfoutline.c:312:67: note: Function 'wpdfoutline_parent' argument 2 names different: declaration 'local' definition 'outline1'. k2pdfopt_v2.55/willuslib/wpdfutil.c:30:25: style:inconclusive: Function 'pdf_utf8_out' argument 1 names different: declaration 'f' definition 'out'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:1813:25: note: Function 'pdf_utf8_out' argument 1 names different: declaration 'f' definition 'out'. k2pdfopt_v2.55/willuslib/wpdfutil.c:30:25: note: Function 'pdf_utf8_out' argument 1 names different: declaration 'f' definition 'out'. k2pdfopt_v2.55/willuslib/wpdfutil.c:30:35: style:inconclusive: Function 'pdf_utf8_out' argument 2 names different: declaration 'text' definition 'utf8_text'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:1813:33: note: Function 'pdf_utf8_out' argument 2 names different: declaration 'text' definition 'utf8_text'. k2pdfopt_v2.55/willuslib/wpdfutil.c:30:35: note: Function 'pdf_utf8_out' argument 2 names different: declaration 'text' definition 'utf8_text'. k2pdfopt_v2.55/willuslib/wsys.c:241:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __GNUC_MINOR__ [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wsys.c:350:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_NPROCESSORS_ONLN [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wsys.c:437:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wsys.c:523:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_NUMERIC [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wsys.c:681:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wsys.c:337:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] k2pdfopt_v2.55/willuslib/wsys.c:475:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] k2pdfopt_v2.55/willuslib/wsys.c:476:10: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] k2pdfopt_v2.55/willuslib/wsys.c:271:26: style:inconclusive: Function 'wsys_wpid_status' argument 1 names different: declaration 'wpid' definition 'pid'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:1326:29: note: Function 'wsys_wpid_status' argument 1 names different: declaration 'wpid' definition 'pid'. k2pdfopt_v2.55/willuslib/wsys.c:271:26: note: Function 'wsys_wpid_status' argument 1 names different: declaration 'wpid' definition 'pid'. k2pdfopt_v2.55/willuslib/wsys.c:66:18: style: Variable 'compiler' can be declared as const array [constVariable] k2pdfopt_v2.55/willuslib/wsys.c:74:18: style: Variable 'os' can be declared as const array [constVariable] k2pdfopt_v2.55/willuslib/wsys.c:77:18: style: Variable 'chip' can be declared as const array [constVariable] k2pdfopt_v2.55/willuslib/wsys.c:379:22: style: Parameter 'exactname' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wsys.c:379:38: style: Parameter 'exename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wsys.c:395:36: style: Parameter 'exename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wsys.c:395:50: style: Parameter 'wildcard' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wsys.c:442:41: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wsys.c:455:36: style: Parameter 'date' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wsys.c:515:18: style: Variable 'localenames' can be declared as const array [constVariable] k2pdfopt_v2.55/willuslib/wsys.c:518:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/wsys.c:571:27: style: Parameter 'varname' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wsys.c:571:41: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wsys.c:627:30: style: Parameter 'varname' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wsys.c:630:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/wsys.c:678:26: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wsys.c:689:28: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wsys.c:707:30: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wsys.c:707:40: style: Parameter 'stdoutfile' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wsys.c:707:57: style: Parameter 'stderrfile' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wsys.c:716:18: style: Variable 'nullname' can be declared as pointer to const [constVariablePointer] k2pdfopt_v2.55/willuslib/wsys.c:539:10: style: Variable 'p' is assigned a value that is never used. [unreadVariable] k2pdfopt_v2.55/willuslib/wzfile.c:512:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wzfile.c:525:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] k2pdfopt_v2.55/willuslib/wzfile.c:470:9: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] k2pdfopt_v2.55/willuslib/wzfile.c:405:28: warning: Either the condition 'i<15' is redundant or the array 'mode[3]' is accessed at index 14, which is out of bounds. [arrayIndexOutOfBoundsCond] k2pdfopt_v2.55/willuslib/wzfile.c:405:17: note: Assuming that condition 'i<15' is not redundant k2pdfopt_v2.55/willuslib/wzfile.c:405:28: note: Array index out of bounds k2pdfopt_v2.55/willuslib/wzfile.c:406:17: error: Array 'mode[3]' accessed at index 14, which is out of bounds. [arrayIndexOutOfBounds] k2pdfopt_v2.55/willuslib/wzfile.c:712:9: warning: Return value of function gzerror() is not used. [ignoredReturnValue] k2pdfopt_v2.55/willuslib/wzfile.c:77:17: style: Condition '!archive_extract(archfile,filename,tempname)' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wzfile.c:77:33: note: Calling function 'archive_extract' returns 1 k2pdfopt_v2.55/willuslib/wzfile.c:77:17: note: Condition '!archive_extract(archfile,filename,tempname)' is always false k2pdfopt_v2.55/willuslib/wzfile.c:88:17: style: Condition '!archive_extract(archfile,subarch,tempname2)' is always false [knownConditionTrueFalse] k2pdfopt_v2.55/willuslib/wzfile.c:88:33: note: Calling function 'archive_extract' returns 1 k2pdfopt_v2.55/willuslib/wzfile.c:88:17: note: Condition '!archive_extract(archfile,subarch,tempname2)' is always false k2pdfopt_v2.55/willuslib/wzfile.c:534:38: style:inconclusive: Function 'wzwrite' argument 3 names different: declaration 'length' definition 'nbytes'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:401:42: note: Function 'wzwrite' argument 3 names different: declaration 'length' definition 'nbytes'. k2pdfopt_v2.55/willuslib/wzfile.c:534:38: note: Function 'wzwrite' argument 3 names different: declaration 'length' definition 'nbytes'. k2pdfopt_v2.55/willuslib/wzfile.c:615:37: style:inconclusive: Function 'wzread' argument 3 names different: declaration 'length' definition 'nbytes'. [funcArgNamesDifferent] k2pdfopt_v2.55/willuslib/willus.h:400:41: note: Function 'wzread' argument 3 names different: declaration 'length' definition 'nbytes'. k2pdfopt_v2.55/willuslib/wzfile.c:615:37: note: Function 'wzread' argument 3 names different: declaration 'length' definition 'nbytes'. k2pdfopt_v2.55/willuslib/wzfile.c:388:37: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wzfile.c:534:30: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wzfile.c:744:26: style: Parameter 'wz' can be declared as pointer to const [constParameterPointer] k2pdfopt_v2.55/willuslib/wzfile.c:470:11: style: Variable 'wz' is assigned a value that is never used. [unreadVariable] diff: head k2pdfopt_v2.55/k2pdfopt.c:264:12: error: Uninitialized variable: k2listproc [uninitvar] head k2pdfopt_v2.55/tesseract_mod/serialis.cpp:265:13: style:inconclusive: Technically the member function 'tesseract::TFile::CloseWrite' can be const. [functionConst] k2pdfopt_v2.55/tesseract_mod/serialis.h:215:8: note: Technically the member function 'tesseract::TFile::CloseWrite' can be const. k2pdfopt_v2.55/tesseract_mod/serialis.cpp:265:13: note: Technically the member function 'tesseract::TFile::CloseWrite' can be const. 2.17.0 k2pdfopt_v2.55/tesseract_mod/serialis.h:215:8: style:inconclusive: Technically the member function 'tesseract::TFile::CloseWrite' can be const. [functionConst] k2pdfopt_v2.55/tesseract_mod/serialis.cpp:265:13: note: Technically the member function 'tesseract::TFile::CloseWrite' can be const. k2pdfopt_v2.55/tesseract_mod/serialis.h:215:8: note: Technically the member function 'tesseract::TFile::CloseWrite' can be const. head k2pdfopt_v2.55/willuslib/string.c:805:57: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] head k2pdfopt_v2.55/willuslib/string.c:853:57: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] DONE