2026-04-25 21:59 ftp://ftp.de.debian.org/debian/pool/main/a/a2ps/a2ps_4.15.7.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-1047-aws-aarch64-with-glibc2.35 python: 3.10.12 client-version: 1.4.0 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0 cppcheck: head 2.20.0 head-info: d4c5222 (2026-04-25 23:37:27 +0200) count: 629 556 elapsed-time: 172.6 127.6 head-timing-info: old-timing-info: head results: a2ps-4.15.7/lib/argmatch.c:165:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/gettext.h:247:16: error: Returning pointer to local variable 'msg_ctxt_id' that will be invalid when returning. [returnDanglingLifetime] a2ps-4.15.7/lib/gettext.h:239:15: note: Array decayed to pointer here. a2ps-4.15.7/lib/gettext.h:226:8: note: Variable created here. a2ps-4.15.7/lib/gettext.h:247:16: note: Returning pointer to local variable 'msg_ctxt_id' that will be invalid when returning. a2ps-4.15.7/lib/argmatch.c:191:28: style:inconclusive: Function '__xargmatch_internal' argument 7 names different: declaration '' definition 'allow_abbreviation'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/openat.h:29:3: error: #error "Please include config.h first." [preprocessorErrorDirective] a2ps-4.15.7/lib/xalloc.h:29:3: error: #error "Please include config.h first." [preprocessorErrorDirective] a2ps-4.15.7/lib/ialloc.h:28:3: error: #error "Please include config.h first." [preprocessorErrorDirective] a2ps-4.15.7/lib/basename-lgpl.c:59:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] a2ps-4.15.7/lib/c-ctype.h:27:3: error: #error "Please include config.h first." [preprocessorErrorDirective] a2ps-4.15.7/lib/calloc.c:41:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/canonicalize-lgpl.c:447:2: error: failed to evaluate #if condition, undefined function-like macro invocation: SHLIB_COMPAT( ... ) [syntaxError] a2ps-4.15.7/lib/chdir-long.c:32:3: error: #error "compile this file only if your system defines PATH_MAX" [preprocessorErrorDirective] a2ps-4.15.7/lib/cloexec.c:62:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/cloexec.c:82:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_DUPFD_CLOEXEC [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/closedir.c:58:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/creat-safer.c:28:26: style:inconclusive: Function 'creat_safer' argument 1 names different: declaration '' definition 'file'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/creat-safer.c:28:39: style:inconclusive: Function 'creat_safer' argument 2 names different: declaration '' definition 'mode'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/dirfd.c:84:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/dirname-lgpl.c:38:35: style: Condition 'prefix_length!=0' is always false [knownConditionTrueFalse] a2ps-4.15.7/lib/dirname-lgpl.c:34:26: note: Assignment 'prefix_length=((void)(file),0)', assigned value is 0 a2ps-4.15.7/lib/dirname-lgpl.c:38:35: note: Condition 'prefix_length!=0' is always false a2ps-4.15.7/lib/dup-safer-flag.c:36:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/dup-safer.c:33:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_DUPFD [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/dup-safer.c:31:16: style:inconclusive: Function 'dup_safer' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/dup2.c:182:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/error.c:140:5: error: #error Please port fcntl to your platform [preprocessorErrorDirective] a2ps-4.15.7/lib/fchdir.c:139:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/fchdir.c:163:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/fchdir.c:190:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/fcntl.c:437:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/fcntl.c:492:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/fd-safer-flag.c:45:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/fd-safer.c:42:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/fd-safer.c:37:15: style:inconclusive: Function 'fd_safer' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/free.c:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/stat-time.h:30:3: error: #error "Please include config.h first." [preprocessorErrorDirective] a2ps-4.15.7/lib/getcwd-lgpl.c:56:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/getdtablesize.c:114:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/getprogname.c:289:4: error: #error "getprogname module not ported to this OS" [preprocessorErrorDirective] a2ps-4.15.7/lib/hard-locale.c:30:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SETLOCALE_NULL_MAX [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/localcharset.c:1088:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] a2ps-4.15.7/lib/localcharset.c:1079:24: note: Assignment 'locale=NULL', assigned value is 0 a2ps-4.15.7/lib/localcharset.c:1088:14: note: Condition 'locale==NULL' is always true a2ps-4.15.7/lib/localcharset.c:579:14: style: struct member 'table_entry::locale' is never used. [unusedStructMember] a2ps-4.15.7/lib/localcharset.c:580:14: style: struct member 'table_entry::canonical' is never used. [unusedStructMember] a2ps-4.15.7/lib/localcharset.c:1097:22: style: Variable 'locale' is assigned a value that is never used. [unreadVariable] a2ps-4.15.7/lib/malloc.c:37:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/malloc/scratch_buffer_grow.c:40:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/malloc/scratch_buffer_grow_preserve.c:49:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/malloc/scratch_buffer_set_array_size.c:41:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/obstack.c:339:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/obstack.c:138:35: error: Pointer addition with NULL pointer. [nullPointerArithmetic] a2ps-4.15.7/lib/obstack.c:208:5: error: Pointer addition with NULL pointer. [nullPointerArithmetic] a2ps-4.15.7/lib/obstack.c:218:14: error: Pointer addition with NULL pointer. [nullPointerArithmetic] a2ps-4.15.7/lib/obstack.c:149:33: style:inconclusive: Function '_obstack_begin' argument 1 names different: declaration '' definition 'h'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/obstack.c:150:33: style:inconclusive: Function '_obstack_begin' argument 2 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/obstack.c:150:55: style:inconclusive: Function '_obstack_begin' argument 3 names different: declaration '' definition 'alignment'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/obstack.c:151:25: style:inconclusive: Function '_obstack_begin' argument 4 names different: declaration '' definition 'chunkfun'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/obstack.c:152:24: style:inconclusive: Function '_obstack_begin' argument 5 names different: declaration '' definition 'freefun'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/obstack.c:161:35: style:inconclusive: Function '_obstack_begin_1' argument 1 names different: declaration '' definition 'h'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/obstack.c:162:35: style:inconclusive: Function '_obstack_begin_1' argument 2 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/obstack.c:162:57: style:inconclusive: Function '_obstack_begin_1' argument 3 names different: declaration '' definition 'alignment'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/obstack.c:163:27: style:inconclusive: Function '_obstack_begin_1' argument 4 names different: declaration '' definition 'chunkfun'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/obstack.c:164:26: style:inconclusive: Function '_obstack_begin_1' argument 5 names different: declaration '' definition 'freefun'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/obstack.c:165:25: style:inconclusive: Function '_obstack_begin_1' argument 6 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/obstack.c:181:36: style:inconclusive: Function '_obstack_newchunk' argument 1 names different: declaration '' definition 'h'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/obstack.c:181:55: style:inconclusive: Function '_obstack_newchunk' argument 2 names different: declaration '' definition 'length'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/obstack.c:261:32: style:inconclusive: Function '_obstack_free' argument 1 names different: declaration '' definition 'h'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/obstack.c:261:41: style:inconclusive: Function '_obstack_free' argument 2 names different: declaration '' definition 'obj'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/obstack.c:240:48: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] a2ps-4.15.7/lib/open-safer.c:33:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/open-safer.c:29:25: style:inconclusive: Function 'open_safer' argument 1 names different: declaration '' definition 'file'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/open-safer.c:29:35: style:inconclusive: Function 'open_safer' argument 2 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/open.c:72:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/openat-proc.c:82:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_SEARCH [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/openat-proc.c:47:53: style:inconclusive: Function 'openat_proc_name' argument 2 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/openat-proc.c:47:69: style:inconclusive: Function 'openat_proc_name' argument 3 names different: declaration '' definition 'file'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/openat-safer.c:33:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/opendir.c:87:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/opendirat.c:38:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/pipe-safer.c:41:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/pipe-safer.c:31:17: style:inconclusive: Function 'pipe_safer' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/pipe.c:48:3: error: #error "This platform lacks a pipe function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] a2ps-4.15.7/lib/rawmemchr.c:37:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTPTR_WIDTH [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/rawmemchr.c:109:16: style: Variable 's' is reassigned a value before the old one has been used. [redundantAssignment] a2ps-4.15.7/lib/rawmemchr.c:50:36: note: s is assigned a2ps-4.15.7/lib/rawmemchr.c:109:16: note: s is overwritten a2ps-4.15.7/lib/rawmemchr.c:109:16: style: Variable 's' is assigned a value that is never used. [unreadVariable] a2ps-4.15.7/lib/readdir.c:62:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/readlink.c:41:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/realloc.c:49:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/reallocarray.c:32:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/rename.c:289:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _GL_UNUSED [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/rename.c:467:2: style: Label 'out' is not used. [unusedLabel] a2ps-4.15.7/lib/renameatu.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/renameatu.c:55:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/renameatu.c:103:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/renameatu.c:113:7: style: Condition '!(ret_val<0&&(err==EINVAL||err==ENOSYS||err==ENOTSUP))' is always false [knownConditionTrueFalse] a2ps-4.15.7/lib/renameatu.c:102:18: note: Assignment 'ret_val=-1', assigned value is -1 a2ps-4.15.7/lib/renameatu.c:113:7: note: Condition '!(ret_val<0&&(err==EINVAL||err==ENOSYS||err==ENOTSUP))' is always false a2ps-4.15.7/lib/renameatu.c:113:18: style: Condition 'ret_val<0' is always true [knownConditionTrueFalse] a2ps-4.15.7/lib/renameatu.c:102:18: note: Assignment 'ret_val=-1', assigned value is -1 a2ps-4.15.7/lib/renameatu.c:113:18: note: Condition 'ret_val<0' is always true a2ps-4.15.7/lib/renameatu.c:113:30: style: The comparison 'err == EINVAL' is always true because 'err' and 'EINVAL' represent the same value. [knownConditionTrueFalse] a2ps-4.15.7/lib/renameatu.c:103:13: note: 'err' is assigned value 'EINVAL' here. a2ps-4.15.7/lib/renameatu.c:113:30: note: The comparison 'err == EINVAL' is always true because 'err' and 'EINVAL' represent the same value. a2ps-4.15.7/lib/renameatu.c:99:16: style:inconclusive: Function 'renameatu' argument 1 names different: declaration '' definition 'fd1'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/renameatu.c:99:33: style:inconclusive: Function 'renameatu' argument 2 names different: declaration '' definition 'src'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/renameatu.c:99:42: style:inconclusive: Function 'renameatu' argument 3 names different: declaration '' definition 'fd2'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/renameatu.c:99:59: style:inconclusive: Function 'renameatu' argument 4 names different: declaration '' definition 'dst'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/renameatu.c:100:25: style:inconclusive: Function 'renameatu' argument 5 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/rmdir.c:46:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/save-cwd.c:65:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_SEARCH [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/setlocale_null.c:150:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/setlocale_null.c:317:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/sig2str.c:345:28: warning: Logical conjunction always evaluates to false: rtmin <= signum && signum <= rtmax. [incorrectLogicOperator] a2ps-4.15.7/lib/sig2str.c:297:15: style: Condition '0' definition 'signame'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/sig2str.c:319:36: style:inconclusive: Function 'str2sig' argument 2 names different: declaration '' definition 'signum'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/sig2str.c:330:14: style:inconclusive: Function 'sig2str' argument 1 names different: declaration '' definition 'signum'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/sig2str.c:330:28: style:inconclusive: Function 'sig2str' argument 2 names different: declaration '' definition 'signame'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/strchrnul.c:138:12: style: Variable 'char_ptr' is reassigned a value before the old one has been used. [redundantAssignment] a2ps-4.15.7/lib/strchrnul.c:129:12: note: char_ptr is assigned a2ps-4.15.7/lib/strchrnul.c:138:12: note: char_ptr is overwritten a2ps-4.15.7/lib/strerror.c:59:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/strerror.c:44:7: style: Condition 'msg' is always false [knownConditionTrueFalse] a2ps-4.15.7/lib/strerror.c:43:21: note: Assignment 'msg=NULL', assigned value is 0 a2ps-4.15.7/lib/strerror.c:44:7: note: Condition 'msg' is always false a2ps-4.15.7/lib/strverscmp.c:111:1: error: There is an unknown macro here somewhere. Configuration is required. If libc_hidden_def is a macro then please configure it. [unknownMacro] a2ps-4.15.7/lib/version-etc.c:258:57: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE is a macro then please configure it. [unknownMacro] a2ps-4.15.7/lib/xstrtol.c:89:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.7/lib/xstrtol.c:54:7: style: Comparing expression of type 'signed int' against value 2147483647. Condition is always false. [compareValueOutOfTypeRangeError] a2ps-4.15.7/lib/xstrtol.c:54:7: style: Comparing expression of type 'signed int' against value 9223372036854775807. Condition is always false. [compareValueOutOfTypeRangeError] a2ps-4.15.7/lib/xstrtol.c:54:7: style: Checking if unsigned expression '(1?0:((1?0:18446744073709551615UL)+(scale_factor)))-1' is less than zero. [unsignedLessThanZero] a2ps-4.15.7/lib/xstrtol.c:54:7: style: Checking if unsigned expression '(1?0:((1?0:18446744073709551615ULL)+(scale_factor)))-1' is less than zero. [unsignedLessThanZero] a2ps-4.15.7/lib/xstrtol.c:77:24: style:inconclusive: Function 'xstrtol' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/xstrtol.c:77:34: style:inconclusive: Function 'xstrtol' argument 2 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/xstrtol.c:77:43: style:inconclusive: Function 'xstrtol' argument 3 names different: declaration '' definition 'strtol_base'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/xstrtol.c:78:24: style:inconclusive: Function 'xstrtol' argument 4 names different: declaration '' definition 'val'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/xstrtol.c:78:41: style:inconclusive: Function 'xstrtol' argument 5 names different: declaration '' definition 'valid_suffixes'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/xstrtol.c:54:7: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] a2ps-4.15.7/lib/xstrtol.c:54:7: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] a2ps-4.15.7/lib/xstrtol.c:54:7: warning: Expression 'scale_factor' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversionCond] a2ps-4.15.7/lib/xstrtol.c:54:7: note: Assuming that condition '(scale_factor)<0' is not redundant a2ps-4.15.7/lib/xstrtol.c:54:7: note: Negative value is converted to an unsigned value a2ps-4.15.7/lib/xstrtol.c:54:7: style: Checking if unsigned expression '*x' is less than zero. [unsignedLessThanZero] a2ps-4.15.7/lib/xstrtol.c:54:7: style: Checking if unsigned expression '(1?0:(*x))-1' is less than zero. [unsignedLessThanZero] a2ps-4.15.7/lib/xstrtol.c:54:7: style: Checking if unsigned expression '(1?0:((1?0:(*x))-128))-1' is less than zero. [unsignedLessThanZero] a2ps-4.15.7/lib/xstrtol.c:54:7: style: Checking if unsigned expression '(((1?0:((1?0:(*x))-128))-1)<0)?~(((((1?0:((1?0:(*x))-128))+1)<<((sizeof((1?0:(*x))-128)*8)-2))-1)*2+1):((1?0:((1?0:(*x))-128))+0)' is less than zero. [unsignedLessThanZero] a2ps-4.15.7/lib/xstrtol.c:54:7: style: Checking if unsigned expression '(1?0:((1?0:(*x))+0))-1' is less than zero. [unsignedLessThanZero] a2ps-4.15.7/lib/xstrtol.c:54:7: style: Checking if unsigned expression '(((1?0:((1?0:(*x))+0))-1)<0)?~(((((1?0:((1?0:(*x))+0))+1)<<((sizeof((1?0:(*x))+0)*8)-2))-1)*2+1):((1?0:((1?0:(*x))+0))+0)' is less than zero. [unsignedLessThanZero] a2ps-4.15.7/lib/xstrtol.c:54:7: style: Checking if unsigned expression '*(&scaled)=((char)((unsigned int)(*x)*(unsigned int)(scale_factor)))' is less than zero. [unsignedLessThanZero] a2ps-4.15.7/lib/xstrtol.c:54:7: style: Unsigned expression '*(&scaled)=((char)((unsigned int)(*x)*(unsigned int)(scale_factor)))' can't be negative so it is unnecessary to test it. [unsignedPositive] a2ps-4.15.7/lib/xstrtol.c:54:7: style: Checking if unsigned expression '(1?0:((1?0:(*x))-32768))-1' is less than zero. [unsignedLessThanZero] a2ps-4.15.7/lib/xstrtol.c:54:7: style: Checking if unsigned expression '(((1?0:((1?0:(*x))-32768))-1)<0)?~(((((1?0:((1?0:(*x))-32768))+1)<<((sizeof((1?0:(*x))-32768)*8)-2))-1)*2+1):((1?0:((1?0:(*x))-32768))+0)' is less than zero. [unsignedLessThanZero] a2ps-4.15.7/lib/xstrtol.c:54:7: style: Checking if unsigned expression '*(&scaled)=((short)((unsigned int)(*x)*(unsigned int)(scale_factor)))' is less than zero. [unsignedLessThanZero] a2ps-4.15.7/lib/xstrtol.c:54:7: style: Unsigned expression '*(&scaled)=((short)((unsigned int)(*x)*(unsigned int)(scale_factor)))' can't be negative so it is unnecessary to test it. [unsignedPositive] a2ps-4.15.7/lib/xstrtol.c:54:7: style: Checking if unsigned expression '(1?0:(*(&scaled)))-1' is less than zero. [unsignedLessThanZero] a2ps-4.15.7/lib/xstrtol.c:54:7: style: Checking if unsigned expression '(1?0:((1?0:(*x))+(-2147483647-1)))-1' is less than zero. [unsignedLessThanZero] a2ps-4.15.7/lib/xstrtol.c:54:7: style: Checking if unsigned expression '(((1?0:((1?0:(*x))+(-2147483647-1)))-1)<0)?~(((((1?0:((1?0:(*x))+(-2147483647-1)))+1)<<((sizeof((1?0:(*x))+(-2147483647-1))*8)-2))-1)*2+1):((1?0:((1?0:(*x))+(-2147483647-1)))+0)' is less than zero. [unsignedLessThanZero] a2ps-4.15.7/lib/xstrtol.c:54:7: style: Checking if unsigned expression '(1?0:((1?0:(*x))+(-9223372036854775807L-1L)))-1' is less than zero. [unsignedLessThanZero] a2ps-4.15.7/lib/xstrtol.c:54:7: style: Checking if unsigned expression '(((1?0:((1?0:(*x))+(-9223372036854775807L-1L)))-1)<0)?~(((((1?0:((1?0:(*x))+(-9223372036854775807L-1L)))+1)<<((sizeof((1?0:(*x))+(-9223372036854775807L-1L))*8)-2))-1)*2+1):((1?0:((1?0:(*x))+(-9223372036854775807L-1L)))+0)' is less than zero. [unsignedLessThanZero] a2ps-4.15.7/lib/xstrtol.c:56:15: style: Checking if unsigned expression '*x' is less than zero. [unsignedLessThanZero] a2ps-4.15.7/lib/xstrtol.c:77:24: style:inconclusive: Function 'xstrtoul' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/xstrtol.c:77:34: style:inconclusive: Function 'xstrtoul' argument 2 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/xstrtol.c:77:43: style:inconclusive: Function 'xstrtoul' argument 3 names different: declaration '' definition 'strtol_base'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/xstrtol.c:78:24: style:inconclusive: Function 'xstrtoul' argument 4 names different: declaration '' definition 'val'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/xstrtol.c:78:41: style:inconclusive: Function 'xstrtoul' argument 5 names different: declaration '' definition 'valid_suffixes'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/lib/xstrtol.c:54:7: warning: Expression '-128' has a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] a2ps-4.15.7/lib/xstrtol.c:54:7: warning: Expression '-32768' has a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] a2ps-4.15.7/lib/xstrtol.c:54:7: warning: Expression '-2147483647-1' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] a2ps-4.15.7/lib/xstrtol.c:54:7: warning: Expression '-9223372036854775807L-1L' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] a2ps-4.15.7/liba2ps/argv.c:98:17: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] a2ps-4.15.7/liba2ps/argv.c:195:25: style:inconclusive: Function 'buildargv' argument 1 names different: declaration 'input' definition 'string'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/argv.h:129:31: note: Function 'buildargv' argument 1 names different: declaration 'input' definition 'string'. a2ps-4.15.7/liba2ps/argv.c:195:25: note: Function 'buildargv' argument 1 names different: declaration 'input' definition 'string'. a2ps-4.15.7/liba2ps/output.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.7/liba2ps/pathwalk.h:33: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:241:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_opt [valueFlowBailoutIncompleteVar] confg.gperf:447:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSCONFFILE [valueFlowBailoutIncompleteVar] confg.gperf:252:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] confg.gperf:267:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] confg.gperf:269:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] confg.gperf:275:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] confg.gperf:237:15: warning: If memory allocation fails, then there is a possible null pointer dereference: fname [nullPointerOutOfMemory] confg.gperf:235:20: note: Assuming allocation function fails confg.gperf:235:20: note: Assignment 'fname=strdup(file)', assigned value is 0 confg.gperf:237:15: note: Null pointer dereference confg.gperf:264:31: warning: Either the condition '!keyword' is redundant or there is possible null pointer dereference: keyword. [nullPointerRedundantCheck] confg.gperf:259:11: note: Assuming that condition '!keyword' is not redundant confg.gperf:264:31: note: Null pointer dereference confg.gperf:109:24: style: Variable 'asso_values' can be declared as const array [constVariable] confg.gperf:190:22: style: Variable 'lookup' can be declared as const array [constVariable] confg.gperf:246:25: style: Variable 'keyword' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/darray.c:47:16: style:inconclusive: Function 'da_new' argument 6 names different: declaration '' definition 'cmp'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/liba2ps/darray.c:147:27: style:inconclusive: Function 'da_clone' argument 1 names different: declaration 'arr' definition 'array'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/darray.h:71:43: note: Function 'da_clone' argument 1 names different: declaration 'arr' definition 'array'. a2ps-4.15.7/liba2ps/darray.c:147:27: note: Function 'da_clone' argument 1 names different: declaration 'arr' definition 'array'. a2ps-4.15.7/liba2ps/darray.c:407:19: style:inconclusive: Function 'da_qsort_with_arg' argument 3 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/liba2ps/darray.c:567:44: style:inconclusive: Function 'da_map' argument 2 names different: declaration 'func' definition 'fn'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/darray.h:117:49: note: Function 'da_map' argument 2 names different: declaration 'func' definition 'fn'. a2ps-4.15.7/liba2ps/darray.c:567:44: note: Function 'da_map' argument 2 names different: declaration 'func' definition 'fn'. a2ps-4.15.7/liba2ps/darray.c:579:63: style:inconclusive: Function 'da_maparg' argument 3 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/liba2ps/darray.c:79:33: style: Parameter 'arr' can be declared as pointer to const [constParameterPointer] a2ps-4.15.7/liba2ps/darray.c:174:27: style: Parameter 'ar1' can be declared as pointer to const [constParameterPointer] a2ps-4.15.7/liba2ps/darray.c:174:48: style: Parameter 'ar2' can be declared as pointer to const [constParameterPointer] a2ps-4.15.7/liba2ps/document.h:43: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.7/liba2ps/dstring.h:89: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.7/liba2ps/filtdir.c:50:38: style:inconclusive: Function 'filterdir' argument 3 names different: declaration '' definition 'filtarg'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/liba2ps/filtdir.c:51:21: style:inconclusive: Function 'filterdir' argument 4 names different: declaration '' definition 'fun'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/liba2ps/filtdir.c:51:32: style:inconclusive: Function 'filterdir' argument 5 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] fonts.c:1138:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] fonts.c:1540:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] fonts.c:1883:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fonts.c:2121:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fonts.l:282:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash_table_s [valueFlowBailoutIncompleteVar] fonts.l:378:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash_table_s [valueFlowBailoutIncompleteVar] fonts.l:418:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_font [valueFlowBailoutIncompleteVar] fonts.l:569:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] fonts.l:731:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_font [valueFlowBailoutIncompleteVar] fonts.c:1887:2: warning: Possible null pointer dereference: b [nullPointer] fonts.c:1780: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:1888:2: warning: Possible null pointer dereference: b [nullPointer] fonts.c:1780: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:1888:2: note: Null pointer dereference fonts.c:1540:3: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] fonts.c:1540:3: note: c is initialized fonts.c:1540:3: note: c is overwritten fonts.l:203:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] fonts.c:1619:59: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] fonts.c:695:55: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. fonts.c:1619:59: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. fonts.c:1644:40: style:inconclusive: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. [funcArgNamesDifferent] fonts.c:997:40: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. fonts.c:1644:40: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. fonts.c:2072:46: style:inconclusive: Function 'afm_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. [funcArgNamesDifferent] fonts.c:650:46: note: Function 'afm_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. fonts.c:2072:46: note: Function 'afm_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. fonts.c:2085:46: style:inconclusive: Function 'afm_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. [funcArgNamesDifferent] fonts.c:651:45: note: Function 'afm_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. fonts.c:2085:46: note: Function 'afm_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. fonts.c:2085:60: style:inconclusive: Function 'afm_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. [funcArgNamesDifferent] fonts.c:651:56: note: Function 'afm_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. fonts.c:2085:60: note: Function 'afm_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. fonts.c:2217:24: style:inconclusive: Function 'afmset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. [funcArgNamesDifferent] fonts.c:961:24: note: Function 'afmset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. fonts.c:2217:24: note: Function 'afmset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. fonts.c:2300:27: style:inconclusive: Function 'afmalloc' argument 1 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] fonts.c:2305:26: style:inconclusive: Function 'afmrealloc' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] fonts.c:2305:42: style:inconclusive: Function 'afmrealloc' argument 2 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] fonts.c:2318:21: style:inconclusive: Function 'afmfree' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] fonts.c:1452:8: style: Variable 'source' can be declared as pointer to const [constVariablePointer] fonts.c:1659:9: style: Variable 'source' can be declared as pointer to const [constVariablePointer] fonts.l:128:10: style: Variable 'file' can be declared as pointer to const [constVariablePointer] fonts.l:208:11: style: Variable 'cursor' can be declared as pointer to const [constVariablePointer] fonts.l:219:11: style: Variable 'cursor' can be declared as pointer to const [constVariablePointer] fonts.l:231:11: style: Variable 'cursor' can be declared as pointer to const [constVariablePointer] fonts.l:242:11: style: Variable 'cursor' can be declared as pointer to const [constVariablePointer] fonts.l:326:21: style: Variable 'item' can be declared as pointer to const [constVariablePointer] fonts.l:471:51: style: Parameter 'job' can be declared as pointer to const [constParameterPointer] a2ps-4.15.7/liba2ps/gc-stubs.c:35:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.7/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.7/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.7/liba2ps/getshline.c:90:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] a2ps-4.15.7/liba2ps/getshline.c:134:32: style:inconclusive: Function 'getshline_numbered' argument 1 names different: declaration '_firstline' definition 'firstline'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/getshline.h:47:31: note: Function 'getshline_numbered' argument 1 names different: declaration '_firstline' definition 'firstline'. a2ps-4.15.7/liba2ps/getshline.c:134:32: note: Function 'getshline_numbered' argument 1 names different: declaration '_firstline' definition 'firstline'. a2ps-4.15.7/liba2ps/getshline.c:134:54: style:inconclusive: Function 'getshline_numbered' argument 2 names different: declaration '_lastline' definition 'lastline'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/getshline.h:47:53: note: Function 'getshline_numbered' argument 2 names different: declaration '_lastline' definition 'lastline'. a2ps-4.15.7/liba2ps/getshline.c:134:54: note: Function 'getshline_numbered' argument 2 names different: declaration '_lastline' definition 'lastline'. a2ps-4.15.7/liba2ps/getshline.c:135:15: style:inconclusive: Function 'getshline_numbered' argument 3 names different: declaration '_lineptr' definition 'lineptr'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/getshline.h:48:28: note: Function 'getshline_numbered' argument 3 names different: declaration '_lineptr' definition 'lineptr'. a2ps-4.15.7/liba2ps/getshline.c:135:15: note: Function 'getshline_numbered' argument 3 names different: declaration '_lineptr' definition 'lineptr'. a2ps-4.15.7/liba2ps/getshline.c:135:33: style:inconclusive: Function 'getshline_numbered' argument 4 names different: declaration '_n' definition 'n'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/getshline.h:48:46: note: Function 'getshline_numbered' argument 4 names different: declaration '_n' definition 'n'. a2ps-4.15.7/liba2ps/getshline.c:135:33: note: Function 'getshline_numbered' argument 4 names different: declaration '_n' definition 'n'. a2ps-4.15.7/liba2ps/getshline.c:135:43: style:inconclusive: Function 'getshline_numbered' argument 5 names different: declaration '_stream' definition 'stream'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/getshline.h:49:27: note: Function 'getshline_numbered' argument 5 names different: declaration '_stream' definition 'stream'. a2ps-4.15.7/liba2ps/getshline.c:135:43: note: Function 'getshline_numbered' argument 5 names different: declaration '_stream' definition 'stream'. a2ps-4.15.7/liba2ps/getshline.c:142:20: style:inconclusive: Function 'getshline' argument 1 names different: declaration '_lineptr' definition 'lineptr'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/getshline.h:29:19: note: Function 'getshline' argument 1 names different: declaration '_lineptr' definition 'lineptr'. a2ps-4.15.7/liba2ps/getshline.c:142:20: note: Function 'getshline' argument 1 names different: declaration '_lineptr' definition 'lineptr'. a2ps-4.15.7/liba2ps/getshline.c:142:38: style:inconclusive: Function 'getshline' argument 2 names different: declaration '_n' definition 'n'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/getshline.h:29:37: note: Function 'getshline' argument 2 names different: declaration '_n' definition 'n'. a2ps-4.15.7/liba2ps/getshline.c:142:38: note: Function 'getshline' argument 2 names different: declaration '_n' definition 'n'. a2ps-4.15.7/liba2ps/getshline.c:142:48: style:inconclusive: Function 'getshline' argument 3 names different: declaration '_stream' definition 'stream'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/getshline.h:29:47: note: Function 'getshline' argument 3 names different: declaration '_stream' definition 'stream'. a2ps-4.15.7/liba2ps/getshline.c:142:48: note: Function 'getshline' argument 3 names different: declaration '_stream' definition 'stream'. a2ps-4.15.7/liba2ps/getshline.c:151:33: style:inconclusive: Function 'getshdelim_numbered' argument 1 names different: declaration '_firstline' definition 'firstline'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/getshline.h:52:32: note: Function 'getshdelim_numbered' argument 1 names different: declaration '_firstline' definition 'firstline'. a2ps-4.15.7/liba2ps/getshline.c:151:33: note: Function 'getshdelim_numbered' argument 1 names different: declaration '_firstline' definition 'firstline'. a2ps-4.15.7/liba2ps/getshline.c:151:55: style:inconclusive: Function 'getshdelim_numbered' argument 2 names different: declaration '_lastline' definition 'lastline'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/getshline.h:52:54: note: Function 'getshdelim_numbered' argument 2 names different: declaration '_lastline' definition 'lastline'. a2ps-4.15.7/liba2ps/getshline.c:151:55: note: Function 'getshdelim_numbered' argument 2 names different: declaration '_lastline' definition 'lastline'. a2ps-4.15.7/liba2ps/getshline.c:152:16: style:inconclusive: Function 'getshdelim_numbered' argument 3 names different: declaration '_lineptr' definition 'lineptr'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/getshline.h:53:29: note: Function 'getshdelim_numbered' argument 3 names different: declaration '_lineptr' definition 'lineptr'. a2ps-4.15.7/liba2ps/getshline.c:152:16: note: Function 'getshdelim_numbered' argument 3 names different: declaration '_lineptr' definition 'lineptr'. a2ps-4.15.7/liba2ps/getshline.c:152:34: style:inconclusive: Function 'getshdelim_numbered' argument 4 names different: declaration '_n' definition 'n'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/getshline.h:53:47: note: Function 'getshdelim_numbered' argument 4 names different: declaration '_n' definition 'n'. a2ps-4.15.7/liba2ps/getshline.c:152:34: note: Function 'getshdelim_numbered' argument 4 names different: declaration '_n' definition 'n'. a2ps-4.15.7/liba2ps/getshline.c:153:12: style:inconclusive: Function 'getshdelim_numbered' argument 5 names different: declaration '_delimiter' definition 'delimiter'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/getshline.h:54:26: note: Function 'getshdelim_numbered' argument 5 names different: declaration '_delimiter' definition 'delimiter'. a2ps-4.15.7/liba2ps/getshline.c:153:12: note: Function 'getshdelim_numbered' argument 5 names different: declaration '_delimiter' definition 'delimiter'. a2ps-4.15.7/liba2ps/getshline.c:153:27: style:inconclusive: Function 'getshdelim_numbered' argument 6 names different: declaration '_delimiter_quote' definition 'delimiter_quote'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/getshline.h:54:42: note: Function 'getshdelim_numbered' argument 6 names different: declaration '_delimiter_quote' definition 'delimiter_quote'. a2ps-4.15.7/liba2ps/getshline.c:153:27: note: Function 'getshdelim_numbered' argument 6 names different: declaration '_delimiter_quote' definition 'delimiter_quote'. a2ps-4.15.7/liba2ps/getshline.c:153:48: style:inconclusive: Function 'getshdelim_numbered' argument 7 names different: declaration '_commentor' definition 'commentor'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/getshline.h:55:26: note: Function 'getshdelim_numbered' argument 7 names different: declaration '_commentor' definition 'commentor'. a2ps-4.15.7/liba2ps/getshline.c:153:48: note: Function 'getshdelim_numbered' argument 7 names different: declaration '_commentor' definition 'commentor'. a2ps-4.15.7/liba2ps/getshline.c:154:15: style:inconclusive: Function 'getshdelim_numbered' argument 8 names different: declaration '_stream' definition 'stream'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/getshline.h:55:44: note: Function 'getshdelim_numbered' argument 8 names different: declaration '_stream' definition 'stream'. a2ps-4.15.7/liba2ps/getshline.c:154:15: note: Function 'getshdelim_numbered' argument 8 names different: declaration '_stream' definition 'stream'. a2ps-4.15.7/liba2ps/getshline.c:161:21: style:inconclusive: Function 'getshdelim' argument 1 names different: declaration '_lineptr' definition 'lineptr'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/getshline.h:32:20: note: Function 'getshdelim' argument 1 names different: declaration '_lineptr' definition 'lineptr'. a2ps-4.15.7/liba2ps/getshline.c:161:21: note: Function 'getshdelim' argument 1 names different: declaration '_lineptr' definition 'lineptr'. a2ps-4.15.7/liba2ps/getshline.c:161:39: style:inconclusive: Function 'getshdelim' argument 2 names different: declaration '_n' definition 'n'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/getshline.h:32:38: note: Function 'getshdelim' argument 2 names different: declaration '_n' definition 'n'. a2ps-4.15.7/liba2ps/getshline.c:161:39: note: Function 'getshdelim' argument 2 names different: declaration '_n' definition 'n'. a2ps-4.15.7/liba2ps/getshline.c:162:10: style:inconclusive: Function 'getshdelim' argument 3 names different: declaration '_delimiter' definition 'delimiter'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/getshline.h:33:11: note: Function 'getshdelim' argument 3 names different: declaration '_delimiter' definition 'delimiter'. a2ps-4.15.7/liba2ps/getshline.c:162:10: note: Function 'getshdelim' argument 3 names different: declaration '_delimiter' definition 'delimiter'. a2ps-4.15.7/liba2ps/getshline.c:162:25: style:inconclusive: Function 'getshdelim' argument 4 names different: declaration '_delimiter_quote' definition 'delimiter_quote'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/getshline.h:33:27: note: Function 'getshdelim' argument 4 names different: declaration '_delimiter_quote' definition 'delimiter_quote'. a2ps-4.15.7/liba2ps/getshline.c:162:25: note: Function 'getshdelim' argument 4 names different: declaration '_delimiter_quote' definition 'delimiter_quote'. a2ps-4.15.7/liba2ps/getshline.c:162:46: style:inconclusive: Function 'getshdelim' argument 5 names different: declaration '_commentor' definition 'commentor'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/getshline.h:33:49: note: Function 'getshdelim' argument 5 names different: declaration '_commentor' definition 'commentor'. a2ps-4.15.7/liba2ps/getshline.c:162:46: note: Function 'getshdelim' argument 5 names different: declaration '_commentor' definition 'commentor'. a2ps-4.15.7/liba2ps/getshline.c:163:13: style:inconclusive: Function 'getshdelim' argument 6 names different: declaration '_stream' definition 'stream'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/getshline.h:34:13: note: Function 'getshdelim' argument 6 names different: declaration '_stream' definition 'stream'. a2ps-4.15.7/liba2ps/getshline.c:163:13: note: Function 'getshdelim' argument 6 names different: declaration '_stream' definition 'stream'. a2ps-4.15.7/liba2ps/hashtab.c:46:37: style:inconclusive: Function 'hash_init' argument 4 names different: declaration '' definition 'hash_2'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/liba2ps/hashtab.c:46:61: style:inconclusive: Function 'hash_init' argument 5 names different: declaration '' definition 'hash_cmp'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/liba2ps/hashtab.c:258:47: style:inconclusive: Function 'hash_dump_select' argument 4 names different: declaration '' definition 'compare'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/liba2ps/hashtab.c:292:20: style:inconclusive: Function 'hash_maparg' argument 3 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/liba2ps/hashtab.c:292:37: style:inconclusive: Function 'hash_maparg' argument 4 names different: declaration '' definition 'compare'. [funcArgNamesDifferentUnnamed] lexppd.c:1097:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] lexppd.c:1747:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] lexppd.c:2090:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lexppd.c:2328:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] lexppd.c:2094:2: warning: Possible null pointer dereference: b [nullPointer] lexppd.c:1987: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:2095:2: warning: Possible null pointer dereference: b [nullPointer] lexppd.c:1987: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:2095:2: note: Null pointer dereference lexppd.c:1747:3: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] lexppd.c:1747:3: note: c is initialized lexppd.c:1747:3: note: c is overwritten lexppd.l:105:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexppd.l:110:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexppd.l:115:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexppd.l:120:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexppd.l:127:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexppd.l:132:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexppd.l:138:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexppd.l:156:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexppd.l:263:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lexppd.c:1826:59: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] lexppd.c:657:55: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. lexppd.c:1826:59: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. lexppd.c:1851:40: style:inconclusive: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. [funcArgNamesDifferent] lexppd.c:956:40: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. lexppd.c:1851:40: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. lexppd.c:2279:46: style:inconclusive: Function 'ppd_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. [funcArgNamesDifferent] lexppd.c:612:46: note: Function 'ppd_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. lexppd.c:2279:46: note: Function 'ppd_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. lexppd.c:2292:46: style:inconclusive: Function 'ppd_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. [funcArgNamesDifferent] lexppd.c:613:45: note: Function 'ppd_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. lexppd.c:2292:46: note: Function 'ppd_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. lexppd.c:2292:60: style:inconclusive: Function 'ppd_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. [funcArgNamesDifferent] lexppd.c:613:56: note: Function 'ppd_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. lexppd.c:2292:60: note: Function 'ppd_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. lexppd.c:2424:24: style:inconclusive: Function 'ppdset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. [funcArgNamesDifferent] lexppd.c:920:24: note: Function 'ppdset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. lexppd.c:2424:24: note: Function 'ppdset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. lexppd.c:2507:27: style:inconclusive: Function 'ppdalloc' argument 1 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] lexppd.c:2512:26: style:inconclusive: Function 'ppdrealloc' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] lexppd.c:2512:42: style:inconclusive: Function 'ppdrealloc' argument 2 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] lexppd.c:2525:21: style:inconclusive: Function 'ppdfree' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] lexppd.c:1659:8: style: Variable 'source' can be declared as pointer to const [constVariablePointer] lexppd.c:1866:9: style: Variable 'source' can be declared as pointer to const [constVariablePointer] lexppd.l:162:11: style: Variable 'cursor' can be declared as pointer to const [constVariablePointer] lexppd.l:174:11: style: Variable 'cursor' can be declared as pointer to const [constVariablePointer] lexppd.l:269:11: style: Variable 'cursor' can be declared as pointer to const [constVariablePointer] lexppd.l:281:11: style: Variable 'cursor' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/lister.c:302:66: style:inconclusive: Function 'lister_fprint_vertical' argument 2 names different: declaration 'stream' definition 'unused'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/lister.h:57:36: note: Function 'lister_fprint_vertical' argument 2 names different: declaration 'stream' definition 'unused'. a2ps-4.15.7/liba2ps/lister.c:302:66: note: Function 'lister_fprint_vertical' argument 2 names different: declaration 'stream' definition 'unused'. a2ps-4.15.7/liba2ps/lister.c:305:19: style:inconclusive: Function 'lister_fprint_vertical' argument 6 names different: declaration '' definition 'item_print_fn'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/liba2ps/lister.c:452:68: style:inconclusive: Function 'lister_fprint_horizontal' argument 2 names different: declaration 'stream' definition 'unused'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/lister.h:52:35: note: Function 'lister_fprint_horizontal' argument 2 names different: declaration 'stream' definition 'unused'. a2ps-4.15.7/liba2ps/lister.c:452:68: note: Function 'lister_fprint_horizontal' argument 2 names different: declaration 'stream' definition 'unused'. a2ps-4.15.7/liba2ps/lister.c:455:21: style:inconclusive: Function 'lister_fprint_horizontal' argument 6 names different: declaration '' definition 'item_print_fn'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/liba2ps/lister.c:546:67: style:inconclusive: Function 'lister_fprint_separated' argument 2 names different: declaration 'stream' definition 'unused'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/lister.h:62:36: note: Function 'lister_fprint_separated' argument 2 names different: declaration 'stream' definition 'unused'. a2ps-4.15.7/liba2ps/lister.c:546:67: note: Function 'lister_fprint_separated' argument 2 names different: declaration 'stream' definition 'unused'. a2ps-4.15.7/liba2ps/lister.c:549:20: style:inconclusive: Function 'lister_fprint_separated' argument 6 names different: declaration '' definition 'item_print_fn'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/liba2ps/lister.c:316:21: style: Variable 'm' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/lister.c:465:21: style: Variable 'm' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/lister.c:554:22: style: Variable 's' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/message.c:76: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.7/liba2ps/message.c:82: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.7/liba2ps/pair_ht.c:326:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] a2ps-4.15.7/liba2ps/pair_ht.c:332: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.7/liba2ps/pair_ht.c:341: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.7/liba2ps/pair_ht.c:347: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.7/liba2ps/pair_ht.c:232:23: style:inconclusive: Function 'pair_table_map' argument 3 names different: declaration '' definition 'select_fn'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/liba2ps/pair_ht.c:233:16: style:inconclusive: Function 'pair_table_map' argument 4 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/liba2ps/pair_ht.c:50: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.7/liba2ps/pair_ht.c:103:21: note: You might need to cast the function pointer here a2ps-4.15.7/liba2ps/pair_ht.c:50:27: note: Parameter 'pair' can be declared as pointer to const a2ps-4.15.7/liba2ps/pair_ht.c:56: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.7/liba2ps/pair_ht.c:104:21: note: You might need to cast the function pointer here a2ps-4.15.7/liba2ps/pair_ht.c:56:27: note: Parameter 'pair' can be declared as pointer to const a2ps-4.15.7/liba2ps/pair_ht.c:62: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.7/liba2ps/pair_ht.c:105:25: note: You might need to cast the function pointer here a2ps-4.15.7/liba2ps/pair_ht.c:62:29: note: Parameter 'x' can be declared as pointer to const a2ps-4.15.7/liba2ps/pair_ht.c:62: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.7/liba2ps/pair_ht.c:105:25: note: You might need to cast the function pointer here a2ps-4.15.7/liba2ps/pair_ht.c:62:45: note: Parameter 'y' can be declared as pointer to const a2ps-4.15.7/liba2ps/pair_ht.c:79: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.7/liba2ps/pair_ht.c:264:23: note: You might need to cast the function pointer here a2ps-4.15.7/liba2ps/pair_ht.c:79:29: note: Parameter 'pair' can be declared as pointer to const a2ps-4.15.7/liba2ps/pair_ht.c:86: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.7/liba2ps/pair_ht.c:265:23: note: You might need to cast the function pointer here a2ps-4.15.7/liba2ps/pair_ht.c:86:31: note: Parameter 'pair' can be declared as pointer to const a2ps-4.15.7/liba2ps/pair_ht.c:170:17: style: Variable 'item' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/pair_ht.c:187:17: style: Variable 'item' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/pair_ht.c:201:17: style: Variable 'item' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/pair_ht.c:215:17: style: Variable 'item' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/pair_ht.c:323:19: style: Variable 'token2' can be declared as pointer to const [constVariablePointer] parseppd.c:848:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parseppd.c:875:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parseppd.c:937:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parseppd.c:1000:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parseppd.y:155:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ppdfilename [valueFlowBailoutIncompleteVar] parseppd.c:1021:3: style: The comparison '0 <= yystate' is always true. [knownConditionTrueFalse] parseppd.c:963:31: note: 'yystate' is assigned value '0' here. parseppd.c:1021:3: note: The comparison '0 <= yystate' is always true. parseppd.c:846:29: style: Parameter 'yybottom' can be declared as pointer to const [constParameterPointer] parseppd.c:846:51: style: Parameter 'yytop' can be declared as pointer to const [constParameterPointer] parseppd.c:869:30: style: Parameter 'yyssp' can be declared as pointer to const [constParameterPointer] a2ps-4.15.7/liba2ps/printlen.h:28: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.7/liba2ps/regex.c:4854:25: debug: Function::addArguments found argument 'end' with varid 0. [varid0] a2ps-4.15.7/liba2ps/regex.c:4963:24: debug: Function::addArguments found argument 'end' with varid 0. [varid0] a2ps-4.15.7/liba2ps/regex.c:5000:25: debug: Function::addArguments found argument 'end' with varid 0. [varid0] a2ps-4.15.7/liba2ps/regex.c:1711:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] a2ps-4.15.7/liba2ps/regex.c:2797:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_NO_BK_PARENS [valueFlowBailoutIncompleteVar] a2ps-4.15.7/liba2ps/regex.c:2817:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_NO_BK_PARENS [valueFlowBailoutIncompleteVar] a2ps-4.15.7/liba2ps/regex.c:2869:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ERANGE [valueFlowBailoutIncompleteVar] a2ps-4.15.7/liba2ps/regex.c:3030:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_DOT_NEWLINE [valueFlowBailoutIncompleteVar] a2ps-4.15.7/liba2ps/regex.c:3193:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_REALLOCATE [valueFlowBailoutIncompleteVar] a2ps-4.15.7/liba2ps/regex.c:3834:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_UNALLOCATED [valueFlowBailoutIncompleteVar] a2ps-4.15.7/liba2ps/regex.c:4861:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end [valueFlowBailoutIncompleteVar] a2ps-4.15.7/liba2ps/regex.c:4969:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end [valueFlowBailoutIncompleteVar] a2ps-4.15.7/liba2ps/regex.c:5024:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end [valueFlowBailoutIncompleteVar] a2ps-4.15.7/liba2ps/regex.c:5118:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_UNALLOCATED [valueFlowBailoutIncompleteVar] a2ps-4.15.7/liba2ps/regex.c:2367:19: style: Redundant condition: syntax&RE_INTERVALS. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] a2ps-4.15.7/liba2ps/regex.c:1746:26: error: Memory leak: compile_stack.stack [memleak] a2ps-4.15.7/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.7/liba2ps/regex.c:4568:13: note: reg_dummy[this_reg] is assigned a2ps-4.15.7/liba2ps/regex.c:4568:13: note: reg_dummy[this_reg] is overwritten a2ps-4.15.7/liba2ps/regex.c:2817:34: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] a2ps-4.15.7/liba2ps/regex.c:2820:32: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] a2ps-4.15.7/liba2ps/regex.c:2888:40: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] a2ps-4.15.7/liba2ps/regex.c:1768:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:1783:16: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:1876:17: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:1901:13: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:1915:17: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:1925:11: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:1937:6: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:1943:13: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:1951:13: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:2232:19: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:2264:19: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:2310:21: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:2326:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:2354:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:2441:22: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:2460:22: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:2535:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:2543:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:2550:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:2556:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:2562:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:2568:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:2574:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:2580:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:2598:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:2646:8: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:2650:4: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:2668:5: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:3261:18: style: Variable 'fastmap' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:3546:18: style: Variable 'just_past_start_mem' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:4564:28: style: Variable 'pdummy' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/regex.c:4568:13: style: Variable 'sdummy' is assigned a value that is never used. [unreadVariable] a2ps-4.15.7/liba2ps/regex.c:4568:13: style: Variable 'pdummy' is assigned a value that is never used. [unreadVariable] a2ps-4.15.7/liba2ps/regex.c:4187:19: style: Unused variable: destination [unusedVariable] a2ps-4.15.7/liba2ps/regex.c:4341:11: style: Unused variable: destination [unusedVariable] a2ps-4.15.7/liba2ps/regex.c:4398:11: style: Unused variable: destination [unusedVariable] a2ps-4.15.7/liba2ps/regex.c:4611:11: style: Unused variable: destination [unusedVariable] a2ps-4.15.7/liba2ps/regex.c:4624:11: style: Unused variable: destination [unusedVariable] a2ps-4.15.7/liba2ps/routines.c:116:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] a2ps-4.15.7/liba2ps/routines.c:149:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] a2ps-4.15.7/liba2ps/routines.c:179:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] a2ps-4.15.7/liba2ps/routines.c:194:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] a2ps-4.15.7/liba2ps/routines.c:207:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] a2ps-4.15.7/liba2ps/routines.c:237:2: error: Common realloc mistake: 'tempfiles' nulled but not freed upon failure [memleakOnRealloc] a2ps-4.15.7/liba2ps/routines.c:145:22: style:inconclusive: Function 'xpopen' argument 1 names different: declaration 'command' definition 'filename'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/routines.h:156:29: note: Function 'xpopen' argument 1 names different: declaration 'command' definition 'filename'. a2ps-4.15.7/liba2ps/routines.c:145:22: note: Function 'xpopen' argument 1 names different: declaration 'command' definition 'filename'. a2ps-4.15.7/liba2ps/routines.c:161:23: style:inconclusive: Function 'xrpopen' argument 1 names different: declaration 'command' definition 'filename'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/routines.h:159:30: note: Function 'xrpopen' argument 1 names different: declaration 'command' definition 'filename'. a2ps-4.15.7/liba2ps/routines.c:161:23: note: Function 'xrpopen' argument 1 names different: declaration 'command' definition 'filename'. a2ps-4.15.7/liba2ps/routines.c:167:23: style:inconclusive: Function 'xwpopen' argument 1 names different: declaration 'command' definition 'filename'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/routines.h:160:30: note: Function 'xwpopen' argument 1 names different: declaration 'command' definition 'filename'. a2ps-4.15.7/liba2ps/routines.c:167:23: note: Function 'xwpopen' argument 1 names different: declaration 'command' definition 'filename'. a2ps-4.15.7/liba2ps/routines.c:228:26: style:inconclusive: Function 'safe_tempnam' argument 1 names different: declaration '' definition 'pfx'. [funcArgNamesDifferentUnnamed] a2ps-4.15.7/liba2ps/str_ht.c:35: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.7/liba2ps/str_ht.c:71:21: note: You might need to cast the function pointer here a2ps-4.15.7/liba2ps/str_ht.c:35:22: note: Parameter 'string' can be declared as pointer to const a2ps-4.15.7/liba2ps/str_ht.c:41: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.7/liba2ps/str_ht.c:72:21: note: You might need to cast the function pointer here a2ps-4.15.7/liba2ps/str_ht.c:41:22: note: Parameter 'string' can be declared as pointer to const a2ps-4.15.7/liba2ps/str_ht.c:47: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.7/liba2ps/str_ht.c:73:25: note: You might need to cast the function pointer here a2ps-4.15.7/liba2ps/str_ht.c:47:24: note: Parameter 'x' can be declared as pointer to const a2ps-4.15.7/liba2ps/str_ht.c:47: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.7/liba2ps/str_ht.c:73:25: note: You might need to cast the function pointer here a2ps-4.15.7/liba2ps/str_ht.c:47:33: note: Parameter 'y' can be declared as pointer to const a2ps-4.15.7/liba2ps/stream.c:43:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] a2ps-4.15.7/liba2ps/stream.c:74:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] a2ps-4.15.7/liba2ps/stream.c:85:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_backups [valueFlowBailoutIncompleteVar] a2ps-4.15.7/liba2ps/stream.c:116:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] a2ps-4.15.7/liba2ps/stream.c:136:9: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] a2ps-4.15.7/liba2ps/title.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] a2ps-4.15.7/liba2ps/tterm.c:108:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LONGINT_OK [valueFlowBailoutIncompleteVar] a2ps-4.15.7/liba2ps/tterm.c:70:17: style: Variable 't' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/tterm.c:91:17: style: Variable 't' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/userdata.c:36: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.7/liba2ps/userdata.c:71:12: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] a2ps-4.15.7/liba2ps/userdata.c:89:12: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] a2ps-4.15.7/liba2ps/userdata.c:32:18: style: Variable 'passwd' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/userdata.c:34:27: style: Variable 'name' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/liba2ps/xbackupfile.c:42:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] a2ps-4.15.7/liba2ps/xbackupfile.c:92:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] a2ps-4.15.7/liba2ps/xbackupfile.c:141:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] a2ps-4.15.7/liba2ps/xbackupfile.c:105:10: style: Variable 'backup' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/src/buffer.c:195:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/buffer.c:292:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/buffer.c:451:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/buffer.c:179:48: style:inconclusive: Function 'buffer_set_lower_case' argument 2 names different: declaration 'lower_case' definition 'sensitive'. [funcArgNamesDifferent] a2ps-4.15.7/src/buffer.h:84:53: note: Function 'buffer_set_lower_case' argument 2 names different: declaration 'lower_case' definition 'sensitive'. a2ps-4.15.7/src/buffer.c:179:48: note: Function 'buffer_set_lower_case' argument 2 names different: declaration 'lower_case' definition 'sensitive'. a2ps-4.15.7/src/buffer.c:305:13: style: Variable 'd' is assigned a value that is never used. [unreadVariable] a2ps-4.15.7/src/buffer.c:342:13: style: Variable 'd' is assigned a value that is never used. [unreadVariable] a2ps-4.15.7/src/buffer.c:390:18: style: Variable 'line_ended_p' is assigned a value that is never used. [unreadVariable] a2ps-4.15.7/src/delegate.c:89:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash_table_s [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/delegate.c:223:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_file [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/delegate.c:123: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.7/src/delegate.c:127: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.7/src/delegate.c:129: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.7/src/delegate.c:134: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.7/src/delegate.c:278: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.7/src/delegate.c:283: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.7/src/delegate.c:292: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.7/src/delegate.c:293: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.7/src/delegate.c:358: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.7/src/delegate.c:359: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.7/src/delegate.c:365:1: error: Memory leak: cp [memleak] a2ps-4.15.7/src/delegate.c:125:29: warning: Either the condition 'cp==NULL' is redundant or there is possible null pointer dereference: cp. [nullPointerRedundantCheck] a2ps-4.15.7/src/delegate.c:124:3: note: Assuming that condition 'cp==NULL' is not redundant a2ps-4.15.7/src/delegate.c:125:29: note: Null pointer dereference a2ps-4.15.7/src/delegate.c:131:56: warning: Either the condition 'cp2==NULL' is redundant or there is possible null pointer dereference: cp2. [nullPointerRedundantCheck] a2ps-4.15.7/src/delegate.c:130:3: note: Assuming that condition 'cp2==NULL' is not redundant a2ps-4.15.7/src/delegate.c:131:56: note: Null pointer dereference a2ps-4.15.7/src/delegate.c:132:45: warning: Either the condition 'cp2==NULL' is redundant or there is possible null pointer dereference: cp2. [nullPointerRedundantCheck] a2ps-4.15.7/src/delegate.c:130:3: note: Assuming that condition 'cp2==NULL' is not redundant a2ps-4.15.7/src/delegate.c:132:45: note: Null pointer dereference a2ps-4.15.7/src/delegate.c:136:45: warning: Either the condition 'cp==NULL' is redundant or there is possible null pointer dereference: cp. [nullPointerRedundantCheck] a2ps-4.15.7/src/delegate.c:135:3: note: Assuming that condition 'cp==NULL' is not redundant a2ps-4.15.7/src/delegate.c:136:45: note: Null pointer dereference a2ps-4.15.7/src/delegate.c:136:35: warning: Either the condition 'cp==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] a2ps-4.15.7/src/delegate.c:135:3: note: Assuming that condition 'cp==NULL' is not redundant a2ps-4.15.7/src/delegate.c:136:35: note: Null pointer addition a2ps-4.15.7/src/delegate.c:188:31: style:inconclusive: Function 'subcontract' argument 1 names different: declaration 'file' definition 'fjob'. [funcArgNamesDifferent] a2ps-4.15.7/src/delegate.h:45:36: note: Function 'subcontract' argument 1 names different: declaration 'file' definition 'fjob'. a2ps-4.15.7/src/delegate.c:188:31: note: Function 'subcontract' argument 1 names different: declaration 'file' definition 'fjob'. a2ps-4.15.7/src/delegate.c:72: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.7/src/delegate.c:405:44: note: You might need to cast the function pointer here a2ps-4.15.7/src/delegate.c:72:39: note: Parameter 'delegation' can be declared as pointer to const a2ps-4.15.7/src/delegate.c:78: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.7/src/delegate.c:406:44: note: You might need to cast the function pointer here a2ps-4.15.7/src/delegate.c:78:41: note: Parameter 'delegation' can be declared as pointer to const a2ps-4.15.7/src/delegate.c:116:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/src/delegate.c:116:14: style: Variable 'cp2' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/src/delegate.c:354:50: style: Parameter 'contract' can be declared as pointer to const [constParameterPointer] a2ps-4.15.7/src/delegate.c:356:14: style: Variable 'cp2' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/src/ffaces.c:90:34: style:inconclusive: Function 'fface_self_print' argument 1 names different: declaration 'face' definition 'fface'. [funcArgNamesDifferent] a2ps-4.15.7/src/ffaces.h:66:39: note: Function 'fface_self_print' argument 1 names different: declaration 'face' definition 'fface'. a2ps-4.15.7/src/ffaces.c:90:34: note: Function 'fface_self_print' argument 1 names different: declaration 'face' definition 'fface'. a2ps-4.15.7/src/generate.c:68:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/generate.c:136:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/generate.c:159:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_report2 [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/generate.c:199:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_report1 [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/generate.c:231:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_report1 [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/generate.c:292:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_file [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/generate.c:374:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/generate.c:102: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.7/src/generate.c:184:35: style:inconclusive: Function 'msg_job_pages_printed' argument 1 names different: declaration 'job' definition 'Job'. [funcArgNamesDifferent] a2ps-4.15.7/src/generate.h:26:40: note: Function 'msg_job_pages_printed' argument 1 names different: declaration 'job' definition 'Job'. a2ps-4.15.7/src/generate.c:184:35: note: Function 'msg_job_pages_printed' argument 1 names different: declaration 'job' definition 'Job'. a2ps-4.15.7/src/generate.c:265:15: style:inconclusive: Function 'print' argument 1 names different: declaration 'name' definition 'filename'. [funcArgNamesDifferent] a2ps-4.15.7/src/generate.h:22:20: note: Function 'print' argument 1 names different: declaration 'name' definition 'filename'. a2ps-4.15.7/src/generate.c:265:15: note: Function 'print' argument 1 names different: declaration 'name' definition 'filename'. a2ps-4.15.7/src/generate.c:364:15: style:inconclusive: Function 'guess' argument 1 names different: declaration 'name' definition 'filename'. [funcArgNamesDifferent] a2ps-4.15.7/src/generate.h:29:20: note: Function 'guess' argument 1 names different: declaration 'name' definition 'filename'. a2ps-4.15.7/src/generate.c:364:15: note: Function 'guess' argument 1 names different: declaration 'name' definition 'filename'. a2ps-4.15.7/src/generate.c:57:14: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/src/generate.c:367: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.7/src/main.c:193:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG2STR_MAX [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/main.c:328:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/main.c:541:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/main.c:883:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_min_max [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/main.c:926:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_TIME [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/main.c:555:25: warning: If resource allocation fails, then there is a possible null pointer dereference: spy [nullPointerOutOfResources] a2ps-4.15.7/src/main.c:547:15: note: Assuming allocation function fails a2ps-4.15.7/src/main.c:547:15: note: Assignment 'spy=fopen(spyname,"w")', assigned value is 0 a2ps-4.15.7/src/main.c:555:25: note: Null pointer dereference a2ps-4.15.7/src/main.c:573:36: warning: If resource allocation fails, then there is a possible null pointer dereference: spy [nullPointerOutOfResources] a2ps-4.15.7/src/main.c:569:15: note: Assuming allocation function fails a2ps-4.15.7/src/main.c:569:15: note: Assignment 'spy=fopen(spyname,"r")', assigned value is 0 a2ps-4.15.7/src/main.c:573:36: note: Null pointer dereference a2ps-4.15.7/src/main.c:1049:10: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/src/main.c:1158:24: style: Variable 'file_job' can be declared as pointer to const [constVariablePointer] parsessh.c:1106:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parsessh.c:1133:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parsessh.c:1195:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parsessh.c:1258:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parsessh.y:738:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_file [valueFlowBailoutIncompleteVar] parsessh.c:2345:18: style: Condition '0<=yyi' is always true [knownConditionTrueFalse] parsessh.c:2344:36: note: Assignment 'yyi=yypgoto[yylhs]+*yyssp', assigned value is greater than -1 parsessh.c:2345:18: note: Condition '0<=yyi' is always true parsessh.c:1279:3: style: The comparison '0 <= yystate' is always true. [knownConditionTrueFalse] parsessh.c:1221:31: note: 'yystate' is assigned value '0' here. parsessh.c:1279:3: note: The comparison '0 <= yystate' is always true. parsessh.c:1071:70: style: Parameter 'yyvaluep' can be declared as pointer to const [constParameterPointer] parsessh.c:1104:29: style: Parameter 'yybottom' can be declared as pointer to const [constParameterPointer] parsessh.c:1104:51: style: Parameter 'yytop' can be declared as pointer to const [constParameterPointer] parsessh.c:1127:30: style: Parameter 'yyssp' can be declared as pointer to const [constParameterPointer] parsessh.c:1189:25: style: Parameter 'yymsg' can be declared as pointer to const [constParameterPointer] parsessh.y:745:7: style: Variable 'res' is assigned a value that is never used. [unreadVariable] a2ps-4.15.7/src/read.c:47:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/read.c:194:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Plain [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/read.c:192:36: style:inconclusive: Function 'plain_print_postscript' argument 1 names different: declaration 'job' definition 'Job'. [funcArgNamesDifferent] a2ps-4.15.7/src/read.h:26:48: note: Function 'plain_print_postscript' argument 1 names different: declaration 'job' definition 'Job'. a2ps-4.15.7/src/read.c:192:36: note: Function 'plain_print_postscript' argument 1 names different: declaration 'job' definition 'Job'. a2ps-4.15.7/src/select.c:94:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable da_linear [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/select.c:181:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_tool [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/select.c:257:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable on_file_verdict [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/select.c:209:11: warning: Either the condition 'cp' is redundant or there is possible null pointer dereference: cp. [nullPointerRedundantCheck] a2ps-4.15.7/src/select.c:214:11: note: Assuming that condition 'cp' is not redundant a2ps-4.15.7/src/select.c:209:11: note: Null pointer dereference a2ps-4.15.7/src/select.c:212:8: warning: Either the condition 'cp' is redundant or there is possible null pointer dereference: cp. [nullPointerRedundantCheck] a2ps-4.15.7/src/select.c:214:11: note: Assuming that condition 'cp' is not redundant a2ps-4.15.7/src/select.c:212:8: note: Null pointer dereference a2ps-4.15.7/src/select.c:99:65: style:inconclusive: Function 'sheets_map_add' argument 3 names different: declaration 'insenstive' definition 'insensitive_p'. [funcArgNamesDifferent] a2ps-4.15.7/src/select.h:36:9: note: Function 'sheets_map_add' argument 3 names different: declaration 'insenstive' definition 'insensitive_p'. a2ps-4.15.7/src/select.c:99:65: note: Function 'sheets_map_add' argument 3 names different: declaration 'insenstive' definition 'insensitive_p'. a2ps-4.15.7/src/select.c:113:10: style: Variable 'file' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/src/select.c:194:10: style: Variable 'res' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/src/select.c:230: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.7/src/ssheet.c:161:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/ssheet.c:179:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable da_geometrical [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/ssheet.c:191:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable da_geometrical [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/ssheet.c:206:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable face [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/ssheet.c:271:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_pattern_buffer [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/ssheet.c:395:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable da_linear [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/ssheet.c:455:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable da_2_wins [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/ssheet.c:487:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable da_linear [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/ssheet.c:513:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable da_1_wins [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/ssheet.c:669:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable da_linear [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/ssheet.c:710:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_sheet [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/ssheet.c:731:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_sheet [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/ssheet.c:1111:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_sheet [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/ssheet.c:1163:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_sheet [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/ssheet.c:1194:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable word [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/ssheet.c:1279:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable word [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/ssheet.c:1354:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash_table [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/ssheet.c:1003:3: warning: Buffer 'version_index' is too small, the function 'style_sheets_versions' expects a bigger buffer in 2nd argument [argumentSize] a2ps-4.15.7/src/ssheet.c:1003:3: note: Function 'style_sheets_versions' is called a2ps-4.15.7/src/ssheet.c:1439:14: note: Declaration of 2nd function argument. a2ps-4.15.7/src/ssheet.c:999:13: note: Passing buffer 'version_index' to function that is declared here a2ps-4.15.7/src/ssheet.c:1003:3: note: Buffer 'version_index' is too small, the function 'style_sheets_versions' expects a bigger buffer in 2nd argument a2ps-4.15.7/src/ssheet.c:1003:3: warning: Buffer 'requirement' is too small, the function 'style_sheets_versions' expects a bigger buffer in 3rd argument [argumentSize] a2ps-4.15.7/src/ssheet.c:1003:3: note: Function 'style_sheets_versions' is called a2ps-4.15.7/src/ssheet.c:1439:27: note: Declaration of 3rd function argument. a2ps-4.15.7/src/ssheet.c:999:28: note: Passing buffer 'requirement' to function that is declared here a2ps-4.15.7/src/ssheet.c:1003:3: note: Buffer 'requirement' is too small, the function 'style_sheets_versions' expects a bigger buffer in 3rd argument a2ps-4.15.7/src/ssheet.c:1159:3: warning: Buffer 'version_index' is too small, the function 'style_sheets_versions' expects a bigger buffer in 2nd argument [argumentSize] a2ps-4.15.7/src/ssheet.c:1159:3: note: Function 'style_sheets_versions' is called a2ps-4.15.7/src/ssheet.c:1439:14: note: Declaration of 2nd function argument. a2ps-4.15.7/src/ssheet.c:1151:13: note: Passing buffer 'version_index' to function that is declared here a2ps-4.15.7/src/ssheet.c:1159:3: note: Buffer 'version_index' is too small, the function 'style_sheets_versions' expects a bigger buffer in 2nd argument a2ps-4.15.7/src/ssheet.c:1159:3: warning: Buffer 'requirement' is too small, the function 'style_sheets_versions' expects a bigger buffer in 3rd argument [argumentSize] a2ps-4.15.7/src/ssheet.c:1159:3: note: Function 'style_sheets_versions' is called a2ps-4.15.7/src/ssheet.c:1439:27: note: Declaration of 3rd function argument. a2ps-4.15.7/src/ssheet.c:1151:28: note: Passing buffer 'requirement' to function that is declared here a2ps-4.15.7/src/ssheet.c:1159:3: note: Buffer 'requirement' is too small, the function 'style_sheets_versions' expects a bigger buffer in 3rd argument a2ps-4.15.7/src/ssheet.c:694: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.7/src/ssheet.c:699: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.7/src/ssheet.c:714:24: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: key [nullPointerOutOfMemory] a2ps-4.15.7/src/ssheet.c:707:17: note: Assuming allocation function fails a2ps-4.15.7/src/ssheet.c:707:17: note: Assignment 'key=xstrdup(key)', assigned value is 0 a2ps-4.15.7/src/ssheet.c:714:24: note: Null pointer dereference a2ps-4.15.7/src/ssheet.c:107:62: style:inconclusive: Function 'faced_string_new' argument 3 names different: declaration 'fface' definition 'face'. [funcArgNamesDifferent] a2ps-4.15.7/src/ssheet.h:146:62: note: Function 'faced_string_new' argument 3 names different: declaration 'fface' definition 'face'. a2ps-4.15.7/src/ssheet.c:107:62: note: Function 'faced_string_new' argument 3 names different: declaration 'fface' definition 'face'. a2ps-4.15.7/src/ssheet.c:188:60: style:inconclusive: Function 'rhs_new_single' argument 3 names different: declaration 'fface' definition 'face'. [funcArgNamesDifferent] a2ps-4.15.7/src/ssheet.h:161:60: note: Function 'rhs_new_single' argument 3 names different: declaration 'fface' definition 'face'. a2ps-4.15.7/src/ssheet.c:188:60: note: Function 'rhs_new_single' argument 3 names different: declaration 'fface' definition 'face'. a2ps-4.15.7/src/ssheet.c:292:20: style:inconclusive: Function 'rule_new' argument 3 names different: declaration 'destination' definition 'rhs'. [funcArgNamesDifferent] a2ps-4.15.7/src/ssheet.h:170:21: note: Function 'rule_new' argument 3 names different: declaration 'destination' definition 'rhs'. a2ps-4.15.7/src/ssheet.c:292:20: note: Function 'rule_new' argument 3 names different: declaration 'destination' definition 'rhs'. a2ps-4.15.7/src/ssheet.c:316:21: style:inconclusive: Function 'keyword_rule_new' argument 3 names different: declaration 'destination' definition 'rhs'. [funcArgNamesDifferent] a2ps-4.15.7/src/ssheet.h:174:22: note: Function 'keyword_rule_new' argument 3 names different: declaration 'destination' definition 'rhs'. a2ps-4.15.7/src/ssheet.c:316:21: note: Function 'keyword_rule_new' argument 3 names different: declaration 'destination' definition 'rhs'. a2ps-4.15.7/src/ssheet.c:631:40: style:inconclusive: Function 'sequence_self_print' argument 1 names different: declaration 'v' definition 'tmp'. [funcArgNamesDifferent] a2ps-4.15.7/src/ssheet.h:189:45: note: Function 'sequence_self_print' argument 1 names different: declaration 'v' definition 'tmp'. a2ps-4.15.7/src/ssheet.c:631:40: note: Function 'sequence_self_print' argument 1 names different: declaration 'v' definition 'tmp'. a2ps-4.15.7/src/ssheet.c:913:32: style:inconclusive: Function 'list_style_sheets_long' argument 1 names different: declaration 'strea' definition 'stream'. [funcArgNamesDifferent] a2ps-4.15.7/src/ssheet.h:225:37: note: Function 'list_style_sheets_long' argument 1 names different: declaration 'strea' definition 'stream'. a2ps-4.15.7/src/ssheet.c:913:32: note: Function 'list_style_sheets_long' argument 1 names different: declaration 'strea' definition 'stream'. a2ps-4.15.7/src/ssheet.c:994:32: style:inconclusive: Function 'list_style_sheets_html' argument 1 names different: declaration 'strea' definition 'stream'. [funcArgNamesDifferent] a2ps-4.15.7/src/ssheet.h:226:37: note: Function 'list_style_sheets_html' argument 1 names different: declaration 'strea' definition 'stream'. a2ps-4.15.7/src/ssheet.c:994:32: note: Function 'list_style_sheets_html' argument 1 names different: declaration 'strea' definition 'stream'. a2ps-4.15.7/src/ssheet.c:1146:35: style:inconclusive: Function 'list_style_sheets_texinfo' argument 1 names different: declaration 'strea' definition 'stream'. [funcArgNamesDifferent] a2ps-4.15.7/src/ssheet.h:227:40: note: Function 'list_style_sheets_texinfo' argument 1 names different: declaration 'strea' definition 'stream'. a2ps-4.15.7/src/ssheet.c:1146:35: note: Function 'list_style_sheets_texinfo' argument 1 names different: declaration 'strea' definition 'stream'. a2ps-4.15.7/src/ssheet.c:1397:31: style:inconclusive: Function 'get_style_sheet' argument 1 names different: declaration 'name' definition 'key'. [funcArgNamesDifferent] a2ps-4.15.7/src/ssheet.h:216:52: note: Function 'get_style_sheet' argument 1 names different: declaration 'name' definition 'key'. a2ps-4.15.7/src/ssheet.c:1397:31: note: Function 'get_style_sheet' argument 1 names different: declaration 'name' definition 'key'. a2ps-4.15.7/src/ssheet.c:76:37: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] a2ps-4.15.7/src/ssheet.c:120: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.7/src/ssheet.c:192:21: note: You might need to cast the function pointer here a2ps-4.15.7/src/ssheet.c:120:48: note: Parameter 'faced_string' can be declared as pointer to const a2ps-4.15.7/src/ssheet.c:343: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.7/src/ssheet.c:397:21: note: You might need to cast the function pointer here a2ps-4.15.7/src/ssheet.c:343:25: note: Parameter 'k1' can be declared as pointer to const a2ps-4.15.7/src/ssheet.c:343: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.7/src/ssheet.c:397:21: note: You might need to cast the function pointer here a2ps-4.15.7/src/ssheet.c:343:43: note: Parameter 'k2' can be declared as pointer to const a2ps-4.15.7/src/ssheet.c:683:31: style: Variable 'ancestor' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/src/ssheet.c:792:14: style: Variable 'path' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/src/ssheet.c:1366:24: style: Variable 'item' can be declared as pointer to const [constVariablePointer] a2ps-4.15.7/src/ssheet.c:1438:40: style: Parameter 'keys' can be declared as pointer to const [constParameterPointer] a2ps-4.15.7/src/ssheet.c:319:22: style: Variable 'pattern_len' is assigned a value that is never used. [unreadVariable] a2ps-4.15.7/src/sshread.c:66:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_registers [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/sshread.c:112:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable face [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/sshread.c:156:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regex [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/sshread.c:207:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regex [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/sshread.c:245:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regex [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/sshread.c:313:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable face [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/sshread.c:412:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable face [valueFlowBailoutIncompleteVar] a2ps-4.15.7/src/sshread.c:386:40: style:inconclusive: Function 'ssh_print_postscript' argument 1 names different: declaration 'job' definition 'Job'. [funcArgNamesDifferent] a2ps-4.15.7/src/sshread.h:28:46: note: Function 'ssh_print_postscript' argument 1 names different: declaration 'job' definition 'Job'. a2ps-4.15.7/src/sshread.c:386:40: note: Function 'ssh_print_postscript' argument 1 names different: declaration 'job' definition 'Job'. a2ps-4.15.7/src/sshread.c:102:52: style: Parameter 'sheet' can be declared as pointer to const [constParameterPointer] a2ps-4.15.7/src/sshread.c:129:25: style: Parameter 'alphabet' can be declared as pointer to const [constParameterPointer] a2ps-4.15.7/src/versions.c:113:33: style:inconclusive: Function 'string_to_version' argument 1 names different: declaration 'string' definition 'version_string'. [funcArgNamesDifferent] a2ps-4.15.7/src/versions.h:42:37: note: Function 'string_to_version' argument 1 names different: declaration 'string' definition 'version_string'. a2ps-4.15.7/src/versions.c:113:33: note: Function 'string_to_version' argument 1 names different: declaration 'string' definition 'version_string'. diff: head a2ps-4.15.7/lib/argmatch.c:191:28: style:inconclusive: Function '__xargmatch_internal' argument 7 names different: declaration '' definition 'allow_abbreviation'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/creat-safer.c:28:26: style:inconclusive: Function 'creat_safer' argument 1 names different: declaration '' definition 'file'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/creat-safer.c:28:39: style:inconclusive: Function 'creat_safer' argument 2 names different: declaration '' definition 'mode'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/dup-safer.c:31:16: style:inconclusive: Function 'dup_safer' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/fd-safer.c:37:15: style:inconclusive: Function 'fd_safer' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/obstack.c:149:33: style:inconclusive: Function '_obstack_begin' argument 1 names different: declaration '' definition 'h'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/obstack.c:150:33: style:inconclusive: Function '_obstack_begin' argument 2 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/obstack.c:150:55: style:inconclusive: Function '_obstack_begin' argument 3 names different: declaration '' definition 'alignment'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/obstack.c:151:25: style:inconclusive: Function '_obstack_begin' argument 4 names different: declaration '' definition 'chunkfun'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/obstack.c:152:24: style:inconclusive: Function '_obstack_begin' argument 5 names different: declaration '' definition 'freefun'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/obstack.c:161:35: style:inconclusive: Function '_obstack_begin_1' argument 1 names different: declaration '' definition 'h'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/obstack.c:162:35: style:inconclusive: Function '_obstack_begin_1' argument 2 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/obstack.c:162:57: style:inconclusive: Function '_obstack_begin_1' argument 3 names different: declaration '' definition 'alignment'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/obstack.c:163:27: style:inconclusive: Function '_obstack_begin_1' argument 4 names different: declaration '' definition 'chunkfun'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/obstack.c:164:26: style:inconclusive: Function '_obstack_begin_1' argument 5 names different: declaration '' definition 'freefun'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/obstack.c:165:25: style:inconclusive: Function '_obstack_begin_1' argument 6 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/obstack.c:181:36: style:inconclusive: Function '_obstack_newchunk' argument 1 names different: declaration '' definition 'h'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/obstack.c:181:55: style:inconclusive: Function '_obstack_newchunk' argument 2 names different: declaration '' definition 'length'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/obstack.c:261:32: style:inconclusive: Function '_obstack_free' argument 1 names different: declaration '' definition 'h'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/obstack.c:261:41: style:inconclusive: Function '_obstack_free' argument 2 names different: declaration '' definition 'obj'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/open-safer.c:29:25: style:inconclusive: Function 'open_safer' argument 1 names different: declaration '' definition 'file'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/open-safer.c:29:35: style:inconclusive: Function 'open_safer' argument 2 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/openat-proc.c:47:53: style:inconclusive: Function 'openat_proc_name' argument 2 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/openat-proc.c:47:69: style:inconclusive: Function 'openat_proc_name' argument 3 names different: declaration '' definition 'file'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/pipe-safer.c:31:17: style:inconclusive: Function 'pipe_safer' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/renameatu.c:100:25: style:inconclusive: Function 'renameatu' argument 5 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/renameatu.c:99:16: style:inconclusive: Function 'renameatu' argument 1 names different: declaration '' definition 'fd1'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/renameatu.c:99:33: style:inconclusive: Function 'renameatu' argument 2 names different: declaration '' definition 'src'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/renameatu.c:99:42: style:inconclusive: Function 'renameatu' argument 3 names different: declaration '' definition 'fd2'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/renameatu.c:99:59: style:inconclusive: Function 'renameatu' argument 4 names different: declaration '' definition 'dst'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/sig2str.c:319:22: style:inconclusive: Function 'str2sig' argument 1 names different: declaration '' definition 'signame'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/sig2str.c:319:36: style:inconclusive: Function 'str2sig' argument 2 names different: declaration '' definition 'signum'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/sig2str.c:330:14: style:inconclusive: Function 'sig2str' argument 1 names different: declaration '' definition 'signum'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/sig2str.c:330:28: style:inconclusive: Function 'sig2str' argument 2 names different: declaration '' definition 'signame'. [funcArgNamesDifferentUnnamed] 2.20.0 a2ps-4.15.7/lib/xstrtol.c:54:7: style: Comparing expression of type 'signed int' against value -2147483648. Condition is always false. [compareValueOutOfTypeRangeError] 2.20.0 a2ps-4.15.7/lib/xstrtol.c:54:7: style: Comparing expression of type 'signed int' against value -9223372036854775808. Condition is always false. [compareValueOutOfTypeRangeError] 2.20.0 a2ps-4.15.7/lib/xstrtol.c:54:7: style: Comparing expression of type 'signed int' against value -9223372036854775808. Condition is always true. [compareValueOutOfTypeRangeError] head a2ps-4.15.7/lib/xstrtol.c:54:7: style: Comparing expression of type 'signed int' against value 2147483647. Condition is always false. [compareValueOutOfTypeRangeError] head a2ps-4.15.7/lib/xstrtol.c:77:24: style:inconclusive: Function 'xstrtol' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/xstrtol.c:77:24: style:inconclusive: Function 'xstrtoul' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/xstrtol.c:77:34: style:inconclusive: Function 'xstrtol' argument 2 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/xstrtol.c:77:34: style:inconclusive: Function 'xstrtoul' argument 2 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/xstrtol.c:77:43: style:inconclusive: Function 'xstrtol' argument 3 names different: declaration '' definition 'strtol_base'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/xstrtol.c:77:43: style:inconclusive: Function 'xstrtoul' argument 3 names different: declaration '' definition 'strtol_base'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/xstrtol.c:78:24: style:inconclusive: Function 'xstrtol' argument 4 names different: declaration '' definition 'val'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/xstrtol.c:78:24: style:inconclusive: Function 'xstrtoul' argument 4 names different: declaration '' definition 'val'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/xstrtol.c:78:41: style:inconclusive: Function 'xstrtol' argument 5 names different: declaration '' definition 'valid_suffixes'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/lib/xstrtol.c:78:41: style:inconclusive: Function 'xstrtoul' argument 5 names different: declaration '' definition 'valid_suffixes'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/liba2ps/darray.c:407:19: style:inconclusive: Function 'da_qsort_with_arg' argument 3 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/liba2ps/darray.c:47:16: style:inconclusive: Function 'da_new' argument 6 names different: declaration '' definition 'cmp'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/liba2ps/darray.c:567:44: style:inconclusive: Function 'da_map' argument 2 names different: declaration 'func' definition 'fn'. [funcArgNamesDifferent] a2ps-4.15.7/liba2ps/darray.h:117:49: note: Function 'da_map' argument 2 names different: declaration 'func' definition 'fn'. a2ps-4.15.7/liba2ps/darray.c:567:44: note: Function 'da_map' argument 2 names different: declaration 'func' definition 'fn'. head a2ps-4.15.7/liba2ps/darray.c:579:63: style:inconclusive: Function 'da_maparg' argument 3 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/liba2ps/filtdir.c:50:38: style:inconclusive: Function 'filterdir' argument 3 names different: declaration '' definition 'filtarg'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/liba2ps/filtdir.c:51:21: style:inconclusive: Function 'filterdir' argument 4 names different: declaration '' definition 'fun'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/liba2ps/filtdir.c:51:32: style:inconclusive: Function 'filterdir' argument 5 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/liba2ps/hashtab.c:258:47: style:inconclusive: Function 'hash_dump_select' argument 4 names different: declaration '' definition 'compare'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/liba2ps/hashtab.c:292:20: style:inconclusive: Function 'hash_maparg' argument 3 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/liba2ps/hashtab.c:292:37: style:inconclusive: Function 'hash_maparg' argument 4 names different: declaration '' definition 'compare'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/liba2ps/hashtab.c:46:37: style:inconclusive: Function 'hash_init' argument 4 names different: declaration '' definition 'hash_2'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/liba2ps/hashtab.c:46:61: style:inconclusive: Function 'hash_init' argument 5 names different: declaration '' definition 'hash_cmp'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/liba2ps/lister.c:305:19: style:inconclusive: Function 'lister_fprint_vertical' argument 6 names different: declaration '' definition 'item_print_fn'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/liba2ps/lister.c:455:21: style:inconclusive: Function 'lister_fprint_horizontal' argument 6 names different: declaration '' definition 'item_print_fn'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/liba2ps/lister.c:549:20: style:inconclusive: Function 'lister_fprint_separated' argument 6 names different: declaration '' definition 'item_print_fn'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/liba2ps/pair_ht.c:232:23: style:inconclusive: Function 'pair_table_map' argument 3 names different: declaration '' definition 'select_fn'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/liba2ps/pair_ht.c:233:16: style:inconclusive: Function 'pair_table_map' argument 4 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] head a2ps-4.15.7/liba2ps/routines.c:228:26: style:inconclusive: Function 'safe_tempnam' argument 1 names different: declaration '' definition 'pfx'. [funcArgNamesDifferentUnnamed] 2.20.0 a2ps-4.15.7/src/main.c:329:15: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfResources] a2ps-4.15.7/src/main.c:547:15: note: Assuming allocation function fails a2ps-4.15.7/src/main.c:547:15: note: Assignment 'spy=fopen(spyname,"w")', assigned value is 0 a2ps-4.15.7/src/main.c:561:24: note: Calling function 'list_options', 2nd argument 'spy' value is 0 a2ps-4.15.7/src/main.c:329:15: note: Null pointer dereference 2.20.0 a2ps-4.15.7/src/main.c:332:12: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfResources] a2ps-4.15.7/src/main.c:547:15: note: Assuming allocation function fails a2ps-4.15.7/src/main.c:547:15: note: Assignment 'spy=fopen(spyname,"w")', assigned value is 0 a2ps-4.15.7/src/main.c:561:24: note: Calling function 'list_options', 2nd argument 'spy' value is 0 a2ps-4.15.7/src/main.c:332:12: note: Null pointer dereference 2.20.0 a2ps-4.15.7/src/main.c:345:15: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfResources] a2ps-4.15.7/src/main.c:547:15: note: Assuming allocation function fails a2ps-4.15.7/src/main.c:547:15: note: Assignment 'spy=fopen(spyname,"w")', assigned value is 0 a2ps-4.15.7/src/main.c:561:24: note: Calling function 'list_options', 2nd argument 'spy' value is 0 a2ps-4.15.7/src/main.c:345:15: note: Null pointer dereference 2.20.0 a2ps-4.15.7/src/main.c:559:3: warning: If resource allocation fails, then there is a possible null pointer dereference: spy [nullPointerOutOfResources] a2ps-4.15.7/src/main.c:547:15: note: Assuming allocation function fails a2ps-4.15.7/src/main.c:547:15: note: Assignment 'spy=fopen(spyname,"w")', assigned value is 0 a2ps-4.15.7/src/main.c:559:3: note: Null pointer dereference 2.20.0 a2ps-4.15.7/src/main.c:562:15: warning: If resource allocation fails, then there is a possible null pointer dereference: spy [nullPointerOutOfResources] a2ps-4.15.7/src/main.c:547:15: note: Assuming allocation function fails a2ps-4.15.7/src/main.c:547:15: note: Assignment 'spy=fopen(spyname,"w")', assigned value is 0 a2ps-4.15.7/src/main.c:562:15: note: Null pointer dereference 2.20.0 a2ps-4.15.7/src/main.c:564:23: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: spy [nullPointerOutOfResources] a2ps-4.15.7/src/main.c:547:15: note: Assuming allocation function fails a2ps-4.15.7/src/main.c:547:15: note: Assignment 'spy=fopen(spyname,"w")', assigned value is 0 a2ps-4.15.7/src/main.c:564:23: note: Null pointer dereference 2.20.0 a2ps-4.15.7/src/main.c:568:11: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: spy [nullPointerOutOfResources] a2ps-4.15.7/src/main.c:547:15: note: Assuming allocation function fails a2ps-4.15.7/src/main.c:547:15: note: Assignment 'spy=fopen(spyname,"w")', assigned value is 0 a2ps-4.15.7/src/main.c:568:11: note: Null pointer dereference head fonts.c:2300:27: style:inconclusive: Function 'afmalloc' argument 1 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] head fonts.c:2305:26: style:inconclusive: Function 'afmrealloc' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] head fonts.c:2305:42: style:inconclusive: Function 'afmrealloc' argument 2 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] head fonts.c:2318:21: style:inconclusive: Function 'afmfree' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] head lexppd.c:2507:27: style:inconclusive: Function 'ppdalloc' argument 1 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] head lexppd.c:2512:26: style:inconclusive: Function 'ppdrealloc' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] head lexppd.c:2512:42: style:inconclusive: Function 'ppdrealloc' argument 2 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] head lexppd.c:2525:21: style:inconclusive: Function 'ppdfree' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] head lexps.c:2044:27: style:inconclusive: Function 'psalloc' argument 1 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] head lexps.c:2049:26: style:inconclusive: Function 'psrealloc' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] head lexps.c:2049:42: style:inconclusive: Function 'psrealloc' argument 2 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] head lexps.c:2062:21: style:inconclusive: Function 'psfree' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] head lexssh.c:3817:27: style:inconclusive: Function 'sshalloc' argument 1 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] head lexssh.c:3822:26: style:inconclusive: Function 'sshrealloc' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] head lexssh.c:3822:42: style:inconclusive: Function 'sshrealloc' argument 2 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] head lexssh.c:3835:21: style:inconclusive: Function 'sshfree' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] head sheets-map.c:2415:27: style:inconclusive: Function 'smapalloc' argument 1 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] head sheets-map.c:2420:26: style:inconclusive: Function 'smaprealloc' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] head sheets-map.c:2420:42: style:inconclusive: Function 'smaprealloc' argument 2 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] head sheets-map.c:2433:21: style:inconclusive: Function 'smapfree' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] DONE