2024-04-24 07:41 ftp://ftp.de.debian.org/debian/pool/main/d/diffutils/diffutils_3.10.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --check-library --inconclusive --enable=style,information --inline-suppr --disable=missingInclude --suppress=unmatchedSuppression --template=daca2 --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j2 platform: Linux-6.6.15-amd64-x86_64-with-glibc2.37 python: 3.11.8 client-version: 1.3.53 compiler: g++ (Debian 13.2.0-13) 13.2.0 cppcheck: head 2.14.0 head-info: 7dab204 (2024-04-23 22:20:29 +0200) count: 819 819 elapsed-time: 16.9 17.0 head-timing-info: old-timing-info: head results: diffutils-3.10/gnulib-tests/w32sock.h:47:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/accept.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/vasnprintf.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/gnulib-tests/bind.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/connect.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/dtotimespec.c:35:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMESPEC_HZ [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/str-two-way.h:136:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/str-two-way.h:302:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/str-two-way.h:434:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/fdopen.c:59:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/getcwd-lgpl.c:56:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/c-strcasestr.c:41:27: style:inconclusive: Function 'c_strcasestr' argument 1 names different: declaration 'haystack' definition 'haystack_start'. [funcArgNamesDifferent] diffutils-3.10/gnulib-tests/c-strcasestr.h:28:40: note: Function 'c_strcasestr' argument 1 names different: declaration 'haystack' definition 'haystack_start'. diffutils-3.10/gnulib-tests/c-strcasestr.c:41:27: note: Function 'c_strcasestr' argument 1 names different: declaration 'haystack' definition 'haystack_start'. diffutils-3.10/gnulib-tests/c-strcasestr.c:41:55: style:inconclusive: Function 'c_strcasestr' argument 2 names different: declaration 'needle' definition 'needle_start'. [funcArgNamesDifferent] diffutils-3.10/gnulib-tests/c-strcasestr.h:28:62: note: Function 'c_strcasestr' argument 2 names different: declaration 'needle' definition 'needle_start'. diffutils-3.10/gnulib-tests/c-strcasestr.c:41:55: note: Function 'c_strcasestr' argument 2 names different: declaration 'needle' definition 'needle_start'. diffutils-3.10/gnulib-tests/hash-pjw.h:19:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/gnulib-tests/inet_pton.c:95:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/ioctl.c:68:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/inet_pton.c:152:16: error: Uninitialized variable: tmp [uninitvar] diffutils-3.10/gnulib-tests/inet_pton.c:150:14: note: Assuming condition is false diffutils-3.10/gnulib-tests/inet_pton.c:152:16: note: Uninitialized variable: tmp diffutils-3.10/gnulib-tests/listen.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/locale.c:54:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/perror.c:35:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STACKBUF_LEN [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/pipe.c:48:0: error: #error "This platform lacks a pipe function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] diffutils-3.10/gnulib-tests/xsize.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/gnulib-tests/pselect.c:48:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/pthread-thread.c:37:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_CREATE_JOINABLE [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/pthread-thread.c:44:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_CREATE_JOINABLE [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/pthread-thread.c:51:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_CREATE_JOINABLE [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/pthread-thread.c:142:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/pthread-thread.c:161:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/pthread-thread.c:168:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/pthread-thread.c:60:50: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] diffutils-3.10/gnulib-tests/pthread-thread.c:138:28: style: Parameter 'threadp' can be declared as pointer to const [constParameterPointer] diffutils-3.10/gnulib-tests/pthread-thread.c:139:57: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] diffutils-3.10/gnulib-tests/pthread-thread.c:172:21: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] diffutils-3.10/gnulib-tests/putenv.c:77:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/putenv.c:173:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/select.c:576:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/setsockopt.c:40:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/sleep.c:72:0: error: #error "Please port gnulib sleep.c to your platform, possibly using usleep() or select(), then report this to bug-gnulib." [preprocessorErrorDirective] diffutils-3.10/gnulib-tests/sockets.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/gnulib-tests/symlink.c:53:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/strerror_r.c:132:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/strerror_r.c:146:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/strerror_r.c:315:13: style: Variable 'errmsg' can be declared as pointer to const [constVariablePointer] diffutils-3.10/gnulib-tests/test-alignasof.c:84:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-alignasof.c:84:3: style: Modulo of one is always equal to zero [moduloofone] diffutils-3.10/gnulib-tests/test-alignasof.c:85:3: style: Modulo of one is always equal to zero [moduloofone] diffutils-3.10/gnulib-tests/test-alignasof.c:86:3: style: Modulo of one is always equal to zero [moduloofone] diffutils-3.10/gnulib-tests/test-alignasof.c:87:3: style: Modulo of one is always equal to zero [moduloofone] diffutils-3.10/gnulib-tests/test-alignasof.c:89:3: style: Modulo of one is always equal to zero [moduloofone] diffutils-3.10/gnulib-tests/test-alignasof.c:91:3: style: Modulo of one is always equal to zero [moduloofone] diffutils-3.10/gnulib-tests/test-alignasof.c:92:3: style: Modulo of one is always equal to zero [moduloofone] diffutils-3.10/gnulib-tests/test-alignasof.c:94:3: style: Modulo of one is always equal to zero [moduloofone] diffutils-3.10/gnulib-tests/test-alignasof.c:95:3: style: Modulo of one is always equal to zero [moduloofone] diffutils-3.10/gnulib-tests/test-alignasof.c:96:3: style: Modulo of one is always equal to zero [moduloofone] diffutils-3.10/gnulib-tests/test-alignasof.c:97:3: style: Modulo of one is always equal to zero [moduloofone] diffutils-3.10/gnulib-tests/test-areadlink.h:31:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-argmatch.c:71:1: error: There is an unknown macro here somewhere. Configuration is required. If ARGMATCH_DEFINE_GROUP is a macro then please configure it. [unknownMacro] diffutils-3.10/gnulib-tests/test-assert.c:30:8: error: Syntax Error: AST broken, 'assert' doesn't have two operands. [internalAstError] diffutils-3.10/gnulib-tests/test-binary-io.c:38:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-binary-io.c:33:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.10/gnulib-tests/test-btowc.c:37:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-btowc.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] diffutils-3.10/gnulib-tests/test-btowc.c:32:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.10/gnulib-tests/test-bitrotate.c:28:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-c-ctype.c:36:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-c-ctype.c:67:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-c-ctype.c:221:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-c-stack.c:65:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_failure [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-c-ctype.c:65:16: style: Condition '0<=c' is always true [knownConditionTrueFalse] diffutils-3.10/gnulib-tests/test-c-strcasecmp.c:35:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-c-strcasestr.c:34:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-c-strncasecmp.c:35:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-cloexec.c:57:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] diffutils-3.10/gnulib-tests/test-calloc-gnu.c:50:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-close.c:33:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-close.c:34:5: error: Invalid close() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] diffutils-3.10/gnulib-tests/test-calloc-gnu.c:38:5: style: Opposite expression on both sides of '&='. [oppositeExpression] diffutils-3.10/gnulib-tests/test-calloc-gnu.c:62:24: style: Variable 'p' can be declared as pointer to const [constVariablePointer] diffutils-3.10/gnulib-tests/test-dup2.c:70:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] diffutils-3.10/gnulib-tests/test-dynarray.c:47:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-dirname.c:140:13: style: Variable 'last' can be declared as pointer to const [constVariablePointer] diffutils-3.10/gnulib-tests/test-environ.c:33:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-environ.c:34:9: style: Variable 'string' can be declared as pointer to const [constVariablePointer] diffutils-3.10/gnulib-tests/test-errno.c:112:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-error.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-fcntl-h.c:52:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-exclude.c:113:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable add_exclude [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-fcntl.c:69:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] diffutils-3.10/gnulib-tests/test-fdopen.c:45:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-fdopen.c:46:13: error: Return value of allocation function 'fdopen' is not stored. [leakReturnValNotUsed] diffutils-3.10/gnulib-tests/test-fgetc.c:49:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-fgetc.c:73:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] diffutils-3.10/gnulib-tests/test-filenamecat.c:63:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-float.c:388:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-fnmatch.c:31:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-fopen-gnu.c:49:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-fopen.h:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-fopen.h:42:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] diffutils-3.10/gnulib-tests/test-fopen.h:52:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] diffutils-3.10/gnulib-tests/test-fopen.h:56:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] diffutils-3.10/gnulib-tests/test-fopen.h:61:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] diffutils-3.10/gnulib-tests/test-fopen.h:67:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] diffutils-3.10/gnulib-tests/test-fopen.h:71:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] diffutils-3.10/gnulib-tests/test-fopen.h:75:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] diffutils-3.10/gnulib-tests/test-fopen.h:79:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] diffutils-3.10/gnulib-tests/test-fputc.c:51:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-fread.c:49:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-fread.c:74:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] diffutils-3.10/gnulib-tests/test-fputc.c:65:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] diffutils-3.10/gnulib-tests/test-free.c:43:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-free.c:54:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-freopen.c:37:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-fstat.c:36:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-fstat.c:37:5: error: Invalid fstat() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] diffutils-3.10/gnulib-tests/test-ftruncate.c:36:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-ftruncate.c:30:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.10/gnulib-tests/test-fwrite.c:52:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-getcwd-lgpl.c:44:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-fwrite.c:66:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] diffutils-3.10/gnulib-tests/test-getdtablesize.c:36:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-getopt.h:40:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-getopt.h:113:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-getopt-main.h:51:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-getopt_long.h:55:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opterr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-getopt_long.h:126:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-getopt_long.h:1845:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-getopt_long.h:1952:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-getopt.h:91:11: style: Redundant initialization for 'posixly'. The initialized value is overwritten before it is read. [redundantInitialization] diffutils-3.10/gnulib-tests/test-getopt.h:85:16: note: posixly is initialized diffutils-3.10/gnulib-tests/test-getopt.h:91:11: note: posixly is overwritten diffutils-3.10/gnulib-tests/test-getprogname.c:55:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXEEXT [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-getrandom.c:43:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-gettimeofday.c:47:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-gettimeofday.c:60:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-gettimeofday.c:42:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] diffutils-3.10/gnulib-tests/test-gettimeofday.c:39:14: style: Variable 'lt' can be declared as pointer to const [constVariablePointer] diffutils-3.10/gnulib-tests/test-hard-locale.c:34:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-hard-locale.c:97:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_CTYPE [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-getopt_long.h:1586:9: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] diffutils-3.10/gnulib-tests/test-getopt_long.h:1583:29: note: outer condition: non_options_count==2 diffutils-3.10/gnulib-tests/test-getopt_long.h:1586:9: note: opposite inner condition: !(non_options_count==2) diffutils-3.10/gnulib-tests/test-getopt_long.h:108:56: warning: Possible null pointer dereference: longopts [nullPointer] diffutils-3.10/gnulib-tests/test-getopt_long.h:331:43: note: Calling function 'do_getopt_long', 4th argument 'NULL' value is 0 diffutils-3.10/gnulib-tests/test-getopt_long.h:108:56: note: Null pointer dereference diffutils-3.10/gnulib-tests/test-ignore-value.c:28:16: style: struct member 's::i' is never used. [unusedStructMember] diffutils-3.10/gnulib-tests/test-ignore-value.c:62:19: style: Variable 's1' is not assigned a value. [unassignedVariable] diffutils-3.10/gnulib-tests/test-getopt.h:97:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:97:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:98:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:98:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:129:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:129:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:130:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:130:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:162:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:162:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:163:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:163:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:194:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:194:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:195:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:195:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:229:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:229:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:230:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:230:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:260:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:260:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:261:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:261:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:292:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:292:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:293:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:293:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:428:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:428:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:429:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:429:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:462:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:462:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:463:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:463:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:496:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:496:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:497:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:497:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:530:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:530:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:531:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:531:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:564:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:564:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:565:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:565:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:598:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:598:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:599:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:599:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:634:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:634:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:635:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:635:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:664:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:664:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:665:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:665:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:694:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:694:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:695:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:695:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:726:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:726:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:727:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:727:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:793:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:793:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:794:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:794:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:1197:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:1197:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-getopt.h:1198:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.10/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.10/gnulib-tests/test-getopt.h:1198:11: note: Shadow variable diffutils-3.10/gnulib-tests/test-intprops.c:75:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-inttostr.c:74:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-intprops.c:275:3: style: Comparing expression of type 'signed int' against value 9223372036854775807. Condition is always false. [compareValueOutOfTypeRangeError] diffutils-3.10/gnulib-tests/test-intprops.c:277:3: style: Comparing expression of type 'signed int' against value 4294967295. Condition is always false. [compareValueOutOfTypeRangeError] diffutils-3.10/gnulib-tests/test-intprops.c:285:3: style: Comparing expression of type 'signed int' against value 9223372036854775807. Condition is always false. [compareValueOutOfTypeRangeError] diffutils-3.10/gnulib-tests/test-intprops.c:289:3: style: Comparing expression of type 'signed int' against value 9223372036854775807. Condition is always false. [compareValueOutOfTypeRangeError] diffutils-3.10/gnulib-tests/test-intprops.c:296:5: style: Comparing expression of type 'signed int' against value 9223372036854775807. Condition is always false. [compareValueOutOfTypeRangeError] diffutils-3.10/gnulib-tests/test-intprops.c:311:3: style: Comparing expression of type 'signed int' against value 4294967295. Condition is always false. [compareValueOutOfTypeRangeError] diffutils-3.10/gnulib-tests/test-intprops.c:329:5: style: Comparing expression of type 'signed int' against value 9223372036854775807. Condition is always false. [compareValueOutOfTypeRangeError] diffutils-3.10/gnulib-tests/test-intprops.c:330:5: style: Comparing expression of type 'signed int' against value 9223372036854775807. Condition is always false. [compareValueOutOfTypeRangeError] diffutils-3.10/gnulib-tests/test-intprops.c:376:3: style: Comparing expression of type 'signed int' against value 4294967295. Condition is always false. [compareValueOutOfTypeRangeError] diffutils-3.10/gnulib-tests/test-intprops.c:393:5: style: Comparing expression of type 'signed int' against value 4294967298. Condition is always false. [compareValueOutOfTypeRangeError] diffutils-3.10/gnulib-tests/test-intprops.c:202:3: style: Same value in both branches of ternary operator. [duplicateValueTernary] diffutils-3.10/gnulib-tests/test-intprops.c:203:3: style: Same value in both branches of ternary operator. [duplicateValueTernary] diffutils-3.10/gnulib-tests/test-intprops.c:208:3: style: Same value in both branches of ternary operator. [duplicateValueTernary] diffutils-3.10/gnulib-tests/test-intprops.c:211:3: style: Same value in both branches of ternary operator. [duplicateValueTernary] diffutils-3.10/gnulib-tests/test-intprops.c:201:3: error: Signed integer overflow for expression '2147483647+1'. [integerOverflow] diffutils-3.10/gnulib-tests/test-intprops.c:209:3: error: Signed integer overflow for expression '2147483647+1'. [integerOverflow] diffutils-3.10/gnulib-tests/test-intprops.c:222:3: error: Signed integer overflow for expression '2147483647*2147483647'. [integerOverflow] diffutils-3.10/gnulib-tests/test-intprops.c:387:3: warning: Expression '-1' has a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] diffutils-3.10/gnulib-tests/test-intprops.c:388:3: warning: Expression '-1' has a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] diffutils-3.10/gnulib-tests/test-isblank.c:46:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-iswblank.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-iswdigit.c:55:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-iswxdigit.c:55:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-iswdigit.c:49:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.10/gnulib-tests/test-iswxdigit.c:49:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.10/gnulib-tests/test-localcharset.c:35:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-localeconv.c:38:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-localeconv.c:36:19: style: Variable 'l' can be declared as pointer to const [constVariablePointer] diffutils-3.10/gnulib-tests/test-lstat.h:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-malloc-gnu.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-mbrtowc-w32.c:730:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-mbscasecmp.c:31:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-mbsinit.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-mbrtowc.c:42:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-mbrtowc.c:35:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.10/gnulib-tests/test-mbsstr1.c:35:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-mbsrtowcs.c:41:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-mbsstr2.c:32:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-mbsrtowcs.c:34:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.10/gnulib-tests/test-mbsstr3.c:31:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-memchr.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-mkdir.h:27:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-memchr.c:55:9: style: Condition 'page_boundary' is always false [knownConditionTrueFalse] diffutils-3.10/gnulib-tests/test-memchr.c:54:40: note: Calling function 'zerosize_ptr' returns 0 diffutils-3.10/gnulib-tests/test-memchr.c:54:40: note: Assignment 'page_boundary=zerosize_ptr()', assigned value is 0 diffutils-3.10/gnulib-tests/test-memchr.c:55:9: note: Condition 'page_boundary' is always false diffutils-3.10/gnulib-tests/test-memchr.c:106:23: style: Condition 'page_boundary!=NULL' is always false [knownConditionTrueFalse] diffutils-3.10/gnulib-tests/test-memchr.c:101:49: note: Calling function 'zerosize_ptr' returns 0 diffutils-3.10/gnulib-tests/test-memchr.c:101:27: note: Assignment 'page_boundary=(char*)zerosize_ptr()', assigned value is 0 diffutils-3.10/gnulib-tests/test-memchr.c:106:23: note: Condition 'page_boundary!=NULL' is always false diffutils-3.10/gnulib-tests/test-nanosleep.c:49:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-nl_langinfo-mt.c:249:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-nl_langinfo2.c:133:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-nl_langinfo1.c:50:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-nl_langinfo1.c:61:3: style: Unsigned expression 'strlen(nl_langinfo(THOUSEP))' can't be negative so it is unnecessary to test it. [unsignedPositive] diffutils-3.10/gnulib-tests/test-nl_langinfo1.c:133:3: style: Unsigned expression 'strlen(nl_langinfo(ERA))' can't be negative so it is unnecessary to test it. [unsignedPositive] diffutils-3.10/gnulib-tests/test-nl_langinfo1.c:134:3: style: Unsigned expression 'strlen(nl_langinfo(ERA_D_FMT))' can't be negative so it is unnecessary to test it. [unsignedPositive] diffutils-3.10/gnulib-tests/test-nl_langinfo1.c:135:3: style: Unsigned expression 'strlen(nl_langinfo(ERA_D_T_FMT))' can't be negative so it is unnecessary to test it. [unsignedPositive] diffutils-3.10/gnulib-tests/test-nl_langinfo1.c:136:3: style: Unsigned expression 'strlen(nl_langinfo(ERA_T_FMT))' can't be negative so it is unnecessary to test it. [unsignedPositive] diffutils-3.10/gnulib-tests/test-nl_langinfo1.c:141:5: style: Unsigned expression 'strlen(currency)' can't be negative so it is unnecessary to test it. [unsignedPositive] diffutils-3.10/gnulib-tests/test-nl_langinfo1.c:41:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.10/gnulib-tests/test-nstrftime.c:67:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-nstrftime.c:177:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-nstrftime.c:262:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-nullptr.c:48:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-nullptr.c:66:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullptr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-nstrftime.c:64:23: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] diffutils-3.10/gnulib-tests/test-nstrftime.c:304:28: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] diffutils-3.10/gnulib-tests/test-nstrftime.c:260:27: style: Comparing expression of type 'signed int' against value 9223372036854773907. Condition is always false. [compareValueOutOfTypeRangeError] diffutils-3.10/gnulib-tests/test-open.h:52:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-perror.c:31:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-pipe.c:52:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] diffutils-3.10/gnulib-tests/test-perror2.c:49:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-select.h:65:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-select.h:89:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-select.h:116:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-select.h:234:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-select.h:241:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-select.h:269:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-select.h:303:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-select.h:340:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-select.h:366:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-select.h:402:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-select.h:424:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-select.h:440:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-pthread-thread.c:54:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-pselect.c:32:28: style: Parameter 'timeout' can be declared as pointer to const. However it seems that 'my_select' is a callback function, if 'timeout' is declared with const you might also need to cast function pointer(s). [constParameterCallback] diffutils-3.10/gnulib-tests/test-pselect.c:48:25: note: You might need to cast the function pointer here diffutils-3.10/gnulib-tests/test-pselect.c:32:28: note: Parameter 'timeout' can be declared as pointer to const diffutils-3.10/gnulib-tests/test-pselect.c:35:20: style: Variable 'pts' can be declared as pointer to const [constVariablePointer] diffutils-3.10/gnulib-tests/test-pthread-thread.c:36:27: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'worker_thread_func' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] diffutils-3.10/gnulib-tests/test-pthread-thread.c:47:45: note: You might need to cast the function pointer here diffutils-3.10/gnulib-tests/test-pthread-thread.c:36:27: note: Parameter 'arg' can be declared as pointer to const diffutils-3.10/gnulib-tests/test-pthread_sigmask1.c:53:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-pthread_sigmask2.c:101:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-quotearg.h:59:25: debug: Function::addArguments found argument 'func' with varid 0. [varid0] diffutils-3.10/gnulib-tests/test-raise.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-raise.c:50:3: style:inconclusive: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] diffutils-3.10/gnulib-tests/test-quotearg.h:53:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-quotearg.h:73:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-quotearg.h:109:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-quotearg.h:116:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-quotearg.h:124:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-quotearg-simple.c:250:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-quotearg-simple.c:260:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-quotearg-simple.c:335:9: style: Condition 'z' is always false [knownConditionTrueFalse] diffutils-3.10/gnulib-tests/test-quotearg-simple.c:333:28: note: Calling function 'zerosize_ptr' returns 0 diffutils-3.10/gnulib-tests/test-quotearg-simple.c:333:28: note: Assignment 'z=zerosize_ptr()', assigned value is 0 diffutils-3.10/gnulib-tests/test-quotearg-simple.c:335:9: note: Condition 'z' is always false diffutils-3.10/gnulib-tests/test-quotearg.h:63:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] diffutils-3.10/gnulib-tests/test-rawmemchr.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-readlink.h:33:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-rawmemchr.c:80:9: style: Condition '!page_boundary' is always true [knownConditionTrueFalse] diffutils-3.10/gnulib-tests/test-rawmemchr.c:77:49: note: Calling function 'zerosize_ptr' returns 0 diffutils-3.10/gnulib-tests/test-rawmemchr.c:77:27: note: Assignment 'page_boundary=(char*)zerosize_ptr()', assigned value is 0 diffutils-3.10/gnulib-tests/test-rawmemchr.c:80:9: note: Condition '!page_boundary' is always true diffutils-3.10/gnulib-tests/test-realloc-gnu.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-realloc-gnu.c:39:7: error: Common realloc mistake: 'p' nulled but not freed upon failure [memleakOnRealloc] diffutils-3.10/gnulib-tests/test-reallocarray.c:39:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-reallocarray.c:41:11: error: Common reallocarray mistake: 'p' nulled but not freed upon failure [memleakOnRealloc] diffutils-3.10/gnulib-tests/test-reallocarray.c:46:7: error: Common reallocarray mistake: 'p' nulled but not freed upon failure [memleakOnRealloc] diffutils-3.10/gnulib-tests/test-reallocarray.c:52:7: error: Common reallocarray mistake: 'p' nulled but not freed upon failure [memleakOnRealloc] diffutils-3.10/gnulib-tests/test-reallocarray.c:53:7: error: Common reallocarray mistake: 'p' nulled but not freed upon failure [memleakOnRealloc] diffutils-3.10/gnulib-tests/test-regex.c:42:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-regex.c:152:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rm_so [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-regex.c:186:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-regex.c:263:45: style: Condition 'towupper(L'i')==0x0130' is always false [knownConditionTrueFalse] diffutils-3.10/gnulib-tests/test-select-fd.c:61:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-select-stdin.c:61:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-setenv.c:36:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-setlocale_null-mt-all.c:148:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-setlocale_null.c:31:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-setlocale_null-mt-one.c:148:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-sh-quote.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-sh-quote.c:179:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-sigprocmask.c:53:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-sh-quote.c:35:9: style: Variable 'bufend' can be declared as pointer to const [constVariablePointer] diffutils-3.10/gnulib-tests/test-sleep.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-snprintf.c:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/nap.h:51:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/nap.h:72:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/nap.h:96:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/nap.h:110:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/nap.h:131:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-stat-time.c:83:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-stat-time.c:98:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-stat-time.c:104:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-stat-time.c:118:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-stat-time.c:141:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_mtime [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-stat-time.c:182:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_mtime [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-stat-time.c:204:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_nsec [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-snprintf.c:53:20: style: The if condition is the same as the previous if condition [duplicateCondition] diffutils-3.10/gnulib-tests/test-snprintf.c:47:20: note: First condition diffutils-3.10/gnulib-tests/test-snprintf.c:53:20: note: Second condition diffutils-3.10/gnulib-tests/test-stat.h:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-stat-time.c:135:59: style: Parameter 'modtimes' can be declared as pointer to const [constParameterPointer] diffutils-3.10/gnulib-tests/test-stddef.c:36:8: style: struct member 'd::e' is never used. [unusedStructMember] diffutils-3.10/gnulib-tests/test-stddef.c:37:8: style: struct member 'd::f' is never used. [unusedStructMember] diffutils-3.10/gnulib-tests/test-intprops.c:201:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-stdint.c:372:1: error: syntax error: -) [syntaxError] diffutils-3.10/gnulib-tests/test-stdlib.c:55:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-strerror.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-strerror_r.c:36:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-strnlen.c:38:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-strnlen.c:35:7: style: Condition '!page_boundary' is always true [knownConditionTrueFalse] diffutils-3.10/gnulib-tests/test-strnlen.c:34:47: note: Calling function 'zerosize_ptr' returns 0 diffutils-3.10/gnulib-tests/test-strnlen.c:34:25: note: Assignment 'page_boundary=(char*)zerosize_ptr()', assigned value is 0 diffutils-3.10/gnulib-tests/test-strnlen.c:35:7: note: Condition '!page_boundary' is always true diffutils-3.10/gnulib-tests/test-strtoimax.c:38:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-strtoll.c:38:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-symlink.h:32:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-sys_socket.c:50:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSOCK [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-sys_wait.h:41:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] diffutils-3.10/gnulib-tests/glthread/thread.h:75:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/gnulib-tests/test-time.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-timespec.c:61:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMESPEC_HZ [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-timespec.c:87:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMESPEC_HZ [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-timespec.c:113:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG10_TIMESPEC_HZ [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-trim.c:36:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-trim.c:111:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-trim.c:108:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.10/gnulib-tests/test-unsetenv.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-verify.c:53:13: style: The comparison 'C == 2' is always true. [knownConditionTrueFalse] diffutils-3.10/gnulib-tests/test-verify.c:57:13: style: Same expression on both sides of '=='. [duplicateExpression] diffutils-3.10/gnulib-tests/test-verify.c:60:35: style: Same expression on both sides of '=='. [duplicateExpression] diffutils-3.10/gnulib-tests/test-version-etc.c:28:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-verify.c:75:31: style: struct member 'state::context' is never used. [unusedStructMember] diffutils-3.10/gnulib-tests/test-wcrtomb-w32.c:333:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-wcrtomb.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-wcrtomb.c:61:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-wctype-h.c:53:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-wcrtomb.c:55:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.10/gnulib-tests/test-wcwidth.c:47:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-xstdopen.c:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/test-xstdopen.c:29:3: error: Return value of allocation function 'open' is not stored. [leakReturnValNotUsed] diffutils-3.10/gnulib-tests/xstrtol-error.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/gnulib-tests/timespec-add.c:35:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMESPEC_HZ [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/timespec-sub.c:40:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMESPEC_HZ [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/uniwidth/test-uc_width2.c:72:13: style: Condition 'w1==1' is always false [knownConditionTrueFalse] diffutils-3.10/gnulib-tests/uniwidth/test-uc_width2.c:73:24: style: Condition 'w2==2' is always false [knownConditionTrueFalse] diffutils-3.10/gnulib-tests/wctob.c:31:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/windows-thread.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/gnulib-tests/windows-tls.c:40:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/windows-tls.c:88:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/windows-tls.c:220:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] diffutils-3.10/gnulib-tests/windows-tls.c:337:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/inttostr.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/careadlinkat.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/argmatch.h:27:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/basename-lgpl.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/dirname.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/binary-io.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/bitrotate.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/btowc.c:30:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/c-ctype.h:28:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/c-stack.h:20:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/c-strcase.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/calloc.c:41:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/cloexec.c:62:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/cloexec.c:82:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_DUPFD_CLOEXEC [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/cmpbuf.c:49:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/dup2.c:182:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/error.c:140:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] diffutils-3.10/lib/exclude.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/cmpbuf.c:103:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression 'b' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression 'q' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(1?0:((1?0:127)+(b)))-1' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(1?0:(b))-1' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(((1?0:(b))-1)<0)?~(((((1?0:(b))+1)<<((sizeof(b)*8)-2))-1)*2+1):((1?0:(b))+0)' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(1?0:((1?0:(b))-128))-1' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(((1?0:((1?0:(b))-128))-1)<0)?~(((((1?0:((1?0:(b))-128))+1)<<((sizeof((1?0:(b))-128)*8)-2))-1)*2+1):((1?0:((1?0:(b))-128))+0)' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(1?0:(q))-1' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(1?0:((1?0:(q))-128))-1' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(((1?0:((1?0:(q))-128))-1)<0)?~(((((1?0:((1?0:(q))-128))+1)<<((sizeof((1?0:(q))-128)*8)-2))-1)*2+1):((1?0:((1?0:(q))-128))+0)' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(1?0:((1?0:255)+(b)))-1' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(1?0:((1?0:(b))+0))-1' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(((1?0:((1?0:(b))+0))-1)<0)?~(((((1?0:((1?0:(b))+0))+1)<<((sizeof((1?0:(b))+0)*8)-2))-1)*2+1):((1?0:((1?0:(b))+0))+0)' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(1?0:((1?0:(q))+0))-1' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(((1?0:((1?0:(q))+0))-1)<0)?~(((((1?0:((1?0:(q))+0))+1)<<((sizeof((1?0:(q))+0)*8)-2))-1)*2+1):((1?0:((1?0:(q))+0))+0)' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '*(&lcm)=((char)((unsigned int)(q)*(unsigned int)(b)))' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Unsigned expression '*(&lcm)=((char)((unsigned int)(q)*(unsigned int)(b)))' can't be negative so it is unnecessary to test it. [unsignedPositive] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(1?0:((1?0:32767)+(b)))-1' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(1?0:((1?0:(b))-32768))-1' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(((1?0:((1?0:(b))-32768))-1)<0)?~(((((1?0:((1?0:(b))-32768))+1)<<((sizeof((1?0:(b))-32768)*8)-2))-1)*2+1):((1?0:((1?0:(b))-32768))+0)' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(1?0:((1?0:(q))-32768))-1' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(((1?0:((1?0:(q))-32768))-1)<0)?~(((((1?0:((1?0:(q))-32768))+1)<<((sizeof((1?0:(q))-32768)*8)-2))-1)*2+1):((1?0:((1?0:(q))-32768))+0)' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(1?0:((1?0:65535)+(b)))-1' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '*(&lcm)=((short)((unsigned int)(q)*(unsigned int)(b)))' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Unsigned expression '*(&lcm)=((short)((unsigned int)(q)*(unsigned int)(b)))' can't be negative so it is unnecessary to test it. [unsignedPositive] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(1?0:(*(&lcm)))-1' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(1?0:((1?0:2147483647)+(b)))-1' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(1?0:((1?0:(b))-2147483648))-1' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(((1?0:((1?0:(b))-2147483648))-1)<0)?~(((((1?0:((1?0:(b))-2147483648))+1)<<((sizeof((1?0:(b))-2147483648)*8)-2))-1)*2+1):((1?0:((1?0:(b))-2147483648))+0)' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(1?0:((1?0:(q))-2147483648))-1' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(((1?0:((1?0:(q))-2147483648))-1)<0)?~(((((1?0:((1?0:(q))-2147483648))+1)<<((sizeof((1?0:(q))-2147483648)*8)-2))-1)*2+1):((1?0:((1?0:(q))-2147483648))+0)' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(1?0:((1?0:4294967295)+(b)))-1' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(1?0:((1?0:9223372036854775807)+(b)))-1' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(1?0:((1?0:(b))-9223372036854775808))-1' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(((1?0:((1?0:(b))-9223372036854775808))-1)<0)?~(((((1?0:((1?0:(b))-9223372036854775808))+1)<<((sizeof((1?0:(b))-9223372036854775808)*8)-2))-1)*2+1):((1?0:((1?0:(b))-9223372036854775808))+0)' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(1?0:((1?0:(q))-9223372036854775808))-1' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: style: Checking if unsigned expression '(((1?0:((1?0:(q))-9223372036854775808))-1)<0)?~(((((1?0:((1?0:(q))-9223372036854775808))+1)<<((sizeof((1?0:(q))-9223372036854775808)*8)-2))-1)*2+1):((1?0:((1?0:(q))-9223372036854775808))+0)' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/cmpbuf.c:107:11: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] diffutils-3.10/lib/cmpbuf.c:107:11: warning: Expression '-128' has a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] diffutils-3.10/lib/cmpbuf.c:107:11: warning: Expression '-32768' has a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] diffutils-3.10/lib/cmpbuf.c:107:11: warning: Expression '-2147483648' has a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] diffutils-3.10/lib/fcntl.c:437:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/fcntl.c:492:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/file-type.h:26:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/filenamecat.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/attribute.h:55:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/fopen.c:80:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/fnmatch_loop.c:63:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNM_EXTMATCH [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/fnmatch_loop.c:945:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable posixly_correct [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/fnmatch_loop.c:1007:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable posixly_correct [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/free.c:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/freopen.c:76:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/fnmatch_loop.c:925:38: style: Condition 'n!=string_end' is always true [knownConditionTrueFalse] diffutils-3.10/lib/fnmatch_loop.c:1109:36: style: Condition 'rs==string' is always false [knownConditionTrueFalse] diffutils-3.10/lib/fnmatch_loop.c:934:18: style:inconclusive: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. [funcArgNamesDifferent] diffutils-3.10/lib/fnmatch_loop.c:37:37: note: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. diffutils-3.10/lib/fnmatch_loop.c:934:18: note: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. diffutils-3.10/lib/fnmatch_loop.c:1096:44: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] diffutils-3.10/lib/fnmatch_loop.c:1105:26: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] diffutils-3.10/lib/fnmatch_loop.c:1113:33: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] diffutils-3.10/lib/fnmatch_loop.c:1137:40: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] diffutils-3.10/lib/fnmatch_loop.c:1154:44: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] diffutils-3.10/lib/fnmatch_loop.c:1164:46: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] diffutils-3.10/lib/stat-time.h:26:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/getdtablesize.c:114:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/getopt1.c:36:21: style:inconclusive: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] diffutils-3.10/lib/getopt_int.h:107:32: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. diffutils-3.10/lib/getopt1.c:36:21: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. diffutils-3.10/lib/getopt1.c:36:34: style:inconclusive: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] diffutils-3.10/lib/getopt_int.h:107:48: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. diffutils-3.10/lib/getopt1.c:36:34: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. diffutils-3.10/lib/getopt1.c:36:52: style:inconclusive: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] diffutils-3.10/lib/getopt_int.h:108:19: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. diffutils-3.10/lib/getopt1.c:36:52: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. diffutils-3.10/lib/getopt1.c:37:24: style:inconclusive: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] diffutils-3.10/lib/getopt_int.h:109:28: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. diffutils-3.10/lib/getopt1.c:37:24: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. diffutils-3.10/lib/getopt1.c:37:43: style:inconclusive: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] diffutils-3.10/lib/getopt_int.h:109:45: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. diffutils-3.10/lib/getopt1.c:37:43: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. diffutils-3.10/lib/getopt1.c:38:24: style:inconclusive: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] diffutils-3.10/lib/getopt_int.h:110:28: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. diffutils-3.10/lib/getopt1.c:38:24: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. diffutils-3.10/lib/getopt1.c:59:26: style:inconclusive: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] diffutils-3.10/lib/getopt_int.h:112:37: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. diffutils-3.10/lib/getopt1.c:59:26: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. diffutils-3.10/lib/getopt1.c:59:39: style:inconclusive: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] diffutils-3.10/lib/getopt_int.h:112:53: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. diffutils-3.10/lib/getopt1.c:59:39: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. diffutils-3.10/lib/getopt1.c:59:57: style:inconclusive: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] diffutils-3.10/lib/getopt_int.h:113:17: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. diffutils-3.10/lib/getopt1.c:59:57: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. diffutils-3.10/lib/getopt1.c:60:29: style:inconclusive: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] diffutils-3.10/lib/getopt_int.h:114:26: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. diffutils-3.10/lib/getopt1.c:60:29: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. diffutils-3.10/lib/getopt1.c:60:48: style:inconclusive: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] diffutils-3.10/lib/getopt_int.h:115:10: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. diffutils-3.10/lib/getopt1.c:60:48: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. diffutils-3.10/lib/getopt1.c:61:29: style:inconclusive: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] diffutils-3.10/lib/getopt_int.h:116:26: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. diffutils-3.10/lib/getopt1.c:61:29: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. diffutils-3.10/lib/getopt.c:278:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/getopt.c:621:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/minmax.h:28:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/timespec.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/gettimeofday.c:142:0: error: #error "Only 1-second nominal clock resolution found. Is that intended?" \ [preprocessorErrorDirective] diffutils-3.10/lib/hard-locale.c:30:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SETLOCALE_NULL_MAX [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/gettext.h:247:16: error: Returning pointer to local variable 'msg_ctxt_id' that will be invalid when returning. [returnDanglingLifetime] diffutils-3.10/lib/gettext.h:239:15: note: Array decayed to pointer here. diffutils-3.10/lib/gettext.h:226:8: note: Variable created here. diffutils-3.10/lib/gettext.h:247:16: note: Returning pointer to local variable 'msg_ctxt_id' that will be invalid when returning. diffutils-3.10/lib/getopt.c:471:25: style:inconclusive: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] diffutils-3.10/lib/getopt_int.h:101:36: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. diffutils-3.10/lib/getopt.c:471:25: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. diffutils-3.10/lib/getopt.c:471:38: style:inconclusive: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] diffutils-3.10/lib/getopt_int.h:101:52: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. diffutils-3.10/lib/getopt.c:471:38: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. diffutils-3.10/lib/getopt.c:471:56: style:inconclusive: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] diffutils-3.10/lib/getopt_int.h:102:23: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. diffutils-3.10/lib/getopt.c:471:56: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. diffutils-3.10/lib/getopt.c:472:28: style:inconclusive: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] diffutils-3.10/lib/getopt_int.h:103:32: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. diffutils-3.10/lib/getopt.c:472:28: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. diffutils-3.10/lib/getopt.c:472:43: style:inconclusive: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] diffutils-3.10/lib/getopt_int.h:103:49: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. diffutils-3.10/lib/getopt.c:472:43: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. diffutils-3.10/lib/getopt.c:473:11: style:inconclusive: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] diffutils-3.10/lib/getopt_int.h:104:15: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. diffutils-3.10/lib/getopt.c:473:11: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. diffutils-3.10/lib/getopt.c:473:43: style:inconclusive: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] diffutils-3.10/lib/getopt_int.h:104:49: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. diffutils-3.10/lib/getopt.c:473:43: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. diffutils-3.10/lib/getopt.c:473:50: style:inconclusive: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] diffutils-3.10/lib/getopt_int.h:105:15: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. diffutils-3.10/lib/getopt.c:473:50: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. diffutils-3.10/lib/getopt.c:703:23: style:inconclusive: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] diffutils-3.10/lib/getopt_int.h:25:34: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. diffutils-3.10/lib/getopt.c:703:23: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. diffutils-3.10/lib/getopt.c:703:36: style:inconclusive: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] diffutils-3.10/lib/getopt_int.h:25:50: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. diffutils-3.10/lib/getopt.c:703:36: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. diffutils-3.10/lib/getopt.c:703:54: style:inconclusive: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] diffutils-3.10/lib/getopt_int.h:26:21: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. diffutils-3.10/lib/getopt.c:703:54: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. diffutils-3.10/lib/getopt.c:704:26: style:inconclusive: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] diffutils-3.10/lib/getopt_int.h:27:30: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. diffutils-3.10/lib/getopt.c:704:26: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. diffutils-3.10/lib/getopt.c:704:41: style:inconclusive: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] diffutils-3.10/lib/getopt_int.h:27:47: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. diffutils-3.10/lib/getopt.c:704:41: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. diffutils-3.10/lib/getopt.c:704:54: style:inconclusive: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] diffutils-3.10/lib/getopt_int.h:28:13: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. diffutils-3.10/lib/getopt.c:704:54: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. diffutils-3.10/lib/getopt.c:705:9: style:inconclusive: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] diffutils-3.10/lib/getopt_int.h:28:30: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. diffutils-3.10/lib/getopt.c:705:9: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. diffutils-3.10/lib/hash.h:31:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/ialloc.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/localcharset.c:1088:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] diffutils-3.10/lib/localcharset.c:1079:24: note: Assignment 'locale=NULL', assigned value is 0 diffutils-3.10/lib/localcharset.c:1088:14: note: Condition 'locale==NULL' is always true diffutils-3.10/lib/localcharset.c:579:14: style: struct member 'table_entry::locale' is never used. [unusedStructMember] diffutils-3.10/lib/localcharset.c:580:14: style: struct member 'table_entry::canonical' is never used. [unusedStructMember] diffutils-3.10/lib/localcharset.c:1097:22: style: Variable 'locale' is assigned a value that is never used. [unreadVariable] diffutils-3.10/lib/malloc.c:37:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/malloc/dynarray-skeleton.c:95:0: error: #error "DYNARRAY_STRUCT must be defined" [preprocessorErrorDirective] diffutils-3.10/lib/malloc/dynarray_emplace_enlarge.c:53:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/malloc/dynarray_finalize.c:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable array [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/malloc/dynarray_finalize.c:29:33: style: Parameter 'scratch' can be declared as pointer to const. However it seems that '__libc_dynarray_finalize' is a callback function, if 'scratch' is declared with const you might also need to cast function pointer(s). [constParameterCallback] diffutils-3.10/lib/malloc/dynarray_finalize.c:66:18: note: You might need to cast the function pointer here diffutils-3.10/lib/malloc/dynarray_finalize.c:29:33: note: Parameter 'scratch' can be declared as pointer to const diffutils-3.10/lib/malloc/dynarray_emplace_enlarge.c:31:40: style: Parameter 'scratch' can be declared as pointer to const. However it seems that '__libc_dynarray_emplace_enlarge' is a callback function, if 'scratch' is declared with const you might also need to cast function pointer(s). [constParameterCallback] diffutils-3.10/lib/malloc/dynarray_emplace_enlarge.c:77:18: note: You might need to cast the function pointer here diffutils-3.10/lib/malloc/dynarray_emplace_enlarge.c:31:40: note: Parameter 'scratch' can be declared as pointer to const diffutils-3.10/lib/malloc/dynarray_resize.c:48:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/malloc/dynarray_resize.c:31:31: style: Parameter 'scratch' can be declared as pointer to const. However it seems that '__libc_dynarray_resize' is a callback function, if 'scratch' is declared with const you might also need to cast function pointer(s). [constParameterCallback] diffutils-3.10/lib/malloc/dynarray_resize.c:68:18: note: You might need to cast the function pointer here diffutils-3.10/lib/malloc/dynarray_resize.c:31:31: note: Parameter 'scratch' can be declared as pointer to const diffutils-3.10/lib/malloca.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/mbchar.h:149:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/mbiter.h:87:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/mbuiter.h:94:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/strnlen1.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/mbtowc-impl.h:37:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/mktime.c:577:1: error: There is an unknown macro here somewhere. Configuration is required. If weak_alias is a macro then please configure it. [unknownMacro] diffutils-3.10/lib/msvc-inval.h:57:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/msvc-nothrow.h:30:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/nl_langinfo.c:77:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SETLOCALE_NULL_MAX [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/nl_langinfo.c:377:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable decimal_point [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/open.c:72:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/progname.c:55:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/trim.h:21:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/quotearg.h:26:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/readlink.c:41:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/rawmemchr.c:37:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTPTR_WIDTH [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/rawmemchr.c:109:16: style: Variable 's' is reassigned a value before the old one has been used. [redundantAssignment] diffutils-3.10/lib/rawmemchr.c:50:36: note: s is assigned diffutils-3.10/lib/rawmemchr.c:109:16: note: s is overwritten diffutils-3.10/lib/rawmemchr.c:109:16: style: Variable 's' is assigned a value that is never used. [unreadVariable] diffutils-3.10/lib/realloc.c:49:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/reallocarray.c:32:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regcomp.c:125:5: error: There is an unknown macro here somewhere. Configuration is required. If gettext_noop is a macro then please configure it. [unknownMacro] diffutils-3.10/lib/regex_internal.c:60:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regex_internal.c:79:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_string_t [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regex_internal.c:141:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regex_internal.c:261:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regex_internal.c:337:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regex_internal.c:494:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regex_internal.c:586:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regex_internal.c:902:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTEOL [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regex_internal.c:939:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regex_internal.c:952:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regex_internal.c:967:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regex_internal.c:1000:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regex_internal.c:1024:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regex_internal.c:1117:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regex_internal.c:1167:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regex_internal.c:1255:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regex_internal.c:1312:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regex_internal.c:1388:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_token_t [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regex_internal.c:1461:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regex_internal.c:1509:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regex_internal.c:1546:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regex_internal.c:1599:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_dfastate_t [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regex_internal.c:1647:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_dfastate_t [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:194:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:413:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regmatch_t [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:457:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_REALLOCATE [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:537:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_REALLOCATE [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:609:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOMATCH [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:909:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:1042:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:1164:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:1205:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:1315:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_fail_stack_ent_t [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:1342:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:1381:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_fail_stack_ent_t [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:1465:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eps_via_nodes [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:1477:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:1557:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:1605:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable non_eps_nodes [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:1668:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:1695:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodes [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:1714:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:1760:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:1798:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:1846:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:1880:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:1994:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:2076:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:2172:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodes [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:2203:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:2279:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:2371:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:2442:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable accept_mb [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:2511:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_BACK_REF [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:2620:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:2768:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_OPEN_SUBEXP [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:2815:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:2982:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:3059:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:3110:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:3156:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:3244:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SBC_MAX [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:3444:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARACTER [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:3619:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_UTF8_PERIOD [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:3918:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASCII_CHARS [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:3956:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:4018:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_backref_cache_entry [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:4094:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_backref_cache_entry [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:4143:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable str_idx [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:4170:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regexec.c:4201:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_sub_match_last_t [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/regex_internal.c:1612:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] diffutils-3.10/lib/regex_internal.c:1662:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] diffutils-3.10/lib/regexec.c:1950:27: style:inconclusive: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. [funcArgNamesDifferent] diffutils-3.10/lib/regexec.c:94:15: note: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. diffutils-3.10/lib/regexec.c:1950:27: note: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. diffutils-3.10/lib/regexec.c:3425:21: style:inconclusive: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. [funcArgNamesDifferent] diffutils-3.10/lib/regexec.c:163:25: note: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. diffutils-3.10/lib/regexec.c:3425:21: note: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. diffutils-3.10/lib/regexec.c:3425:43: style:inconclusive: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. [funcArgNamesDifferent] diffutils-3.10/lib/regexec.c:164:22: note: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. diffutils-3.10/lib/regexec.c:3425:43: note: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. diffutils-3.10/lib/regexec.c:3613:35: style:inconclusive: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. [funcArgNamesDifferent] diffutils-3.10/lib/regexec.c:156:39: note: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. diffutils-3.10/lib/regexec.c:3613:35: note: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. diffutils-3.10/lib/regexec.c:4010:37: style:inconclusive: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] diffutils-3.10/lib/regexec.c:20:58: note: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. diffutils-3.10/lib/regexec.c:4010:37: note: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. diffutils-3.10/lib/regexec.c:4073:37: style:inconclusive: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] diffutils-3.10/lib/regexec.c:23:49: note: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. diffutils-3.10/lib/regexec.c:4073:37: note: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. diffutils-3.10/lib/regexec.c:4088:42: style:inconclusive: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] diffutils-3.10/lib/regexec.c:24:63: note: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. diffutils-3.10/lib/regexec.c:4088:42: note: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. diffutils-3.10/lib/regexec.c:798:20: style: Variable 'pstate' can be declared as pointer to const [constVariablePointer] diffutils-3.10/lib/regexec.c:1307:27: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] diffutils-3.10/lib/regexec.c:1307:45: style: Parameter 'prevregs' can be declared as pointer to const [constParameterPointer] diffutils-3.10/lib/regexec.c:1844:38: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] diffutils-3.10/lib/regexec.c:1953:34: style: Variable 'lim' can be declared as pointer to const [constVariablePointer] diffutils-3.10/lib/regexec.c:1988:38: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] diffutils-3.10/lib/regexec.c:2084:38: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] diffutils-3.10/lib/regexec.c:2536:35: style: Variable 'bkref_ent' can be declared as pointer to const [constVariablePointer] diffutils-3.10/lib/setlocale_null.c:150:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/setlocale_null.c:317:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/sh-quote.h:27:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/sigprocmask.c:116:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/sigprocmask.c:139:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/sigprocmask.c:159:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/sigprocmask.c:180:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/sigprocmask.c:200:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/sigprocmask.c:210:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/sigprocmask.c:245:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/sigprocmask.c:300:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/sigsegv.c:1402:38: style: Parameter 'extra_stack' can be declared as pointer to const [constParameterPointer] diffutils-3.10/lib/stackvma.c:2375:56: style: Parameter 'vma' can be declared as pointer to const [constParameterPointer] diffutils-3.10/lib/stdopen.c:42:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/strerror-override.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/striconv.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/strtol.c:257:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/strtol.c:329:13: warning: Either the condition 's==end' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] diffutils-3.10/lib/strtol.c:322:11: note: Assignment 'end=NULL', assigned value is 0 diffutils-3.10/lib/strtol.c:331:13: note: Assuming that condition 's==end' is not redundant diffutils-3.10/lib/strtol.c:303:10: note: Assignment 'save=s', assigned value is 0 diffutils-3.10/lib/strtol.c:303:8: note: save is assigned 's' here. diffutils-3.10/lib/strtol.c:329:13: note: Null pointer dereference diffutils-3.10/lib/strptime.c:687:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _GL_UNUSED [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/strptime.c:416:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/strptime.c:465:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/strptime.c:492:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/strptime.c:592:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/strptime.c:626:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/strptime.c:639:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/strptime.c:644:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/strptime.c:649:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/strptime.c:655:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/strptime.c:664:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/strptime.c:674:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/strptime.c:973:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/strptime.c:993:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/strptime.c:1007:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/strptime.c:1011:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/strptime.c:1016:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/strptime.c:1021:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/strptime.c:1027:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/strptime.c:1033:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.10/lib/system-quote.h:51:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/time_r.c:37:30: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] diffutils-3.10/lib/time_r.c:43:30: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] diffutils-3.10/lib/tempname.c:96:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRND_NONBLOCK [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/tempname.c:130:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_ACCMODE [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/tempname.c:137:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/tempname.c:145:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/tempname.c:179:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable try_nocreate [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/tempname.c:196:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/flexmember.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/tempname.c:247:17: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.10/lib/tempname.c:126:17: style: Parameter 'tmpl' can be declared as pointer to const. However it seems that 'try_file' is a callback function, if 'tmpl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] diffutils-3.10/lib/tempname.c:177:21: note: You might need to cast the function pointer here diffutils-3.10/lib/tempname.c:126:17: note: Parameter 'tmpl' can be declared as pointer to const diffutils-3.10/lib/tempname.c:128:8: style: Variable 'openflags' can be declared as pointer to const [constVariablePointer] diffutils-3.10/lib/tempname.c:135:16: style: Parameter 'tmpl' can be declared as pointer to const. However it seems that 'try_dir' is a callback function, if 'tmpl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] diffutils-3.10/lib/tempname.c:178:20: note: You might need to cast the function pointer here diffutils-3.10/lib/tempname.c:135:16: note: Parameter 'tmpl' can be declared as pointer to const diffutils-3.10/lib/tempname.c:135:39: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'try_dir' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] diffutils-3.10/lib/tempname.c:178:20: note: You might need to cast the function pointer here diffutils-3.10/lib/tempname.c:135:39: note: Parameter 'flags' can be declared as pointer to const diffutils-3.10/lib/tempname.c:141:21: style: Parameter 'tmpl' can be declared as pointer to const [constParameterPointer] diffutils-3.10/lib/unistr/u8-uctomb-aux.c:53:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALLTHROUGH [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/unistr/u8-uctomb.c:67:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALLTHROUGH [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/uniwidth/width.c:61:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nonspacing_table_ind [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/unsetenv.c:64:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/version-etc.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/wcrtomb.c:35:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/wcrtomb.c:28:42: style: Parameter 'ps' can be declared as pointer to const [constParameterPointer] diffutils-3.10/lib/windows-mutex.c:70:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/windows-mutex.c:82:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/windows-mutex.c:91:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/windows-recmutex.c:64:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/windows-recmutex.c:84:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/windows-recmutex.c:108:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/windows-recmutex.c:123:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/windows-rwlock.c:56:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HANDLE [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/windows-rwlock.c:161:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/windows-rwlock.c:218:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/windows-rwlock.c:279:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/windows-rwlock.c:312:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/windows-rwlock.c:323:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/windows-rwlock.c:367:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/xalloc.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/xfreopen.c:34:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/xmalloca.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/xfreopen.c:31:8: error: Return value of allocation function 'freopen' is not stored. [leakReturnValNotUsed] diffutils-3.10/lib/xreadlink.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/xstriconv.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.10/lib/xstrtol.c:90:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/lib/xstrtol.c:57:15: style: Checking if unsigned expression '*x' is less than zero. [unsignedLessThanZero] diffutils-3.10/src/analyze.c:480:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_size [valueFlowBailoutIncompleteVar] diffutils-3.10/src/cmp.c:123:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] diffutils-3.10/src/cmp.c:139:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LONGINT_OK [valueFlowBailoutIncompleteVar] diffutils-3.10/src/cmp.c:159:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] diffutils-3.10/src/cmp.c:184:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] diffutils-3.10/src/cmp.c:210:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_failure [valueFlowBailoutIncompleteVar] diffutils-3.10/src/cmp.c:415:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_size [valueFlowBailoutIncompleteVar] diffutils-3.10/src/cmp.c:423:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.10/src/cmp.c:644:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.10/src/cmp.c:651:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.10/src/analyze.c:283:17: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.10/src/analyze.c:295:13: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.10/src/analyze.c:316:21: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.10/src/analyze.c:350:17: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.10/src/analyze.c:93:12: style: Variable 'counts' can be declared as pointer to const [constVariablePointer] diffutils-3.10/src/analyze.c:94:12: style: Variable 'equivs' can be declared as pointer to const [constVariablePointer] diffutils-3.10/src/analyze.c:231:13: style: Variable 'discards' can be declared as pointer to const [constVariablePointer] diffutils-3.10/src/analyze.c:385:9: style: Variable 'changed0' can be declared as pointer to const [constVariablePointer] diffutils-3.10/src/analyze.c:386:9: style: Variable 'changed1' can be declared as pointer to const [constVariablePointer] diffutils-3.10/src/analyze.c:422:9: style: Variable 'changed0' can be declared as pointer to const [constVariablePointer] diffutils-3.10/src/analyze.c:423:9: style: Variable 'changed1' can be declared as pointer to const [constVariablePointer] diffutils-3.10/src/context.c:64:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTMAX_MAX [valueFlowBailoutIncompleteVar] diffutils-3.10/src/context.c:113:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] diffutils-3.10/src/context.c:199:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullptr [valueFlowBailoutIncompleteVar] diffutils-3.10/src/context.c:348:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullptr [valueFlowBailoutIncompleteVar] diffutils-3.10/src/context.c:484:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullptr [valueFlowBailoutIncompleteVar] diffutils-3.10/src/context.c:517:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regoff_t [valueFlowBailoutIncompleteVar] diffutils-3.10/src/context.c:53:29: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] diffutils-3.10/src/context.c:155:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.10/src/context.c:157:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.10/src/diff.c:279:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXCLUDE_WILDCARDS [valueFlowBailoutIncompleteVar] diffutils-3.10/src/diff.c:293:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullptr [valueFlowBailoutIncompleteVar] diffutils-3.10/src/diff.c:939:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] diffutils-3.10/src/diff.c:946:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] diffutils-3.10/src/diff.c:1056:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] diffutils-3.10/src/diff.c:1107:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullptr [valueFlowBailoutIncompleteVar] diffutils-3.10/src/diff.c:1116:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullptr [valueFlowBailoutIncompleteVar] diffutils-3.10/src/diff.c:1219:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullptr [valueFlowBailoutIncompleteVar] diffutils-3.10/src/diff3.c:277:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_failure [valueFlowBailoutIncompleteVar] diffutils-3.10/src/diff3.c:464:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] diffutils-3.10/src/diff3.c:471:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] diffutils-3.10/src/diff3.c:509:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] diffutils-3.10/src/diff3.c:1015:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] diffutils-3.10/src/diff3.c:1260:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCI_SYSTEM [valueFlowBailoutIncompleteVar] diffutils-3.10/src/diff3.c:1358:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/src/diff3.c:1680:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] diffutils-3.10/src/diff3.c:1779:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/src/diff3.c:355:25: style:inconclusive: Boolean expression '!!incompat' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] diffutils-3.10/src/diff3.c:357:12: style:inconclusive: Boolean expression 'show_2nd' is used in bitwise operation. [bitwiseOnBoolean] diffutils-3.10/src/diff3.c:357:25: style:inconclusive: Boolean expression '!incompat' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] diffutils-3.10/src/diff3.c:358:12: style:inconclusive: Boolean expression 'flagging' is used in bitwise operation. [bitwiseOnBoolean] diffutils-3.10/src/diff3.c:358:25: style:inconclusive: Boolean expression '!incompat' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] diffutils-3.10/src/diff3.c:361:21: style:inconclusive: Boolean expression 'finalwrite' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] diffutils-3.10/src/diff3.c:394:26: style:inconclusive: Boolean expression 'edscript' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] diffutils-3.10/src/diff3.c:355:25: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] diffutils-3.10/src/diff3.c:357:25: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] diffutils-3.10/src/diff3.c:358:25: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] diffutils-3.10/src/diff3.c:1266:16: warning: Either the condition '!fpipe' is redundant or there is possible null pointer dereference: fpipe. [nullPointerRedundantCheck] diffutils-3.10/src/diff3.c:1263:7: note: Assuming that condition '!fpipe' is not redundant diffutils-3.10/src/diff3.c:1266:16: note: Null pointer dereference diffutils-3.10/src/diff3.c:1347:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.10/src/diff3.c:274:9: style: Variable 'commonname' can be declared as pointer to const [constVariablePointer] diffutils-3.10/src/diff3.c:1337:23: style: Parameter 'limit' can be declared as pointer to const [constParameterPointer] diffutils-3.10/src/diff3.c:1387:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] diffutils-3.10/src/diff3.c:1477:13: style: Variable 'line' can be declared as pointer to const [constVariablePointer] diffutils-3.10/src/diff3.c:999:22: style: Variable 'block_list' is not assigned a value. [unassignedVariable] diffutils-3.10/src/dir.c:89:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/src/dir.c:147:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/src/dir.c:330:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_ino [valueFlowBailoutIncompleteVar] diffutils-3.10/src/dir.c:345:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullptr [valueFlowBailoutIncompleteVar] diffutils-3.10/src/dir.c:89:34: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] diffutils-3.10/src/diff.c:822:39: style:inconclusive: Boolean expression 'output_style!=OUTPUT_SDIFF' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] diffutils-3.10/src/diff.c:825:12: style:inconclusive: Boolean expression 'brief' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] diffutils-3.10/src/diff.c:826:30: style:inconclusive: Boolean expression 'ignore_blank_lines' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] diffutils-3.10/src/diff.c:423:12: style: Variable 'base' can be declared as pointer to const [constVariablePointer] diffutils-3.10/src/ifdef.c:146:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/src/ifdef.c:398:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullptr [valueFlowBailoutIncompleteVar] diffutils-3.10/src/ifdef.c:317:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.10/src/ifdef.c:322:7: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.10/src/io.c:85:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] diffutils-3.10/src/io.c:117:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] diffutils-3.10/src/io.c:209:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] diffutils-3.10/src/io.c:377:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] diffutils-3.10/src/io.c:531:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] diffutils-3.10/src/io.c:679:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] diffutils-3.10/src/io.c:794:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_BINARY [valueFlowBailoutIncompleteVar] diffutils-3.10/src/sdiff.c:159:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] diffutils-3.10/src/sdiff.c:166:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] diffutils-3.10/src/sdiff.c:206:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] diffutils-3.10/src/sdiff.c:256:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/src/sdiff.c:439:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] diffutils-3.10/src/sdiff.c:449:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_failure [valueFlowBailoutIncompleteVar] diffutils-3.10/src/sdiff.c:711:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] diffutils-3.10/src/sdiff.c:730:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] diffutils-3.10/src/sdiff.c:764:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] diffutils-3.10/src/sdiff.c:786:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] diffutils-3.10/src/sdiff.c:817:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.10/src/sdiff.c:842:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] diffutils-3.10/src/sdiff.c:851:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] diffutils-3.10/src/sdiff.c:874:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] diffutils-3.10/src/sdiff.c:1098:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/src/sdiff.c:593:19: style:inconclusive: Boolean expression 'leftdir' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] diffutils-3.10/src/sdiff.c:810:7: style:inconclusive: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] diffutils-3.10/src/sdiff.c:852:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.10/src/sdiff.c:377:9: style: Variable 'start' can be declared as pointer to const [constVariablePointer] diffutils-3.10/src/sdiff.c:425:13: style: Variable 'start' can be declared as pointer to const [constVariablePointer] diffutils-3.10/src/io.c:250:32: style:inconclusive: Boolean expression 'diff_length_compare_anyway' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] diffutils-3.10/src/io.c:781:25: style:inconclusive: Boolean expression 'text' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] diffutils-3.10/src/io.c:785:51: style:inconclusive: Boolean expression 'skip_test' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] diffutils-3.10/src/io.c:469:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.10/src/io.c:655:11: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.10/src/io.c:684:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.10/src/io.c:718:13: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.10/src/io.c:811:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.10/src/io.c:418:32: warning:inconclusive: Division of result of sizeof() on pointer type. [divideSizeof] diffutils-3.10/src/io.c:444:32: warning:inconclusive: Division of result of sizeof() on pointer type. [divideSizeof] diffutils-3.10/src/side.c:147:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] diffutils-3.10/src/util.c:81:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/src/util.c:89:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.10/src/util.c:205:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] diffutils-3.10/src/util.c:237:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] diffutils-3.10/src/util.c:264:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] diffutils-3.10/src/util.c:373:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] diffutils-3.10/src/util.c:396:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] diffutils-3.10/src/util.c:478:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALLTHROUGH [valueFlowBailoutIncompleteVar] diffutils-3.10/src/util.c:678:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullptr [valueFlowBailoutIncompleteVar] diffutils-3.10/src/util.c:951:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] diffutils-3.10/src/util.c:1046:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] diffutils-3.10/src/util.c:1192:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALLTHROUGH [valueFlowBailoutIncompleteVar] diffutils-3.10/src/util.c:197:3: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] diffutils-3.10/src/util.c:271:38: style: Local variable 'sig' shadows outer variable [shadowVariable] diffutils-3.10/src/util.c:299:18: note: Shadowed declaration diffutils-3.10/src/util.c:271:38: note: Shadow variable diffutils-3.10/src/util.c:211:73: style: Parameter 'oset' can be declared as pointer to const [constParameterPointer] diffutils-3.10/src/util.c:1520:53: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] diff: DONE