2026-06-13 23:10 ftp://ftp.de.debian.org/debian/pool/main/a/a2ps/a2ps_4.15.8.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=bsd --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-124-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.4.0 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.21.0 head-info: 9becbb6 (2026-06-12 15:50:12 +0200) count: 561 559 elapsed-time: 12.4 11.9 head-timing-info: old-timing-info: head results: a2ps-4.15.8/lib/argmatch.h:27:4: error: #error "Please include config.h first." [preprocessorErrorDirective] a2ps-4.15.8/lib/openat.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] a2ps-4.15.8/lib/filenamecat.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] a2ps-4.15.8/lib/backupfile.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] a2ps-4.15.8/lib/basename-lgpl.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] a2ps-4.15.8/lib/dirname.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] a2ps-4.15.8/lib/c-ctype.h:28:3: error: #error "Please include config.h first." [preprocessorErrorDirective] a2ps-4.15.8/lib/c-strcase.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] a2ps-4.15.8/lib/calloc.c:45:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/pathmax.h:44:4: error: #error "Please include config.h first." [preprocessorErrorDirective] a2ps-4.15.8/lib/cloexec.c:62:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/cloexec.c:82:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_DUPFD_CLOEXEC [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/closedir.c:60:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/dirfd.c:40:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/dup2.c:200:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/error.c:155:5: error: #error Please port fcntl to your platform [preprocessorErrorDirective] a2ps-4.15.8/lib/fcntl.c:430:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/fcntl.c:485:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/free.c:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/fseterr.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] a2ps-4.15.8/lib/stat-time.h:26:3: error: #error "Please include config.h first." [preprocessorErrorDirective] a2ps-4.15.8/lib/getcwd-lgpl.c:56:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/getcwd-lgpl.c:82:11: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/lib/getdtablesize.c:111:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/hard-locale.c:30:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SETLOCALE_NULL_MAX [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/ialloc.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] a2ps-4.15.8/lib/issymlink.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] a2ps-4.15.8/lib/localcharset.c:1050:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] a2ps-4.15.8/lib/localcharset.c:1041:24: note: Assignment 'locale=NULL', assigned value is 0 a2ps-4.15.8/lib/localcharset.c:1050:14: note: Condition 'locale==NULL' is always true a2ps-4.15.8/lib/localcharset.c:540:14: style: struct member 'table_entry::locale' is never used. [unusedStructMember] a2ps-4.15.8/lib/localcharset.c:541:14: style: struct member 'table_entry::canonical' is never used. [unusedStructMember] a2ps-4.15.8/lib/localcharset.c:1059:22: style: Variable 'locale' is assigned a value that is never used. [unreadVariable] a2ps-4.15.8/lib/malloc.c:43:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/malloc/scratch_buffer_grow.c:40:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/malloc/scratch_buffer_grow_preserve.c:49:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/malloc/scratch_buffer_set_array_size.c:41:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/malloca.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] a2ps-4.15.8/lib/attribute.h:94:3: error: #error "Please include config.h first." [preprocessorErrorDirective] a2ps-4.15.8/lib/msvc-inval.h:57:3: error: #error "Please include config.h first." [preprocessorErrorDirective] a2ps-4.15.8/lib/msvc-nothrow.h:30:3: error: #error "Please include config.h first." [preprocessorErrorDirective] a2ps-4.15.8/lib/obstack.c:66:2: error: failed to evaluate #if condition, undefined function-like macro invocation: SHLIB_COMPAT( ... ) [syntaxError] a2ps-4.15.8/lib/open.c:67:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_NOFOLLOW [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/open.c:75:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/open.c:128:7: style: Condition 'check_for_slash_bug' is always false [knownConditionTrueFalse] a2ps-4.15.8/lib/open.c:126:27: note: Assignment 'check_for_slash_bug=false', assigned value is 0 a2ps-4.15.8/lib/open.c:128:7: note: Condition 'check_for_slash_bug' is always false a2ps-4.15.8/lib/open.c:142:6: style: Condition 'check_for_slash_bug' is always false [knownConditionTrueFalse] a2ps-4.15.8/lib/open.c:126:27: note: Assignment 'check_for_slash_bug=false', assigned value is 0 a2ps-4.15.8/lib/open.c:142:6: note: Condition 'check_for_slash_bug' is always false a2ps-4.15.8/lib/open.c:67:29: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] a2ps-4.15.8/lib/openat-proc.c:82:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_SEARCH [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/opendir.c:93:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/opendirat.c:42:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/quotearg.c:25:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [syntaxError] a2ps-4.15.8/lib/rawmemchr.c:47:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTPTR_WIDTH [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/rawmemchr.c:120:16: style: Variable 's' is reassigned a value before the old one has been used. [redundantAssignment] a2ps-4.15.8/lib/rawmemchr.c:61:36: note: s is assigned a2ps-4.15.8/lib/rawmemchr.c:120:16: note: s is overwritten a2ps-4.15.8/lib/rawmemchr.c:120:16: style: Variable 's' is assigned a value that is never used. [unreadVariable] a2ps-4.15.8/lib/readdir.c:68:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/readlink.c:41:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/realloc.c:90:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/reallocarray.c:32:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/rmdir.c:46:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/same-inode.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] a2ps-4.15.8/lib/setlocale_null-unlocked.c:121:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/setlocale_null.c:205:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] a2ps-4.15.8/lib/sig2str.c:345:28: warning: Logical conjunction always evaluates to false: rtmin <= signum && signum <= rtmax. [incorrectLogicOperator] a2ps-4.15.8/lib/sig2str.c:298:15: style: Condition '0' definition 'nptr'. [funcArgNamesDifferentUnnamed] a2ps-4.15.8/lib/xstrtol.c:71:37: style:inconclusive: Function 'xstrtol' argument 2 names different: declaration '' definition 'endptr'. [funcArgNamesDifferentUnnamed] a2ps-4.15.8/lib/xstrtol.c:71:49: style:inconclusive: Function 'xstrtol' argument 3 names different: declaration '' definition 'base'. [funcArgNamesDifferentUnnamed] a2ps-4.15.8/lib/xstrtol.c:72:24: style:inconclusive: Function 'xstrtol' argument 4 names different: declaration '' definition 'val'. [funcArgNamesDifferentUnnamed] a2ps-4.15.8/lib/xstrtol.c:72:41: style:inconclusive: Function 'xstrtol' argument 5 names different: declaration '' definition 'valid_suffixes'. [funcArgNamesDifferentUnnamed] a2ps-4.15.8/lib/xstrtol.c:52:15: style: Checking if unsigned expression '*x' is less than zero. [unsignedLessThanZero] a2ps-4.15.8/lib/xstrtol.c:71:24: style:inconclusive: Function 'xstrtoul' argument 1 names different: declaration '' definition 'nptr'. [funcArgNamesDifferentUnnamed] a2ps-4.15.8/lib/xstrtol.c:71:37: style:inconclusive: Function 'xstrtoul' argument 2 names different: declaration '' definition 'endptr'. [funcArgNamesDifferentUnnamed] a2ps-4.15.8/lib/xstrtol.c:71:49: style:inconclusive: Function 'xstrtoul' argument 3 names different: declaration '' definition 'base'. [funcArgNamesDifferentUnnamed] a2ps-4.15.8/lib/xstrtol.c:72:24: style:inconclusive: Function 'xstrtoul' argument 4 names different: declaration '' definition 'val'. [funcArgNamesDifferentUnnamed] a2ps-4.15.8/lib/xstrtol.c:72:41: style:inconclusive: Function 'xstrtoul' argument 5 names different: declaration '' definition 'valid_suffixes'. [funcArgNamesDifferentUnnamed] a2ps-4.15.8/liba2ps/argv.c:97:17: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] a2ps-4.15.8/liba2ps/argv.c:194:25: style:inconclusive: Function 'buildargv' argument 1 names different: declaration 'input' definition 'string'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/argv.h:128:31: note: Function 'buildargv' argument 1 names different: declaration 'input' definition 'string'. a2ps-4.15.8/liba2ps/argv.c:194:25: note: Function 'buildargv' argument 1 names different: declaration 'input' definition 'string'. a2ps-4.15.8/liba2ps/output.h:30:1: error: There is an unknown macro here somewhere. Configuration is required. If _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM is a macro then please configure it. [unknownMacro] a2ps-4.15.8/liba2ps/pathwalk.h:32:1: error: There is an unknown macro here somewhere. Configuration is required. If _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM is a macro then please configure it. [unknownMacro] confg.gperf:240:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_opt [valueFlowBailoutIncompleteVar] confg.gperf:446:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSCONFFILE [valueFlowBailoutIncompleteVar] confg.gperf:251:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] confg.gperf:266:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] confg.gperf:268:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] confg.gperf:274:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] confg.gperf:236:15: warning: If memory allocation fails, then there is a possible null pointer dereference: fname [nullPointerOutOfMemory] confg.gperf:234:20: note: Assuming allocation function fails confg.gperf:234:20: note: Assignment 'fname=strdup(file)', assigned value is 0 confg.gperf:236:15: note: Null pointer dereference confg.gperf:263:31: warning: Either the condition '!keyword' is redundant or there is possible null pointer dereference: keyword. [nullPointerRedundantCheck] confg.gperf:258:11: note: Assuming that condition '!keyword' is not redundant confg.gperf:263:31: note: Null pointer dereference confg.gperf:108:24: style: Variable 'asso_values' can be declared as const array [constVariable] confg.gperf:189:22: style: Variable 'lookup' can be declared as const array [constVariable] confg.gperf:245:25: style: Variable 'keyword' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/darray.c:46:16: style:inconclusive: Function 'da_new' argument 6 names different: declaration '' definition 'cmp'. [funcArgNamesDifferentUnnamed] a2ps-4.15.8/liba2ps/darray.c:146:27: style:inconclusive: Function 'da_clone' argument 1 names different: declaration 'arr' definition 'array'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/darray.h:70:43: note: Function 'da_clone' argument 1 names different: declaration 'arr' definition 'array'. a2ps-4.15.8/liba2ps/darray.c:146:27: note: Function 'da_clone' argument 1 names different: declaration 'arr' definition 'array'. a2ps-4.15.8/liba2ps/darray.c:406:19: style:inconclusive: Function 'da_qsort_with_arg' argument 3 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] a2ps-4.15.8/liba2ps/darray.c:566:44: style:inconclusive: Function 'da_map' argument 2 names different: declaration 'func' definition 'fn'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/darray.h:116:49: note: Function 'da_map' argument 2 names different: declaration 'func' definition 'fn'. a2ps-4.15.8/liba2ps/darray.c:566:44: note: Function 'da_map' argument 2 names different: declaration 'func' definition 'fn'. a2ps-4.15.8/liba2ps/darray.c:578:63: style:inconclusive: Function 'da_maparg' argument 3 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] a2ps-4.15.8/liba2ps/darray.c:78:33: style: Parameter 'arr' can be declared as pointer to const [constParameterPointer] a2ps-4.15.8/liba2ps/darray.c:173:27: style: Parameter 'ar1' can be declared as pointer to const [constParameterPointer] a2ps-4.15.8/liba2ps/darray.c:173:48: style: Parameter 'ar2' can be declared as pointer to const [constParameterPointer] a2ps-4.15.8/liba2ps/document.h:42:1: error: There is an unknown macro here somewhere. Configuration is required. If _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM is a macro then please configure it. [unknownMacro] a2ps-4.15.8/liba2ps/dstring.h:88:1: error: There is an unknown macro here somewhere. Configuration is required. If _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM is a macro then please configure it. [unknownMacro] a2ps-4.15.8/liba2ps/filtdir.c:50:38: style:inconclusive: Function 'filterdir' argument 3 names different: declaration '' definition 'filtarg'. [funcArgNamesDifferentUnnamed] a2ps-4.15.8/liba2ps/filtdir.c:51:21: style:inconclusive: Function 'filterdir' argument 4 names different: declaration '' definition 'fun'. [funcArgNamesDifferentUnnamed] a2ps-4.15.8/liba2ps/filtdir.c:51:32: style:inconclusive: Function 'filterdir' argument 5 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] fonts.c:1137:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] fonts.c:1539:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] fonts.c:1882:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fonts.c:2120:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fonts.l:281:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash_table_s [valueFlowBailoutIncompleteVar] fonts.l:377:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash_table_s [valueFlowBailoutIncompleteVar] fonts.l:417:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_font [valueFlowBailoutIncompleteVar] fonts.l:568:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] fonts.l:730:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_font [valueFlowBailoutIncompleteVar] fonts.c:1886:2: warning: Possible null pointer dereference: b [nullPointer] fonts.c:1779:18: note: Calling function 'afm_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 fonts.c:1886:2: note: Null pointer dereference fonts.c:1887:2: warning: Possible null pointer dereference: b [nullPointer] fonts.c:1779:18: note: Calling function 'afm_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 fonts.c:1887:2: note: Null pointer dereference fonts.c:1539:3: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] fonts.c:1539:3: note: c is initialized fonts.c:1539:3: note: c is overwritten fonts.l:202:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] fonts.c:1618:59: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] fonts.c:694:55: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. fonts.c:1618:59: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. fonts.c:1643:40: style:inconclusive: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. [funcArgNamesDifferent] fonts.c:996:40: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. fonts.c:1643:40: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. fonts.c:2071:46: style:inconclusive: Function 'afm_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. [funcArgNamesDifferent] fonts.c:649:46: note: Function 'afm_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. fonts.c:2071:46: note: Function 'afm_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. fonts.c:2084:46: style:inconclusive: Function 'afm_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. [funcArgNamesDifferent] fonts.c:650:45: note: Function 'afm_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. fonts.c:2084:46: note: Function 'afm_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. fonts.c:2084:60: style:inconclusive: Function 'afm_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. [funcArgNamesDifferent] fonts.c:650:56: note: Function 'afm_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. fonts.c:2084:60: note: Function 'afm_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. fonts.c:2216:24: style:inconclusive: Function 'afmset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. [funcArgNamesDifferent] fonts.c:960:24: note: Function 'afmset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. fonts.c:2216:24: note: Function 'afmset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. fonts.c:2299:27: style:inconclusive: Function 'afmalloc' argument 1 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] fonts.c:2304:26: style:inconclusive: Function 'afmrealloc' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] fonts.c:2304:42: style:inconclusive: Function 'afmrealloc' argument 2 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] fonts.c:2317:21: style:inconclusive: Function 'afmfree' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] fonts.c:1451:8: style: Variable 'source' can be declared as pointer to const [constVariablePointer] fonts.c:1658:9: style: Variable 'source' can be declared as pointer to const [constVariablePointer] fonts.l:127:10: style: Variable 'file' can be declared as pointer to const [constVariablePointer] fonts.l:207:11: style: Variable 'cursor' can be declared as pointer to const [constVariablePointer] fonts.l:218:11: style: Variable 'cursor' can be declared as pointer to const [constVariablePointer] fonts.l:230:11: style: Variable 'cursor' can be declared as pointer to const [constVariablePointer] fonts.l:241:11: style: Variable 'cursor' can be declared as pointer to const [constVariablePointer] fonts.l:325:21: style: Variable 'item' can be declared as pointer to const [constVariablePointer] fonts.l:470:51: style: Parameter 'job' can be declared as pointer to const [constParameterPointer] a2ps-4.15.8/liba2ps/gc-stubs.c:34:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.8/liba2ps/getnum.c:120:11: warning:inconclusive: Width 255 given in format string (no. 2) is smaller than destination buffer 'buf[512]'. [invalidScanfFormatWidth_smaller] a2ps-4.15.8/liba2ps/getnum.c:139:9: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] a2ps-4.15.8/liba2ps/getshline.c:89:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] a2ps-4.15.8/liba2ps/getshline.c:133:32: style:inconclusive: Function 'getshline_numbered' argument 1 names different: declaration '_firstline' definition 'firstline'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/getshline.h:46:31: note: Function 'getshline_numbered' argument 1 names different: declaration '_firstline' definition 'firstline'. a2ps-4.15.8/liba2ps/getshline.c:133:32: note: Function 'getshline_numbered' argument 1 names different: declaration '_firstline' definition 'firstline'. a2ps-4.15.8/liba2ps/getshline.c:133:54: style:inconclusive: Function 'getshline_numbered' argument 2 names different: declaration '_lastline' definition 'lastline'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/getshline.h:46:53: note: Function 'getshline_numbered' argument 2 names different: declaration '_lastline' definition 'lastline'. a2ps-4.15.8/liba2ps/getshline.c:133:54: note: Function 'getshline_numbered' argument 2 names different: declaration '_lastline' definition 'lastline'. a2ps-4.15.8/liba2ps/getshline.c:134:15: style:inconclusive: Function 'getshline_numbered' argument 3 names different: declaration '_lineptr' definition 'lineptr'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/getshline.h:47:28: note: Function 'getshline_numbered' argument 3 names different: declaration '_lineptr' definition 'lineptr'. a2ps-4.15.8/liba2ps/getshline.c:134:15: note: Function 'getshline_numbered' argument 3 names different: declaration '_lineptr' definition 'lineptr'. a2ps-4.15.8/liba2ps/getshline.c:134:33: style:inconclusive: Function 'getshline_numbered' argument 4 names different: declaration '_n' definition 'n'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/getshline.h:47:46: note: Function 'getshline_numbered' argument 4 names different: declaration '_n' definition 'n'. a2ps-4.15.8/liba2ps/getshline.c:134:33: note: Function 'getshline_numbered' argument 4 names different: declaration '_n' definition 'n'. a2ps-4.15.8/liba2ps/getshline.c:134:43: style:inconclusive: Function 'getshline_numbered' argument 5 names different: declaration '_stream' definition 'stream'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/getshline.h:48:27: note: Function 'getshline_numbered' argument 5 names different: declaration '_stream' definition 'stream'. a2ps-4.15.8/liba2ps/getshline.c:134:43: note: Function 'getshline_numbered' argument 5 names different: declaration '_stream' definition 'stream'. a2ps-4.15.8/liba2ps/getshline.c:141:20: style:inconclusive: Function 'getshline' argument 1 names different: declaration '_lineptr' definition 'lineptr'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/getshline.h:28:19: note: Function 'getshline' argument 1 names different: declaration '_lineptr' definition 'lineptr'. a2ps-4.15.8/liba2ps/getshline.c:141:20: note: Function 'getshline' argument 1 names different: declaration '_lineptr' definition 'lineptr'. a2ps-4.15.8/liba2ps/getshline.c:141:38: style:inconclusive: Function 'getshline' argument 2 names different: declaration '_n' definition 'n'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/getshline.h:28:37: note: Function 'getshline' argument 2 names different: declaration '_n' definition 'n'. a2ps-4.15.8/liba2ps/getshline.c:141:38: note: Function 'getshline' argument 2 names different: declaration '_n' definition 'n'. a2ps-4.15.8/liba2ps/getshline.c:141:48: style:inconclusive: Function 'getshline' argument 3 names different: declaration '_stream' definition 'stream'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/getshline.h:28:47: note: Function 'getshline' argument 3 names different: declaration '_stream' definition 'stream'. a2ps-4.15.8/liba2ps/getshline.c:141:48: note: Function 'getshline' argument 3 names different: declaration '_stream' definition 'stream'. a2ps-4.15.8/liba2ps/getshline.c:150:33: style:inconclusive: Function 'getshdelim_numbered' argument 1 names different: declaration '_firstline' definition 'firstline'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/getshline.h:51:32: note: Function 'getshdelim_numbered' argument 1 names different: declaration '_firstline' definition 'firstline'. a2ps-4.15.8/liba2ps/getshline.c:150:33: note: Function 'getshdelim_numbered' argument 1 names different: declaration '_firstline' definition 'firstline'. a2ps-4.15.8/liba2ps/getshline.c:150:55: style:inconclusive: Function 'getshdelim_numbered' argument 2 names different: declaration '_lastline' definition 'lastline'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/getshline.h:51:54: note: Function 'getshdelim_numbered' argument 2 names different: declaration '_lastline' definition 'lastline'. a2ps-4.15.8/liba2ps/getshline.c:150:55: note: Function 'getshdelim_numbered' argument 2 names different: declaration '_lastline' definition 'lastline'. a2ps-4.15.8/liba2ps/getshline.c:151:16: style:inconclusive: Function 'getshdelim_numbered' argument 3 names different: declaration '_lineptr' definition 'lineptr'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/getshline.h:52:29: note: Function 'getshdelim_numbered' argument 3 names different: declaration '_lineptr' definition 'lineptr'. a2ps-4.15.8/liba2ps/getshline.c:151:16: note: Function 'getshdelim_numbered' argument 3 names different: declaration '_lineptr' definition 'lineptr'. a2ps-4.15.8/liba2ps/getshline.c:151:34: style:inconclusive: Function 'getshdelim_numbered' argument 4 names different: declaration '_n' definition 'n'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/getshline.h:52:47: note: Function 'getshdelim_numbered' argument 4 names different: declaration '_n' definition 'n'. a2ps-4.15.8/liba2ps/getshline.c:151:34: note: Function 'getshdelim_numbered' argument 4 names different: declaration '_n' definition 'n'. a2ps-4.15.8/liba2ps/getshline.c:152:12: style:inconclusive: Function 'getshdelim_numbered' argument 5 names different: declaration '_delimiter' definition 'delimiter'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/getshline.h:53:26: note: Function 'getshdelim_numbered' argument 5 names different: declaration '_delimiter' definition 'delimiter'. a2ps-4.15.8/liba2ps/getshline.c:152:12: note: Function 'getshdelim_numbered' argument 5 names different: declaration '_delimiter' definition 'delimiter'. a2ps-4.15.8/liba2ps/getshline.c:152:27: style:inconclusive: Function 'getshdelim_numbered' argument 6 names different: declaration '_delimiter_quote' definition 'delimiter_quote'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/getshline.h:53:42: note: Function 'getshdelim_numbered' argument 6 names different: declaration '_delimiter_quote' definition 'delimiter_quote'. a2ps-4.15.8/liba2ps/getshline.c:152:27: note: Function 'getshdelim_numbered' argument 6 names different: declaration '_delimiter_quote' definition 'delimiter_quote'. a2ps-4.15.8/liba2ps/getshline.c:152:48: style:inconclusive: Function 'getshdelim_numbered' argument 7 names different: declaration '_commentor' definition 'commentor'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/getshline.h:54:26: note: Function 'getshdelim_numbered' argument 7 names different: declaration '_commentor' definition 'commentor'. a2ps-4.15.8/liba2ps/getshline.c:152:48: note: Function 'getshdelim_numbered' argument 7 names different: declaration '_commentor' definition 'commentor'. a2ps-4.15.8/liba2ps/getshline.c:153:15: style:inconclusive: Function 'getshdelim_numbered' argument 8 names different: declaration '_stream' definition 'stream'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/getshline.h:54:44: note: Function 'getshdelim_numbered' argument 8 names different: declaration '_stream' definition 'stream'. a2ps-4.15.8/liba2ps/getshline.c:153:15: note: Function 'getshdelim_numbered' argument 8 names different: declaration '_stream' definition 'stream'. a2ps-4.15.8/liba2ps/getshline.c:160:21: style:inconclusive: Function 'getshdelim' argument 1 names different: declaration '_lineptr' definition 'lineptr'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/getshline.h:31:20: note: Function 'getshdelim' argument 1 names different: declaration '_lineptr' definition 'lineptr'. a2ps-4.15.8/liba2ps/getshline.c:160:21: note: Function 'getshdelim' argument 1 names different: declaration '_lineptr' definition 'lineptr'. a2ps-4.15.8/liba2ps/getshline.c:160:39: style:inconclusive: Function 'getshdelim' argument 2 names different: declaration '_n' definition 'n'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/getshline.h:31:38: note: Function 'getshdelim' argument 2 names different: declaration '_n' definition 'n'. a2ps-4.15.8/liba2ps/getshline.c:160:39: note: Function 'getshdelim' argument 2 names different: declaration '_n' definition 'n'. a2ps-4.15.8/liba2ps/getshline.c:161:10: style:inconclusive: Function 'getshdelim' argument 3 names different: declaration '_delimiter' definition 'delimiter'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/getshline.h:32:11: note: Function 'getshdelim' argument 3 names different: declaration '_delimiter' definition 'delimiter'. a2ps-4.15.8/liba2ps/getshline.c:161:10: note: Function 'getshdelim' argument 3 names different: declaration '_delimiter' definition 'delimiter'. a2ps-4.15.8/liba2ps/getshline.c:161:25: style:inconclusive: Function 'getshdelim' argument 4 names different: declaration '_delimiter_quote' definition 'delimiter_quote'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/getshline.h:32:27: note: Function 'getshdelim' argument 4 names different: declaration '_delimiter_quote' definition 'delimiter_quote'. a2ps-4.15.8/liba2ps/getshline.c:161:25: note: Function 'getshdelim' argument 4 names different: declaration '_delimiter_quote' definition 'delimiter_quote'. a2ps-4.15.8/liba2ps/getshline.c:161:46: style:inconclusive: Function 'getshdelim' argument 5 names different: declaration '_commentor' definition 'commentor'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/getshline.h:32:49: note: Function 'getshdelim' argument 5 names different: declaration '_commentor' definition 'commentor'. a2ps-4.15.8/liba2ps/getshline.c:161:46: note: Function 'getshdelim' argument 5 names different: declaration '_commentor' definition 'commentor'. a2ps-4.15.8/liba2ps/getshline.c:162:13: style:inconclusive: Function 'getshdelim' argument 6 names different: declaration '_stream' definition 'stream'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/getshline.h:33:13: note: Function 'getshdelim' argument 6 names different: declaration '_stream' definition 'stream'. a2ps-4.15.8/liba2ps/getshline.c:162:13: note: Function 'getshdelim' argument 6 names different: declaration '_stream' definition 'stream'. a2ps-4.15.8/liba2ps/hashtab.c:45:37: style:inconclusive: Function 'hash_init' argument 4 names different: declaration '' definition 'hash_2'. [funcArgNamesDifferentUnnamed] a2ps-4.15.8/liba2ps/hashtab.c:45:61: style:inconclusive: Function 'hash_init' argument 5 names different: declaration '' definition 'hash_cmp'. [funcArgNamesDifferentUnnamed] a2ps-4.15.8/liba2ps/hashtab.c:257:47: style:inconclusive: Function 'hash_dump_select' argument 4 names different: declaration '' definition 'compare'. [funcArgNamesDifferentUnnamed] a2ps-4.15.8/liba2ps/hashtab.c:291:20: style:inconclusive: Function 'hash_maparg' argument 3 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] a2ps-4.15.8/liba2ps/hashtab.c:291:37: style:inconclusive: Function 'hash_maparg' argument 4 names different: declaration '' definition 'compare'. [funcArgNamesDifferentUnnamed] lexppd.c:1096:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] lexppd.c:1746:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] lexppd.c:2089:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lexppd.c:2327:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] lexppd.c:2093:2: warning: Possible null pointer dereference: b [nullPointer] lexppd.c:1986:18: note: Calling function 'ppd_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 lexppd.c:2093:2: note: Null pointer dereference lexppd.c:2094:2: warning: Possible null pointer dereference: b [nullPointer] lexppd.c:1986:18: note: Calling function 'ppd_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 lexppd.c:2094:2: note: Null pointer dereference lexppd.c:1746:3: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] lexppd.c:1746:3: note: c is initialized lexppd.c:1746:3: note: c is overwritten lexppd.l:104:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexppd.l:109:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexppd.l:114:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexppd.l:119:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexppd.l:126:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexppd.l:131:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexppd.l:137:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexppd.l:155:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexppd.l:262:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexppd.c:1825:59: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] lexppd.c:656:55: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. lexppd.c:1825:59: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. lexppd.c:1850:40: style:inconclusive: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. [funcArgNamesDifferent] lexppd.c:955:40: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. lexppd.c:1850:40: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. lexppd.c:2278:46: style:inconclusive: Function 'ppd_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. [funcArgNamesDifferent] lexppd.c:611:46: note: Function 'ppd_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. lexppd.c:2278:46: note: Function 'ppd_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. lexppd.c:2291:46: style:inconclusive: Function 'ppd_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. [funcArgNamesDifferent] lexppd.c:612:45: note: Function 'ppd_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. lexppd.c:2291:46: note: Function 'ppd_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. lexppd.c:2291:60: style:inconclusive: Function 'ppd_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. [funcArgNamesDifferent] lexppd.c:612:56: note: Function 'ppd_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. lexppd.c:2291:60: note: Function 'ppd_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. lexppd.c:2423:24: style:inconclusive: Function 'ppdset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. [funcArgNamesDifferent] lexppd.c:919:24: note: Function 'ppdset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. lexppd.c:2423:24: note: Function 'ppdset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. lexppd.c:2506:27: style:inconclusive: Function 'ppdalloc' argument 1 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] lexppd.c:2511:26: style:inconclusive: Function 'ppdrealloc' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] lexppd.c:2511:42: style:inconclusive: Function 'ppdrealloc' argument 2 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] lexppd.c:2524:21: style:inconclusive: Function 'ppdfree' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] lexppd.c:1658:8: style: Variable 'source' can be declared as pointer to const [constVariablePointer] lexppd.c:1865:9: style: Variable 'source' can be declared as pointer to const [constVariablePointer] lexppd.l:161:11: style: Variable 'cursor' can be declared as pointer to const [constVariablePointer] lexppd.l:173:11: style: Variable 'cursor' can be declared as pointer to const [constVariablePointer] lexppd.l:268:11: style: Variable 'cursor' can be declared as pointer to const [constVariablePointer] lexppd.l:280:11: style: Variable 'cursor' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/lister.c:301:66: style:inconclusive: Function 'lister_fprint_vertical' argument 2 names different: declaration 'stream' definition 'unused'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/lister.h:56:36: note: Function 'lister_fprint_vertical' argument 2 names different: declaration 'stream' definition 'unused'. a2ps-4.15.8/liba2ps/lister.c:301:66: note: Function 'lister_fprint_vertical' argument 2 names different: declaration 'stream' definition 'unused'. a2ps-4.15.8/liba2ps/lister.c:304:19: style:inconclusive: Function 'lister_fprint_vertical' argument 6 names different: declaration '' definition 'item_print_fn'. [funcArgNamesDifferentUnnamed] a2ps-4.15.8/liba2ps/lister.c:451:68: style:inconclusive: Function 'lister_fprint_horizontal' argument 2 names different: declaration 'stream' definition 'unused'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/lister.h:51:35: note: Function 'lister_fprint_horizontal' argument 2 names different: declaration 'stream' definition 'unused'. a2ps-4.15.8/liba2ps/lister.c:451:68: note: Function 'lister_fprint_horizontal' argument 2 names different: declaration 'stream' definition 'unused'. a2ps-4.15.8/liba2ps/lister.c:454:21: style:inconclusive: Function 'lister_fprint_horizontal' argument 6 names different: declaration '' definition 'item_print_fn'. [funcArgNamesDifferentUnnamed] a2ps-4.15.8/liba2ps/lister.c:545:67: style:inconclusive: Function 'lister_fprint_separated' argument 2 names different: declaration 'stream' definition 'unused'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/lister.h:61:36: note: Function 'lister_fprint_separated' argument 2 names different: declaration 'stream' definition 'unused'. a2ps-4.15.8/liba2ps/lister.c:545:67: note: Function 'lister_fprint_separated' argument 2 names different: declaration 'stream' definition 'unused'. a2ps-4.15.8/liba2ps/lister.c:548:20: style:inconclusive: Function 'lister_fprint_separated' argument 6 names different: declaration '' definition 'item_print_fn'. [funcArgNamesDifferentUnnamed] a2ps-4.15.8/liba2ps/lister.c:315:21: style: Variable 'm' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/lister.c:464:21: style: Variable 'm' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/lister.c:553:22: style: Variable 's' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/message.c:75:21: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] a2ps-4.15.8/liba2ps/message.c:81:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] a2ps-4.15.8/liba2ps/pair_ht.c:325:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] a2ps-4.15.8/liba2ps/pair_ht.c:331:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] a2ps-4.15.8/liba2ps/pair_ht.c:340:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] a2ps-4.15.8/liba2ps/pair_ht.c:346:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] a2ps-4.15.8/liba2ps/pair_ht.c:231:23: style:inconclusive: Function 'pair_table_map' argument 3 names different: declaration '' definition 'select_fn'. [funcArgNamesDifferentUnnamed] a2ps-4.15.8/liba2ps/pair_ht.c:232:16: style:inconclusive: Function 'pair_table_map' argument 4 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] a2ps-4.15.8/liba2ps/pair_ht.c:49:27: style: Parameter 'pair' can be declared as pointer to const. However it seems that 'pair_hash_1' is a callback function, if 'pair' is declared with const you might also need to cast function pointer(s). [constParameterCallback] a2ps-4.15.8/liba2ps/pair_ht.c:102:21: note: You might need to cast the function pointer here a2ps-4.15.8/liba2ps/pair_ht.c:49:27: note: Parameter 'pair' can be declared as pointer to const a2ps-4.15.8/liba2ps/pair_ht.c:55:27: style: Parameter 'pair' can be declared as pointer to const. However it seems that 'pair_hash_2' is a callback function, if 'pair' is declared with const you might also need to cast function pointer(s). [constParameterCallback] a2ps-4.15.8/liba2ps/pair_ht.c:103:21: note: You might need to cast the function pointer here a2ps-4.15.8/liba2ps/pair_ht.c:55:27: note: Parameter 'pair' can be declared as pointer to const a2ps-4.15.8/liba2ps/pair_ht.c:61:29: style: Parameter 'x' can be declared as pointer to const. However it seems that 'pair_hash_cmp' is a callback function, if 'x' is declared with const you might also need to cast function pointer(s). [constParameterCallback] a2ps-4.15.8/liba2ps/pair_ht.c:104:25: note: You might need to cast the function pointer here a2ps-4.15.8/liba2ps/pair_ht.c:61:29: note: Parameter 'x' can be declared as pointer to const a2ps-4.15.8/liba2ps/pair_ht.c:61:45: style: Parameter 'y' can be declared as pointer to const. However it seems that 'pair_hash_cmp' is a callback function, if 'y' is declared with const you might also need to cast function pointer(s). [constParameterCallback] a2ps-4.15.8/liba2ps/pair_ht.c:104:25: note: You might need to cast the function pointer here a2ps-4.15.8/liba2ps/pair_ht.c:61:45: note: Parameter 'y' can be declared as pointer to const a2ps-4.15.8/liba2ps/pair_ht.c:78:29: style: Parameter 'pair' can be declared as pointer to const. However it seems that 'pair_key_len' is a callback function, if 'pair' is declared with const you might also need to cast function pointer(s). [constParameterCallback] a2ps-4.15.8/liba2ps/pair_ht.c:263:23: note: You might need to cast the function pointer here a2ps-4.15.8/liba2ps/pair_ht.c:78:29: note: Parameter 'pair' can be declared as pointer to const a2ps-4.15.8/liba2ps/pair_ht.c:85:31: style: Parameter 'pair' can be declared as pointer to const. However it seems that 'pair_key_fputs' is a callback function, if 'pair' is declared with const you might also need to cast function pointer(s). [constParameterCallback] a2ps-4.15.8/liba2ps/pair_ht.c:264:23: note: You might need to cast the function pointer here a2ps-4.15.8/liba2ps/pair_ht.c:85:31: note: Parameter 'pair' can be declared as pointer to const a2ps-4.15.8/liba2ps/pair_ht.c:169:17: style: Variable 'item' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/pair_ht.c:186:17: style: Variable 'item' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/pair_ht.c:200:17: style: Variable 'item' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/pair_ht.c:214:17: style: Variable 'item' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/pair_ht.c:322:19: style: Variable 'token2' can be declared as pointer to const [constVariablePointer] parseppd.c:847:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parseppd.c:874:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parseppd.c:936:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parseppd.c:999:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parseppd.y:154:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ppdfilename [valueFlowBailoutIncompleteVar] parseppd.c:1020:3: style: The comparison '0 <= yystate' is always true. [knownConditionTrueFalse] parseppd.c:962:31: note: 'yystate' is assigned value '0' here. parseppd.c:1020:3: note: The comparison '0 <= yystate' is always true. parseppd.c:845:29: style: Parameter 'yybottom' can be declared as pointer to const [constParameterPointer] parseppd.c:845:51: style: Parameter 'yytop' can be declared as pointer to const [constParameterPointer] parseppd.c:868:30: style: Parameter 'yyssp' can be declared as pointer to const [constParameterPointer] a2ps-4.15.8/liba2ps/printlen.h:27:1: error: There is an unknown macro here somewhere. Configuration is required. If _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM is a macro then please configure it. [unknownMacro] a2ps-4.15.8/liba2ps/regex.c:4854:25: debug: Function::addArguments found argument 'end' with varid 0. [varid0] a2ps-4.15.8/liba2ps/regex.c:4963:24: debug: Function::addArguments found argument 'end' with varid 0. [varid0] a2ps-4.15.8/liba2ps/regex.c:5000:25: debug: Function::addArguments found argument 'end' with varid 0. [varid0] a2ps-4.15.8/liba2ps/regex.c:1711:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] a2ps-4.15.8/liba2ps/regex.c:2797:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_NO_BK_PARENS [valueFlowBailoutIncompleteVar] a2ps-4.15.8/liba2ps/regex.c:2817:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_NO_BK_PARENS [valueFlowBailoutIncompleteVar] a2ps-4.15.8/liba2ps/regex.c:2869:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ERANGE [valueFlowBailoutIncompleteVar] a2ps-4.15.8/liba2ps/regex.c:3030:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_DOT_NEWLINE [valueFlowBailoutIncompleteVar] a2ps-4.15.8/liba2ps/regex.c:3193:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_REALLOCATE [valueFlowBailoutIncompleteVar] a2ps-4.15.8/liba2ps/regex.c:3834:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_UNALLOCATED [valueFlowBailoutIncompleteVar] a2ps-4.15.8/liba2ps/regex.c:4861:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end [valueFlowBailoutIncompleteVar] a2ps-4.15.8/liba2ps/regex.c:4969:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end [valueFlowBailoutIncompleteVar] a2ps-4.15.8/liba2ps/regex.c:5024:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end [valueFlowBailoutIncompleteVar] a2ps-4.15.8/liba2ps/regex.c:5118:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_UNALLOCATED [valueFlowBailoutIncompleteVar] a2ps-4.15.8/liba2ps/regex.c:2367:19: style: Redundant condition: syntax&RE_INTERVALS. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] a2ps-4.15.8/liba2ps/regex.c:1746:26: error: Memory leak: compile_stack.stack [memleak] a2ps-4.15.8/liba2ps/regex.c:4568:13: style: Variable 'reg_dummy[this_reg]' is reassigned a value before the old one has been used. [redundantAssignment] a2ps-4.15.8/liba2ps/regex.c:4568:13: note: reg_dummy[this_reg] is assigned a2ps-4.15.8/liba2ps/regex.c:4568:13: note: reg_dummy[this_reg] is overwritten a2ps-4.15.8/liba2ps/regex.c:2817:34: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] a2ps-4.15.8/liba2ps/regex.c:2820:32: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] a2ps-4.15.8/liba2ps/regex.c:2888:40: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] a2ps-4.15.8/liba2ps/regex.c:1768:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:1783:16: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:1876:17: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:1901:13: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:1915:17: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:1925:11: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:1937:6: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:1943:13: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:1951:13: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:2232:19: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:2264:19: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:2310:21: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:2326:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:2354:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:2441:22: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:2460:22: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:2535:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:2543:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:2550:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:2556:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:2562:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:2568:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:2574:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:2580:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:2598:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:2646:8: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:2650:4: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:2668:5: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:3261:18: style: Variable 'fastmap' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:3546:18: style: Variable 'just_past_start_mem' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:4564:28: style: Variable 'pdummy' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/regex.c:4568:13: style: Variable 'sdummy' is assigned a value that is never used. [unreadVariable] a2ps-4.15.8/liba2ps/regex.c:4568:13: style: Variable 'pdummy' is assigned a value that is never used. [unreadVariable] a2ps-4.15.8/liba2ps/regex.c:4187:19: style: Unused variable: destination [unusedVariable] a2ps-4.15.8/liba2ps/regex.c:4341:11: style: Unused variable: destination [unusedVariable] a2ps-4.15.8/liba2ps/regex.c:4398:11: style: Unused variable: destination [unusedVariable] a2ps-4.15.8/liba2ps/regex.c:4611:11: style: Unused variable: destination [unusedVariable] a2ps-4.15.8/liba2ps/regex.c:4624:11: style: Unused variable: destination [unusedVariable] a2ps-4.15.8/liba2ps/routines.c:115:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] a2ps-4.15.8/liba2ps/routines.c:148:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] a2ps-4.15.8/liba2ps/routines.c:178:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] a2ps-4.15.8/liba2ps/routines.c:193:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] a2ps-4.15.8/liba2ps/routines.c:206:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] a2ps-4.15.8/liba2ps/routines.c:236:2: error: Common realloc mistake: 'tempfiles' nulled but not freed upon failure [memleakOnRealloc] a2ps-4.15.8/liba2ps/routines.c:144:22: style:inconclusive: Function 'xpopen' argument 1 names different: declaration 'command' definition 'filename'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/routines.h:155:29: note: Function 'xpopen' argument 1 names different: declaration 'command' definition 'filename'. a2ps-4.15.8/liba2ps/routines.c:144:22: note: Function 'xpopen' argument 1 names different: declaration 'command' definition 'filename'. a2ps-4.15.8/liba2ps/routines.c:160:23: style:inconclusive: Function 'xrpopen' argument 1 names different: declaration 'command' definition 'filename'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/routines.h:158:30: note: Function 'xrpopen' argument 1 names different: declaration 'command' definition 'filename'. a2ps-4.15.8/liba2ps/routines.c:160:23: note: Function 'xrpopen' argument 1 names different: declaration 'command' definition 'filename'. a2ps-4.15.8/liba2ps/routines.c:166:23: style:inconclusive: Function 'xwpopen' argument 1 names different: declaration 'command' definition 'filename'. [funcArgNamesDifferent] a2ps-4.15.8/liba2ps/routines.h:159:30: note: Function 'xwpopen' argument 1 names different: declaration 'command' definition 'filename'. a2ps-4.15.8/liba2ps/routines.c:166:23: note: Function 'xwpopen' argument 1 names different: declaration 'command' definition 'filename'. a2ps-4.15.8/liba2ps/routines.c:227:26: style:inconclusive: Function 'safe_tempnam' argument 1 names different: declaration '' definition 'pfx'. [funcArgNamesDifferentUnnamed] a2ps-4.15.8/liba2ps/str_ht.c:34:22: style: Parameter 'string' can be declared as pointer to const. However it seems that 'string_hash_1' is a callback function, if 'string' is declared with const you might also need to cast function pointer(s). [constParameterCallback] a2ps-4.15.8/liba2ps/str_ht.c:70:21: note: You might need to cast the function pointer here a2ps-4.15.8/liba2ps/str_ht.c:34:22: note: Parameter 'string' can be declared as pointer to const a2ps-4.15.8/liba2ps/str_ht.c:40:22: style: Parameter 'string' can be declared as pointer to const. However it seems that 'string_hash_2' is a callback function, if 'string' is declared with const you might also need to cast function pointer(s). [constParameterCallback] a2ps-4.15.8/liba2ps/str_ht.c:71:21: note: You might need to cast the function pointer here a2ps-4.15.8/liba2ps/str_ht.c:40:22: note: Parameter 'string' can be declared as pointer to const a2ps-4.15.8/liba2ps/str_ht.c:46:24: style: Parameter 'x' can be declared as pointer to const. However it seems that 'string_hash_cmp' is a callback function, if 'x' is declared with const you might also need to cast function pointer(s). [constParameterCallback] a2ps-4.15.8/liba2ps/str_ht.c:72:25: note: You might need to cast the function pointer here a2ps-4.15.8/liba2ps/str_ht.c:46:24: note: Parameter 'x' can be declared as pointer to const a2ps-4.15.8/liba2ps/str_ht.c:46:33: style: Parameter 'y' can be declared as pointer to const. However it seems that 'string_hash_cmp' is a callback function, if 'y' is declared with const you might also need to cast function pointer(s). [constParameterCallback] a2ps-4.15.8/liba2ps/str_ht.c:72:25: note: You might need to cast the function pointer here a2ps-4.15.8/liba2ps/str_ht.c:46:33: note: Parameter 'y' can be declared as pointer to const a2ps-4.15.8/liba2ps/stream.c:42:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] a2ps-4.15.8/liba2ps/stream.c:73:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] a2ps-4.15.8/liba2ps/stream.c:84:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_backups [valueFlowBailoutIncompleteVar] a2ps-4.15.8/liba2ps/stream.c:115:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] a2ps-4.15.8/liba2ps/stream.c:135:9: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] a2ps-4.15.8/liba2ps/title.h:31:1: error: There is an unknown macro here somewhere. Configuration is required. If _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM is a macro then please configure it. [unknownMacro] a2ps-4.15.8/liba2ps/tterm.c:108:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LONGINT_OK [valueFlowBailoutIncompleteVar] a2ps-4.15.8/liba2ps/tterm.c:70:17: style: Variable 't' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/tterm.c:91:17: style: Variable 't' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/userdata.c:35:12: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] a2ps-4.15.8/liba2ps/userdata.c:70:12: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] a2ps-4.15.8/liba2ps/userdata.c:88:12: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] a2ps-4.15.8/liba2ps/userdata.c:31:18: style: Variable 'passwd' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/liba2ps/xbackupfile.c:42:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] a2ps-4.15.8/liba2ps/xbackupfile.c:92:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] a2ps-4.15.8/liba2ps/xbackupfile.c:141:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.8/liba2ps/xbackupfile.c:105:10: style: Variable 'backup' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/src/buffer.c:194:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/buffer.c:291:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/buffer.c:450:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/buffer.c:178:48: style:inconclusive: Function 'buffer_set_lower_case' argument 2 names different: declaration 'lower_case' definition 'sensitive'. [funcArgNamesDifferent] a2ps-4.15.8/src/buffer.h:83:53: note: Function 'buffer_set_lower_case' argument 2 names different: declaration 'lower_case' definition 'sensitive'. a2ps-4.15.8/src/buffer.c:178:48: note: Function 'buffer_set_lower_case' argument 2 names different: declaration 'lower_case' definition 'sensitive'. a2ps-4.15.8/src/buffer.c:304:13: style: Variable 'd' is assigned a value that is never used. [unreadVariable] a2ps-4.15.8/src/buffer.c:341:13: style: Variable 'd' is assigned a value that is never used. [unreadVariable] a2ps-4.15.8/src/buffer.c:389:18: style: Variable 'line_ended_p' is assigned a value that is never used. [unreadVariable] a2ps-4.15.8/src/delegate.c:88:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash_table_s [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/delegate.c:222:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_file [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/delegate.c:122:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] a2ps-4.15.8/src/delegate.c:126:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] a2ps-4.15.8/src/delegate.c:128:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] a2ps-4.15.8/src/delegate.c:133:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] a2ps-4.15.8/src/delegate.c:277:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] a2ps-4.15.8/src/delegate.c:282:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] a2ps-4.15.8/src/delegate.c:291:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] a2ps-4.15.8/src/delegate.c:292:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] a2ps-4.15.8/src/delegate.c:357:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] a2ps-4.15.8/src/delegate.c:358:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] a2ps-4.15.8/src/delegate.c:364:1: error: Memory leak: cp [memleak] a2ps-4.15.8/src/delegate.c:124:29: warning: Either the condition 'cp==NULL' is redundant or there is possible null pointer dereference: cp. [nullPointerRedundantCheck] a2ps-4.15.8/src/delegate.c:123:3: note: Assuming that condition 'cp==NULL' is not redundant a2ps-4.15.8/src/delegate.c:124:29: note: Null pointer dereference a2ps-4.15.8/src/delegate.c:130:56: warning: Either the condition 'cp2==NULL' is redundant or there is possible null pointer dereference: cp2. [nullPointerRedundantCheck] a2ps-4.15.8/src/delegate.c:129:3: note: Assuming that condition 'cp2==NULL' is not redundant a2ps-4.15.8/src/delegate.c:130:56: note: Null pointer dereference a2ps-4.15.8/src/delegate.c:131:45: warning: Either the condition 'cp2==NULL' is redundant or there is possible null pointer dereference: cp2. [nullPointerRedundantCheck] a2ps-4.15.8/src/delegate.c:129:3: note: Assuming that condition 'cp2==NULL' is not redundant a2ps-4.15.8/src/delegate.c:131:45: note: Null pointer dereference a2ps-4.15.8/src/delegate.c:135:45: warning: Either the condition 'cp==NULL' is redundant or there is possible null pointer dereference: cp. [nullPointerRedundantCheck] a2ps-4.15.8/src/delegate.c:134:3: note: Assuming that condition 'cp==NULL' is not redundant a2ps-4.15.8/src/delegate.c:135:45: note: Null pointer dereference a2ps-4.15.8/src/delegate.c:135:35: warning: Either the condition 'cp==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] a2ps-4.15.8/src/delegate.c:134:3: note: Assuming that condition 'cp==NULL' is not redundant a2ps-4.15.8/src/delegate.c:135:35: note: Null pointer addition a2ps-4.15.8/src/delegate.c:187:31: style:inconclusive: Function 'subcontract' argument 1 names different: declaration 'file' definition 'fjob'. [funcArgNamesDifferent] a2ps-4.15.8/src/delegate.h:44:36: note: Function 'subcontract' argument 1 names different: declaration 'file' definition 'fjob'. a2ps-4.15.8/src/delegate.c:187:31: note: Function 'subcontract' argument 1 names different: declaration 'file' definition 'fjob'. a2ps-4.15.8/src/delegate.c:71:39: style: Parameter 'delegation' can be declared as pointer to const. However it seems that 'delegate_name_len' is a callback function, if 'delegation' is declared with const you might also need to cast function pointer(s). [constParameterCallback] a2ps-4.15.8/src/delegate.c:404:44: note: You might need to cast the function pointer here a2ps-4.15.8/src/delegate.c:71:39: note: Parameter 'delegation' can be declared as pointer to const a2ps-4.15.8/src/delegate.c:77:41: style: Parameter 'delegation' can be declared as pointer to const. However it seems that 'delegate_name_fputs' is a callback function, if 'delegation' is declared with const you might also need to cast function pointer(s). [constParameterCallback] a2ps-4.15.8/src/delegate.c:405:44: note: You might need to cast the function pointer here a2ps-4.15.8/src/delegate.c:77:41: note: Parameter 'delegation' can be declared as pointer to const a2ps-4.15.8/src/delegate.c:115:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/src/delegate.c:115:14: style: Variable 'cp2' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/src/delegate.c:353:50: style: Parameter 'contract' can be declared as pointer to const [constParameterPointer] a2ps-4.15.8/src/delegate.c:355:14: style: Variable 'cp2' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/src/ffaces.c:89:34: style:inconclusive: Function 'fface_self_print' argument 1 names different: declaration 'face' definition 'fface'. [funcArgNamesDifferent] a2ps-4.15.8/src/ffaces.h:65:39: note: Function 'fface_self_print' argument 1 names different: declaration 'face' definition 'fface'. a2ps-4.15.8/src/ffaces.c:89:34: note: Function 'fface_self_print' argument 1 names different: declaration 'face' definition 'fface'. a2ps-4.15.8/src/generate.c:67:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/generate.c:135:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/generate.c:158:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_report2 [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/generate.c:198:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_report1 [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/generate.c:230:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_report1 [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/generate.c:291:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_file [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/generate.c:373:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/generate.c:101:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] a2ps-4.15.8/src/generate.c:183:35: style:inconclusive: Function 'msg_job_pages_printed' argument 1 names different: declaration 'job' definition 'Job'. [funcArgNamesDifferent] a2ps-4.15.8/src/generate.h:25:40: note: Function 'msg_job_pages_printed' argument 1 names different: declaration 'job' definition 'Job'. a2ps-4.15.8/src/generate.c:183:35: note: Function 'msg_job_pages_printed' argument 1 names different: declaration 'job' definition 'Job'. a2ps-4.15.8/src/generate.c:264:15: style:inconclusive: Function 'print' argument 1 names different: declaration 'name' definition 'filename'. [funcArgNamesDifferent] a2ps-4.15.8/src/generate.h:21:20: note: Function 'print' argument 1 names different: declaration 'name' definition 'filename'. a2ps-4.15.8/src/generate.c:264:15: note: Function 'print' argument 1 names different: declaration 'name' definition 'filename'. a2ps-4.15.8/src/generate.c:363:15: style:inconclusive: Function 'guess' argument 1 names different: declaration 'name' definition 'filename'. [funcArgNamesDifferent] a2ps-4.15.8/src/generate.h:28:20: note: Function 'guess' argument 1 names different: declaration 'name' definition 'filename'. a2ps-4.15.8/src/generate.c:363:15: note: Function 'guess' argument 1 names different: declaration 'name' definition 'filename'. a2ps-4.15.8/src/generate.c:56:14: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/src/generate.c:366:21: style: Variable 'file_job' can be declared as pointer to const [constVariablePointer] lexps.c:957:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] lexps.c:1293:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] lexps.c:1630:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lexps.c:1868:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] lexps.c:1634:2: warning: Possible null pointer dereference: b [nullPointer] lexps.c:1527:18: note: Calling function 'ps_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 lexps.c:1634:2: note: Null pointer dereference lexps.c:1635:2: warning: Possible null pointer dereference: b [nullPointer] lexps.c:1527:18: note: Calling function 'ps_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 lexps.c:1635:2: note: Null pointer dereference lexps.c:1293:3: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] lexps.c:1293:3: note: c is initialized lexps.c:1293:3: note: c is overwritten lexps.c:1373:59: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] lexps.c:630:55: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. lexps.c:1373:59: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. lexps.c:1398:40: style:inconclusive: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. [funcArgNamesDifferent] lexps.c:813:40: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. lexps.c:1398:40: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. lexps.c:1819:46: style:inconclusive: Function 'ps_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. [funcArgNamesDifferent] lexps.c:585:46: note: Function 'ps_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. lexps.c:1819:46: note: Function 'ps_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. lexps.c:1832:46: style:inconclusive: Function 'ps_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. [funcArgNamesDifferent] lexps.c:586:45: note: Function 'ps_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. lexps.c:1832:46: note: Function 'ps_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. lexps.c:1832:60: style:inconclusive: Function 'ps_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. [funcArgNamesDifferent] lexps.c:586:56: note: Function 'ps_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. lexps.c:1832:60: note: Function 'ps_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. lexps.c:1964:24: style:inconclusive: Function 'psset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. [funcArgNamesDifferent] lexps.c:777:24: note: Function 'psset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. lexps.c:1964:24: note: Function 'psset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. lexps.c:2044:27: style:inconclusive: Function 'psalloc' argument 1 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] lexps.c:2049:26: style:inconclusive: Function 'psrealloc' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] lexps.c:2049:42: style:inconclusive: Function 'psrealloc' argument 2 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] lexps.c:2062:21: style:inconclusive: Function 'psfree' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] lexps.c:1205:8: style: Variable 'source' can be declared as pointer to const [constVariablePointer] lexps.c:1413:9: style: Variable 'source' can be declared as pointer to const [constVariablePointer] lexssh.c:1544:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] lexssh.c:3057:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] lexssh.c:3400:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lexssh.c:3638:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] lexssh.c:3404:2: warning: Possible null pointer dereference: b [nullPointer] lexssh.c:3297:18: note: Calling function 'ssh_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 lexssh.c:3404:2: note: Null pointer dereference lexssh.c:3405:2: warning: Possible null pointer dereference: b [nullPointer] lexssh.c:3297:18: note: Calling function 'ssh_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 lexssh.c:3405:2: note: Null pointer dereference lexssh.c:3057:3: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] lexssh.c:3057:3: note: c is initialized lexssh.c:3057:3: note: c is overwritten lexssh.l:774:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexssh.l:856:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexssh.l:883:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexssh.l:918:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexssh.l:923:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexssh.l:928:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexssh.l:933:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexssh.l:938:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexssh.l:943:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexssh.l:948:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexssh.l:953:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexssh.l:978:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexssh.l:983:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexssh.l:988:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexssh.l:993:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexssh.l:998:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexssh.l:1003:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexssh.l:1008:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexssh.l:1013:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexssh.l:1018:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexssh.l:1023:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexssh.l:1030:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexssh.l:1035:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexssh.l:1052:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexssh.l:1173:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexssh.c:3136:59: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] lexssh.c:658:55: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. lexssh.c:3136:59: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. lexssh.c:3161:40: style:inconclusive: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. [funcArgNamesDifferent] lexssh.c:1403:40: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. lexssh.c:3161:40: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. lexssh.c:3589:46: style:inconclusive: Function 'ssh_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. [funcArgNamesDifferent] lexssh.c:613:46: note: Function 'ssh_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. lexssh.c:3589:46: note: Function 'ssh_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. lexssh.c:3602:46: style:inconclusive: Function 'ssh_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. [funcArgNamesDifferent] lexssh.c:614:45: note: Function 'ssh_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. lexssh.c:3602:46: note: Function 'ssh_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. lexssh.c:3602:60: style:inconclusive: Function 'ssh_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. [funcArgNamesDifferent] lexssh.c:614:56: note: Function 'ssh_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. lexssh.c:3602:60: note: Function 'ssh_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. lexssh.c:3734:24: style:inconclusive: Function 'sshset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. [funcArgNamesDifferent] lexssh.c:1367:24: note: Function 'sshset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. lexssh.c:3734:24: note: Function 'sshset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. lexssh.c:3817:27: style:inconclusive: Function 'sshalloc' argument 1 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] lexssh.c:3822:26: style:inconclusive: Function 'sshrealloc' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] lexssh.c:3822:42: style:inconclusive: Function 'sshrealloc' argument 2 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] lexssh.c:3835:21: style:inconclusive: Function 'sshfree' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] lexssh.c:2969:8: style: Variable 'source' can be declared as pointer to const [constVariablePointer] lexssh.c:3176:9: style: Variable 'source' can be declared as pointer to const [constVariablePointer] lexssh.l:767:9: style: Variable 'cursor' can be declared as pointer to const [constVariablePointer] lexssh.l:1058:11: style: Variable 'cursor' can be declared as pointer to const [constVariablePointer] lexssh.l:1070:11: style: Variable 'cursor' can be declared as pointer to const [constVariablePointer] lexssh.l:1179:11: style: Variable 'cursor' can be declared as pointer to const [constVariablePointer] lexssh.l:1191:11: style: Variable 'cursor' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/src/main.c:192:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG2STR_MAX [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/main.c:327:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/main.c:538:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/main.c:880:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_min_max [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/main.c:923:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_TIME [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/main.c:552:25: warning: If resource allocation fails, then there is a possible null pointer dereference: spy [nullPointerOutOfResources] a2ps-4.15.8/src/main.c:544:15: note: Assuming allocation function fails a2ps-4.15.8/src/main.c:544:15: note: Assignment 'spy=fopen(spyname,"w")', assigned value is 0 a2ps-4.15.8/src/main.c:552:25: note: Null pointer dereference a2ps-4.15.8/src/main.c:570:36: warning: If resource allocation fails, then there is a possible null pointer dereference: spy [nullPointerOutOfResources] a2ps-4.15.8/src/main.c:566:15: note: Assuming allocation function fails a2ps-4.15.8/src/main.c:566:15: note: Assignment 'spy=fopen(spyname,"r")', assigned value is 0 a2ps-4.15.8/src/main.c:570:36: note: Null pointer dereference a2ps-4.15.8/src/main.c:1046:10: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/src/main.c:1155:24: style: Variable 'file_job' can be declared as pointer to const [constVariablePointer] parsessh.c:1105:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parsessh.c:1132:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parsessh.c:1194:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parsessh.c:1257:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parsessh.y:737:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_file [valueFlowBailoutIncompleteVar] parsessh.c:2344:18: style: Condition '0<=yyi' is always true [knownConditionTrueFalse] parsessh.c:2343:36: note: Assignment 'yyi=yypgoto[yylhs]+*yyssp', assigned value is greater than -1 parsessh.c:2344:18: note: Condition '0<=yyi' is always true parsessh.c:1278:3: style: The comparison '0 <= yystate' is always true. [knownConditionTrueFalse] parsessh.c:1220:31: note: 'yystate' is assigned value '0' here. parsessh.c:1278:3: note: The comparison '0 <= yystate' is always true. parsessh.c:1070:70: style: Parameter 'yyvaluep' can be declared as pointer to const [constParameterPointer] parsessh.c:1103:29: style: Parameter 'yybottom' can be declared as pointer to const [constParameterPointer] parsessh.c:1103:51: style: Parameter 'yytop' can be declared as pointer to const [constParameterPointer] parsessh.c:1126:30: style: Parameter 'yyssp' can be declared as pointer to const [constParameterPointer] parsessh.c:1188:25: style: Parameter 'yymsg' can be declared as pointer to const [constParameterPointer] parsessh.y:744:7: style: Variable 'res' is assigned a value that is never used. [unreadVariable] a2ps-4.15.8/src/read.c:46:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/read.c:193:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Plain [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/read.c:191:36: style:inconclusive: Function 'plain_print_postscript' argument 1 names different: declaration 'job' definition 'Job'. [funcArgNamesDifferent] a2ps-4.15.8/src/read.h:25:48: note: Function 'plain_print_postscript' argument 1 names different: declaration 'job' definition 'Job'. a2ps-4.15.8/src/read.c:191:36: note: Function 'plain_print_postscript' argument 1 names different: declaration 'job' definition 'Job'. a2ps-4.15.8/src/select.c:93:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable da_linear [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/select.c:180:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_tool [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/select.c:256:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable on_file_verdict [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/select.c:208:11: warning: Either the condition 'cp' is redundant or there is possible null pointer dereference: cp. [nullPointerRedundantCheck] a2ps-4.15.8/src/select.c:213:11: note: Assuming that condition 'cp' is not redundant a2ps-4.15.8/src/select.c:208:11: note: Null pointer dereference a2ps-4.15.8/src/select.c:211:8: warning: Either the condition 'cp' is redundant or there is possible null pointer dereference: cp. [nullPointerRedundantCheck] a2ps-4.15.8/src/select.c:213:11: note: Assuming that condition 'cp' is not redundant a2ps-4.15.8/src/select.c:211:8: note: Null pointer dereference a2ps-4.15.8/src/select.c:98:65: style:inconclusive: Function 'sheets_map_add' argument 3 names different: declaration 'insenstive' definition 'insensitive_p'. [funcArgNamesDifferent] a2ps-4.15.8/src/select.h:35:9: note: Function 'sheets_map_add' argument 3 names different: declaration 'insenstive' definition 'insensitive_p'. a2ps-4.15.8/src/select.c:98:65: note: Function 'sheets_map_add' argument 3 names different: declaration 'insenstive' definition 'insensitive_p'. a2ps-4.15.8/src/select.c:112:10: style: Variable 'file' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/src/select.c:193:10: style: Variable 'res' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/src/select.c:229:9: style: Variable 'file_verdict' can be declared as pointer to const [constVariablePointer] sheets-map.c:1088:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] sheets-map.c:1655:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] sheets-map.c:1998:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sheets-map.c:2236:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sheets-map.l:223:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_file [valueFlowBailoutIncompleteVar] sheets-map.l:242:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_file [valueFlowBailoutIncompleteVar] sheets-map.c:2002:2: warning: Possible null pointer dereference: b [nullPointer] sheets-map.c:1895:18: note: Calling function 'smap_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 sheets-map.c:2002:2: note: Null pointer dereference sheets-map.c:2003:2: warning: Possible null pointer dereference: b [nullPointer] sheets-map.c:1895:18: note: Calling function 'smap_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 sheets-map.c:2003:2: note: Null pointer dereference sheets-map.c:1655:3: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] sheets-map.c:1655:3: note: c is initialized sheets-map.c:1655:3: note: c is overwritten sheets-map.l:175:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sheets-map.l:272:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sheets-map.c:1734:59: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] sheets-map.c:650:55: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. sheets-map.c:1734:59: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. sheets-map.c:1759:40: style:inconclusive: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. [funcArgNamesDifferent] sheets-map.c:947:40: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. sheets-map.c:1759:40: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. sheets-map.c:2187:46: style:inconclusive: Function 'smap_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. [funcArgNamesDifferent] sheets-map.c:605:46: note: Function 'smap_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. sheets-map.c:2187:46: note: Function 'smap_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. sheets-map.c:2200:46: style:inconclusive: Function 'smap_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. [funcArgNamesDifferent] sheets-map.c:606:45: note: Function 'smap_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. sheets-map.c:2200:46: note: Function 'smap_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. sheets-map.c:2200:60: style:inconclusive: Function 'smap_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. [funcArgNamesDifferent] sheets-map.c:606:56: note: Function 'smap_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. sheets-map.c:2200:60: note: Function 'smap_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. sheets-map.c:2332:24: style:inconclusive: Function 'smapset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. [funcArgNamesDifferent] sheets-map.c:911:24: note: Function 'smapset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. sheets-map.c:2332:24: note: Function 'smapset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. sheets-map.c:2415:27: style:inconclusive: Function 'smapalloc' argument 1 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] sheets-map.c:2420:26: style:inconclusive: Function 'smaprealloc' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] sheets-map.c:2420:42: style:inconclusive: Function 'smaprealloc' argument 2 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] sheets-map.c:2433:21: style:inconclusive: Function 'smapfree' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] sheets-map.c:1567:8: style: Variable 'source' can be declared as pointer to const [constVariablePointer] sheets-map.c:1774:9: style: Variable 'source' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/src/ssheet.c:160:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/ssheet.c:178:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable da_geometrical [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/ssheet.c:190:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable da_geometrical [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/ssheet.c:205:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable face [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/ssheet.c:270:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_pattern_buffer [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/ssheet.c:394:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable da_linear [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/ssheet.c:454:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable da_2_wins [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/ssheet.c:486:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable da_linear [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/ssheet.c:512:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable da_1_wins [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/ssheet.c:668:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable da_linear [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/ssheet.c:709:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_sheet [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/ssheet.c:730:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_sheet [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/ssheet.c:1110:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_sheet [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/ssheet.c:1162:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_sheet [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/ssheet.c:1193:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable word [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/ssheet.c:1278:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable word [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/ssheet.c:1353:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash_table [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/ssheet.c:1002:3: warning: Buffer 'version_index' is too small, the function 'style_sheets_versions' expects a bigger buffer in 2nd argument [argumentSize] a2ps-4.15.8/src/ssheet.c:1002:3: note: Function 'style_sheets_versions' is called a2ps-4.15.8/src/ssheet.c:1438:14: note: Declaration of 2nd function argument. a2ps-4.15.8/src/ssheet.c:998:13: note: Passing buffer 'version_index' to function that is declared here a2ps-4.15.8/src/ssheet.c:1002:3: note: Buffer 'version_index' is too small, the function 'style_sheets_versions' expects a bigger buffer in 2nd argument a2ps-4.15.8/src/ssheet.c:1002:3: warning: Buffer 'requirement' is too small, the function 'style_sheets_versions' expects a bigger buffer in 3rd argument [argumentSize] a2ps-4.15.8/src/ssheet.c:1002:3: note: Function 'style_sheets_versions' is called a2ps-4.15.8/src/ssheet.c:1438:27: note: Declaration of 3rd function argument. a2ps-4.15.8/src/ssheet.c:998:28: note: Passing buffer 'requirement' to function that is declared here a2ps-4.15.8/src/ssheet.c:1002:3: note: Buffer 'requirement' is too small, the function 'style_sheets_versions' expects a bigger buffer in 3rd argument a2ps-4.15.8/src/ssheet.c:1158:3: warning: Buffer 'version_index' is too small, the function 'style_sheets_versions' expects a bigger buffer in 2nd argument [argumentSize] a2ps-4.15.8/src/ssheet.c:1158:3: note: Function 'style_sheets_versions' is called a2ps-4.15.8/src/ssheet.c:1438:14: note: Declaration of 2nd function argument. a2ps-4.15.8/src/ssheet.c:1150:13: note: Passing buffer 'version_index' to function that is declared here a2ps-4.15.8/src/ssheet.c:1158:3: note: Buffer 'version_index' is too small, the function 'style_sheets_versions' expects a bigger buffer in 2nd argument a2ps-4.15.8/src/ssheet.c:1158:3: warning: Buffer 'requirement' is too small, the function 'style_sheets_versions' expects a bigger buffer in 3rd argument [argumentSize] a2ps-4.15.8/src/ssheet.c:1158:3: note: Function 'style_sheets_versions' is called a2ps-4.15.8/src/ssheet.c:1438:27: note: Declaration of 3rd function argument. a2ps-4.15.8/src/ssheet.c:1150:28: note: Passing buffer 'requirement' to function that is declared here a2ps-4.15.8/src/ssheet.c:1158:3: note: Buffer 'requirement' is too small, the function 'style_sheets_versions' expects a bigger buffer in 3rd argument a2ps-4.15.8/src/ssheet.c:693:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] a2ps-4.15.8/src/ssheet.c:698:26: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] a2ps-4.15.8/src/ssheet.c:713:24: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: key [nullPointerOutOfMemory] a2ps-4.15.8/src/ssheet.c:706:17: note: Assuming allocation function fails a2ps-4.15.8/src/ssheet.c:706:17: note: Assignment 'key=xstrdup(key)', assigned value is 0 a2ps-4.15.8/src/ssheet.c:713:24: note: Null pointer dereference a2ps-4.15.8/src/ssheet.c:106:62: style:inconclusive: Function 'faced_string_new' argument 3 names different: declaration 'fface' definition 'face'. [funcArgNamesDifferent] a2ps-4.15.8/src/ssheet.h:145:62: note: Function 'faced_string_new' argument 3 names different: declaration 'fface' definition 'face'. a2ps-4.15.8/src/ssheet.c:106:62: note: Function 'faced_string_new' argument 3 names different: declaration 'fface' definition 'face'. a2ps-4.15.8/src/ssheet.c:187:60: style:inconclusive: Function 'rhs_new_single' argument 3 names different: declaration 'fface' definition 'face'. [funcArgNamesDifferent] a2ps-4.15.8/src/ssheet.h:160:60: note: Function 'rhs_new_single' argument 3 names different: declaration 'fface' definition 'face'. a2ps-4.15.8/src/ssheet.c:187:60: note: Function 'rhs_new_single' argument 3 names different: declaration 'fface' definition 'face'. a2ps-4.15.8/src/ssheet.c:291:20: style:inconclusive: Function 'rule_new' argument 3 names different: declaration 'destination' definition 'rhs'. [funcArgNamesDifferent] a2ps-4.15.8/src/ssheet.h:169:21: note: Function 'rule_new' argument 3 names different: declaration 'destination' definition 'rhs'. a2ps-4.15.8/src/ssheet.c:291:20: note: Function 'rule_new' argument 3 names different: declaration 'destination' definition 'rhs'. a2ps-4.15.8/src/ssheet.c:315:21: style:inconclusive: Function 'keyword_rule_new' argument 3 names different: declaration 'destination' definition 'rhs'. [funcArgNamesDifferent] a2ps-4.15.8/src/ssheet.h:173:22: note: Function 'keyword_rule_new' argument 3 names different: declaration 'destination' definition 'rhs'. a2ps-4.15.8/src/ssheet.c:315:21: note: Function 'keyword_rule_new' argument 3 names different: declaration 'destination' definition 'rhs'. a2ps-4.15.8/src/ssheet.c:630:40: style:inconclusive: Function 'sequence_self_print' argument 1 names different: declaration 'v' definition 'tmp'. [funcArgNamesDifferent] a2ps-4.15.8/src/ssheet.h:188:45: note: Function 'sequence_self_print' argument 1 names different: declaration 'v' definition 'tmp'. a2ps-4.15.8/src/ssheet.c:630:40: note: Function 'sequence_self_print' argument 1 names different: declaration 'v' definition 'tmp'. a2ps-4.15.8/src/ssheet.c:912:32: style:inconclusive: Function 'list_style_sheets_long' argument 1 names different: declaration 'strea' definition 'stream'. [funcArgNamesDifferent] a2ps-4.15.8/src/ssheet.h:224:37: note: Function 'list_style_sheets_long' argument 1 names different: declaration 'strea' definition 'stream'. a2ps-4.15.8/src/ssheet.c:912:32: note: Function 'list_style_sheets_long' argument 1 names different: declaration 'strea' definition 'stream'. a2ps-4.15.8/src/ssheet.c:993:32: style:inconclusive: Function 'list_style_sheets_html' argument 1 names different: declaration 'strea' definition 'stream'. [funcArgNamesDifferent] a2ps-4.15.8/src/ssheet.h:225:37: note: Function 'list_style_sheets_html' argument 1 names different: declaration 'strea' definition 'stream'. a2ps-4.15.8/src/ssheet.c:993:32: note: Function 'list_style_sheets_html' argument 1 names different: declaration 'strea' definition 'stream'. a2ps-4.15.8/src/ssheet.c:1145:35: style:inconclusive: Function 'list_style_sheets_texinfo' argument 1 names different: declaration 'strea' definition 'stream'. [funcArgNamesDifferent] a2ps-4.15.8/src/ssheet.h:226:40: note: Function 'list_style_sheets_texinfo' argument 1 names different: declaration 'strea' definition 'stream'. a2ps-4.15.8/src/ssheet.c:1145:35: note: Function 'list_style_sheets_texinfo' argument 1 names different: declaration 'strea' definition 'stream'. a2ps-4.15.8/src/ssheet.c:1396:31: style:inconclusive: Function 'get_style_sheet' argument 1 names different: declaration 'name' definition 'key'. [funcArgNamesDifferent] a2ps-4.15.8/src/ssheet.h:215:52: note: Function 'get_style_sheet' argument 1 names different: declaration 'name' definition 'key'. a2ps-4.15.8/src/ssheet.c:1396:31: note: Function 'get_style_sheet' argument 1 names different: declaration 'name' definition 'key'. a2ps-4.15.8/src/ssheet.c:75:37: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] a2ps-4.15.8/src/ssheet.c:119:48: style: Parameter 'faced_string' can be declared as pointer to const. However it seems that 'faced_string_self_print' is a callback function, if 'faced_string' is declared with const you might also need to cast function pointer(s). [constParameterCallback] a2ps-4.15.8/src/ssheet.c:191:21: note: You might need to cast the function pointer here a2ps-4.15.8/src/ssheet.c:119:48: note: Parameter 'faced_string' can be declared as pointer to const a2ps-4.15.8/src/ssheet.c:342:25: style: Parameter 'k1' can be declared as pointer to const. However it seems that 'rule_cmp' is a callback function, if 'k1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] a2ps-4.15.8/src/ssheet.c:396:21: note: You might need to cast the function pointer here a2ps-4.15.8/src/ssheet.c:342:25: note: Parameter 'k1' can be declared as pointer to const a2ps-4.15.8/src/ssheet.c:342:43: style: Parameter 'k2' can be declared as pointer to const. However it seems that 'rule_cmp' is a callback function, if 'k2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] a2ps-4.15.8/src/ssheet.c:396:21: note: You might need to cast the function pointer here a2ps-4.15.8/src/ssheet.c:342:43: note: Parameter 'k2' can be declared as pointer to const a2ps-4.15.8/src/ssheet.c:682:31: style: Variable 'ancestor' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/src/ssheet.c:791:14: style: Variable 'path' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/src/ssheet.c:1365:24: style: Variable 'item' can be declared as pointer to const [constVariablePointer] a2ps-4.15.8/src/ssheet.c:1437:40: style: Parameter 'keys' can be declared as pointer to const [constParameterPointer] a2ps-4.15.8/src/ssheet.c:318:22: style: Variable 'pattern_len' is assigned a value that is never used. [unreadVariable] a2ps-4.15.8/src/sshread.c:65:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_registers [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/sshread.c:111:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable face [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/sshread.c:155:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regex [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/sshread.c:206:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regex [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/sshread.c:244:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regex [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/sshread.c:312:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable face [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/sshread.c:411:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable face [valueFlowBailoutIncompleteVar] a2ps-4.15.8/src/sshread.c:385:40: style:inconclusive: Function 'ssh_print_postscript' argument 1 names different: declaration 'job' definition 'Job'. [funcArgNamesDifferent] a2ps-4.15.8/src/sshread.h:27:46: note: Function 'ssh_print_postscript' argument 1 names different: declaration 'job' definition 'Job'. a2ps-4.15.8/src/sshread.c:385:40: note: Function 'ssh_print_postscript' argument 1 names different: declaration 'job' definition 'Job'. a2ps-4.15.8/src/sshread.c:101:52: style: Parameter 'sheet' can be declared as pointer to const [constParameterPointer] a2ps-4.15.8/src/sshread.c:128:25: style: Parameter 'alphabet' can be declared as pointer to const [constParameterPointer] a2ps-4.15.8/src/versions.c:112:33: style:inconclusive: Function 'string_to_version' argument 1 names different: declaration 'string' definition 'version_string'. [funcArgNamesDifferent] a2ps-4.15.8/src/versions.h:41:37: note: Function 'string_to_version' argument 1 names different: declaration 'string' definition 'version_string'. a2ps-4.15.8/src/versions.c:112:33: note: Function 'string_to_version' argument 1 names different: declaration 'string' definition 'version_string'. diff: head a2ps-4.15.8/lib/strdup.c:47:10: error: Returning pointer to local variable 'new' that will be invalid when returning. [returnDanglingLifetime] a2ps-4.15.8/lib/strdup.c:47:27: note: Passed to 'memcpy'. a2ps-4.15.8/lib/strdup.c:42:9: note: Variable created here. a2ps-4.15.8/lib/strdup.c:47:10: note: Returning pointer to local variable 'new' that will be invalid when returning. head a2ps-4.15.8/lib/strndup.c:35:17: error: Returning pointer to local variable 'new' that will be invalid when returning. [returnDanglingLifetime] a2ps-4.15.8/lib/strndup.c:35:18: note: Passed to 'memcpy'. a2ps-4.15.8/lib/strndup.c:29:9: note: Variable created here. a2ps-4.15.8/lib/strndup.c:35:17: note: Returning pointer to local variable 'new' that will be invalid when returning. DONE