2024-04-10 14:10 ftp://ftp.de.debian.org/debian/pool/main/n/numdiff/numdiff_5.9.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-18-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.56 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.13.0 head-info: 789be1c (2024-04-10 15:32:33 +0200) count: 203 180 elapsed-time: 5.5 5.3 head-timing-info: old-timing-info: head results: numdiff-5.9.0/cmpbuf.c:101:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] numdiff-5.9.0/bitvector.c:28:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] numdiff-5.9.0/bitvector.c:282:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] numdiff-5.9.0/cmpbuf.c:141:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] numdiff-5.9.0/cmpbuf.c:88:20: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] numdiff-5.9.0/cmpfns.c:242:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIELDMASK_SIZE [valueFlowBailoutIncompleteVar] numdiff-5.9.0/cmpfns.c:585:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] numdiff-5.9.0/bitvector.c:78:25: style: Parameter 'barray' can be declared as pointer to const [constParameterPointer] numdiff-5.9.0/number.c:1809:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] numdiff-5.9.0/errors.c:42:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] numdiff-5.9.0/errors.c:76:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] numdiff-5.9.0/errors.c:110:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] numdiff-5.9.0/new.c:151:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] numdiff-5.9.0/error.c:131:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] numdiff-5.9.0/error.c:205:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] numdiff-5.9.0/error.c:239:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] numdiff-5.9.0/error.c:298:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] numdiff-5.9.0/error.c:227:12: style:inconclusive: Function 'error' argument 1 names different: declaration '__status' definition 'status'. [funcArgNamesDifferent] numdiff-5.9.0/error.h:43:24: note: Function 'error' argument 1 names different: declaration '__status' definition 'status'. numdiff-5.9.0/error.c:227:12: note: Function 'error' argument 1 names different: declaration '__status' definition 'status'. numdiff-5.9.0/error.c:227:24: style:inconclusive: Function 'error' argument 2 names different: declaration '__errnum' definition 'errnum'. [funcArgNamesDifferent] numdiff-5.9.0/error.h:43:38: note: Function 'error' argument 2 names different: declaration '__errnum' definition 'errnum'. numdiff-5.9.0/error.c:227:24: note: Function 'error' argument 2 names different: declaration '__errnum' definition 'errnum'. numdiff-5.9.0/error.c:227:44: style:inconclusive: Function 'error' argument 3 names different: declaration '__format' definition 'message'. [funcArgNamesDifferent] numdiff-5.9.0/error.h:43:60: note: Function 'error' argument 3 names different: declaration '__format' definition 'message'. numdiff-5.9.0/error.c:227:44: note: Function 'error' argument 3 names different: declaration '__format' definition 'message'. numdiff-5.9.0/error.c:270:20: style:inconclusive: Function 'error_at_line' argument 1 names different: declaration '__status' definition 'status'. [funcArgNamesDifferent] numdiff-5.9.0/error.h:46:32: note: Function 'error_at_line' argument 1 names different: declaration '__status' definition 'status'. numdiff-5.9.0/error.c:270:20: note: Function 'error_at_line' argument 1 names different: declaration '__status' definition 'status'. numdiff-5.9.0/error.c:270:32: style:inconclusive: Function 'error_at_line' argument 2 names different: declaration '__errnum' definition 'errnum'. [funcArgNamesDifferent] numdiff-5.9.0/error.h:46:46: note: Function 'error_at_line' argument 2 names different: declaration '__errnum' definition 'errnum'. numdiff-5.9.0/error.c:270:32: note: Function 'error_at_line' argument 2 names different: declaration '__errnum' definition 'errnum'. numdiff-5.9.0/error.c:270:52: style:inconclusive: Function 'error_at_line' argument 3 names different: declaration '__fname' definition 'file_name'. [funcArgNamesDifferent] numdiff-5.9.0/error.h:46:68: note: Function 'error_at_line' argument 3 names different: declaration '__fname' definition 'file_name'. numdiff-5.9.0/error.c:270:52: note: Function 'error_at_line' argument 3 names different: declaration '__fname' definition 'file_name'. numdiff-5.9.0/error.c:271:22: style:inconclusive: Function 'error_at_line' argument 4 names different: declaration '__lineno' definition 'line_number'. [funcArgNamesDifferent] numdiff-5.9.0/error.h:47:20: note: Function 'error_at_line' argument 4 names different: declaration '__lineno' definition 'line_number'. numdiff-5.9.0/error.c:271:22: note: Function 'error_at_line' argument 4 names different: declaration '__lineno' definition 'line_number'. numdiff-5.9.0/error.c:271:47: style:inconclusive: Function 'error_at_line' argument 5 names different: declaration '__format' definition 'message'. [funcArgNamesDifferent] numdiff-5.9.0/error.h:47:42: note: Function 'error_at_line' argument 5 names different: declaration '__format' definition 'message'. numdiff-5.9.0/error.c:271:47: note: Function 'error_at_line' argument 5 names different: declaration '__format' definition 'message'. numdiff-5.9.0/error.c:263:1: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] numdiff-5.9.0/errors.c:44:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] numdiff-5.9.0/errors.c:77:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIT_TROUBLE [valueFlowBailoutIncompleteVar] numdiff-5.9.0/errors.c:62:12: style: Parameter 'mesg' can be declared as pointer to const [constParameterPointer] numdiff-5.9.0/errors.c:96:12: style: Parameter 'mesg' can be declared as pointer to const [constParameterPointer] numdiff-5.9.0/flags.c:58:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] numdiff-5.9.0/getopt.c:270:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RETURN_IN_ORDER [valueFlowBailoutIncompleteVar] numdiff-5.9.0/getopt.c:417:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PERMUTE [valueFlowBailoutIncompleteVar] numdiff-5.9.0/getopt.c:372:25: style:inconclusive: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] numdiff-5.9.0/getopt_int.h:114:36: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. numdiff-5.9.0/getopt.c:372:25: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. numdiff-5.9.0/getopt.c:372:38: style:inconclusive: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] numdiff-5.9.0/getopt_int.h:114:52: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. numdiff-5.9.0/getopt.c:372:38: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. numdiff-5.9.0/getopt.c:372:56: style:inconclusive: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] numdiff-5.9.0/getopt_int.h:115:23: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. numdiff-5.9.0/getopt.c:372:56: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. numdiff-5.9.0/getopt.c:373:28: style:inconclusive: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] numdiff-5.9.0/getopt_int.h:116:32: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. numdiff-5.9.0/getopt.c:373:28: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. numdiff-5.9.0/getopt.c:373:43: style:inconclusive: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] numdiff-5.9.0/getopt_int.h:116:49: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. numdiff-5.9.0/getopt.c:373:43: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. numdiff-5.9.0/getopt.c:374:11: style:inconclusive: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] numdiff-5.9.0/getopt_int.h:117:15: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. numdiff-5.9.0/getopt.c:374:11: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. numdiff-5.9.0/getopt.c:374:26: style:inconclusive: Function '_getopt_internal_r' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] numdiff-5.9.0/getopt_int.h:117:32: note: Function '_getopt_internal_r' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. numdiff-5.9.0/getopt.c:374:26: note: Function '_getopt_internal_r' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. numdiff-5.9.0/getopt.c:374:64: style:inconclusive: Function '_getopt_internal_r' argument 8 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] numdiff-5.9.0/getopt_int.h:118:32: note: Function '_getopt_internal_r' argument 8 names different: declaration '__data' definition 'd'. numdiff-5.9.0/getopt.c:374:64: note: Function '_getopt_internal_r' argument 8 names different: declaration '__data' definition 'd'. numdiff-5.9.0/getopt.c:1138:23: style:inconclusive: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] numdiff-5.9.0/getopt_int.h:23:34: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. numdiff-5.9.0/getopt.c:1138:23: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. numdiff-5.9.0/getopt.c:1138:36: style:inconclusive: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] numdiff-5.9.0/getopt_int.h:23:50: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. numdiff-5.9.0/getopt.c:1138:36: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. numdiff-5.9.0/getopt.c:1138:54: style:inconclusive: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] numdiff-5.9.0/getopt_int.h:24:21: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. numdiff-5.9.0/getopt.c:1138:54: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. numdiff-5.9.0/getopt.c:1139:26: style:inconclusive: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] numdiff-5.9.0/getopt_int.h:25:37: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. numdiff-5.9.0/getopt.c:1139:26: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. numdiff-5.9.0/getopt.c:1139:41: style:inconclusive: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] numdiff-5.9.0/getopt_int.h:25:54: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. numdiff-5.9.0/getopt.c:1139:41: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. numdiff-5.9.0/getopt.c:1140:9: style:inconclusive: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] numdiff-5.9.0/getopt_int.h:26:13: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. numdiff-5.9.0/getopt.c:1140:9: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. numdiff-5.9.0/getopt.c:1140:24: style:inconclusive: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] numdiff-5.9.0/getopt_int.h:26:30: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. numdiff-5.9.0/getopt.c:1140:24: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. numdiff-5.9.0/getopt.c:1166:13: style:inconclusive: Function 'getopt' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] numdiff-5.9.0/getopt.h:205:24: note: Function 'getopt' argument 1 names different: declaration '___argc' definition 'argc'. numdiff-5.9.0/getopt.c:1166:13: note: Function 'getopt' argument 1 names different: declaration '___argc' definition 'argc'. numdiff-5.9.0/getopt.c:1166:32: style:inconclusive: Function 'getopt' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] numdiff-5.9.0/getopt.h:205:46: note: Function 'getopt' argument 2 names different: declaration '___argv' definition 'argv'. numdiff-5.9.0/getopt.c:1166:32: note: Function 'getopt' argument 2 names different: declaration '___argv' definition 'argv'. numdiff-5.9.0/getopt.c:1166:50: style:inconclusive: Function 'getopt' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] numdiff-5.9.0/getopt.h:205:67: note: Function 'getopt' argument 3 names different: declaration '__shortopts' definition 'optstring'. numdiff-5.9.0/getopt.c:1166:50: note: Function 'getopt' argument 3 names different: declaration '__shortopts' definition 'optstring'. numdiff-5.9.0/getopt.c:777:11: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] numdiff-5.9.0/getopt1.c:44:18: style:inconclusive: Function 'getopt_long' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] numdiff-5.9.0/getopt.h:209:29: note: Function 'getopt_long' argument 1 names different: declaration '___argc' definition 'argc'. numdiff-5.9.0/getopt1.c:44:18: note: Function 'getopt_long' argument 1 names different: declaration '___argc' definition 'argc'. numdiff-5.9.0/getopt1.c:44:51: style:inconclusive: Function 'getopt_long' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] numdiff-5.9.0/getopt.h:209:65: note: Function 'getopt_long' argument 2 names different: declaration '___argv' definition 'argv'. numdiff-5.9.0/getopt1.c:44:51: note: Function 'getopt_long' argument 2 names different: declaration '___argv' definition 'argv'. numdiff-5.9.0/getopt1.c:44:69: style:inconclusive: Function 'getopt_long' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] numdiff-5.9.0/getopt.h:210:16: note: Function 'getopt_long' argument 3 names different: declaration '__shortopts' definition 'options'. numdiff-5.9.0/getopt1.c:44:69: note: Function 'getopt_long' argument 3 names different: declaration '__shortopts' definition 'options'. numdiff-5.9.0/getopt1.c:45:28: style:inconclusive: Function 'getopt_long' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] numdiff-5.9.0/getopt.h:211:32: note: Function 'getopt_long' argument 4 names different: declaration '__longopts' definition 'long_options'. numdiff-5.9.0/getopt1.c:45:28: note: Function 'getopt_long' argument 4 names different: declaration '__longopts' definition 'long_options'. numdiff-5.9.0/getopt1.c:45:47: style:inconclusive: Function 'getopt_long' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] numdiff-5.9.0/getopt.h:211:49: note: Function 'getopt_long' argument 5 names different: declaration '__longind' definition 'opt_index'. numdiff-5.9.0/getopt1.c:45:47: note: Function 'getopt_long' argument 5 names different: declaration '__longind' definition 'opt_index'. numdiff-5.9.0/getopt1.c:52:21: style:inconclusive: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] numdiff-5.9.0/getopt_int.h:120:32: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. numdiff-5.9.0/getopt1.c:52:21: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. numdiff-5.9.0/getopt1.c:52:34: style:inconclusive: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] numdiff-5.9.0/getopt_int.h:120:48: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. numdiff-5.9.0/getopt1.c:52:34: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. numdiff-5.9.0/getopt1.c:52:52: style:inconclusive: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] numdiff-5.9.0/getopt_int.h:121:19: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. numdiff-5.9.0/getopt1.c:52:52: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. numdiff-5.9.0/getopt1.c:53:24: style:inconclusive: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] numdiff-5.9.0/getopt_int.h:122:28: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. numdiff-5.9.0/getopt1.c:53:24: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. numdiff-5.9.0/getopt1.c:53:43: style:inconclusive: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] numdiff-5.9.0/getopt_int.h:122:45: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. numdiff-5.9.0/getopt1.c:53:43: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. numdiff-5.9.0/getopt1.c:54:24: style:inconclusive: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] numdiff-5.9.0/getopt_int.h:123:28: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. numdiff-5.9.0/getopt1.c:54:24: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. numdiff-5.9.0/getopt1.c:66:23: style:inconclusive: Function 'getopt_long_only' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] numdiff-5.9.0/getopt.h:213:34: note: Function 'getopt_long_only' argument 1 names different: declaration '___argc' definition 'argc'. numdiff-5.9.0/getopt1.c:66:23: note: Function 'getopt_long_only' argument 1 names different: declaration '___argc' definition 'argc'. numdiff-5.9.0/getopt1.c:66:56: style:inconclusive: Function 'getopt_long_only' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] numdiff-5.9.0/getopt.h:213:70: note: Function 'getopt_long_only' argument 2 names different: declaration '___argv' definition 'argv'. numdiff-5.9.0/getopt1.c:66:56: note: Function 'getopt_long_only' argument 2 names different: declaration '___argv' definition 'argv'. numdiff-5.9.0/getopt1.c:67:17: style:inconclusive: Function 'getopt_long_only' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] numdiff-5.9.0/getopt.h:214:21: note: Function 'getopt_long_only' argument 3 names different: declaration '__shortopts' definition 'options'. numdiff-5.9.0/getopt1.c:67:17: note: Function 'getopt_long_only' argument 3 names different: declaration '__shortopts' definition 'options'. numdiff-5.9.0/getopt1.c:68:26: style:inconclusive: Function 'getopt_long_only' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] numdiff-5.9.0/getopt.h:215:37: note: Function 'getopt_long_only' argument 4 names different: declaration '__longopts' definition 'long_options'. numdiff-5.9.0/getopt1.c:68:26: note: Function 'getopt_long_only' argument 4 names different: declaration '__longopts' definition 'long_options'. numdiff-5.9.0/getopt1.c:68:45: style:inconclusive: Function 'getopt_long_only' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] numdiff-5.9.0/getopt.h:215:54: note: Function 'getopt_long_only' argument 5 names different: declaration '__longind' definition 'opt_index'. numdiff-5.9.0/getopt1.c:68:45: note: Function 'getopt_long_only' argument 5 names different: declaration '__longind' definition 'opt_index'. numdiff-5.9.0/getopt1.c:75:26: style:inconclusive: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] numdiff-5.9.0/getopt_int.h:125:37: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. numdiff-5.9.0/getopt1.c:75:26: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. numdiff-5.9.0/getopt1.c:75:39: style:inconclusive: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] numdiff-5.9.0/getopt_int.h:125:53: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. numdiff-5.9.0/getopt1.c:75:39: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. numdiff-5.9.0/getopt1.c:75:57: style:inconclusive: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] numdiff-5.9.0/getopt_int.h:126:17: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. numdiff-5.9.0/getopt1.c:75:57: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. numdiff-5.9.0/getopt1.c:76:29: style:inconclusive: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] numdiff-5.9.0/getopt_int.h:127:26: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. numdiff-5.9.0/getopt1.c:76:29: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. numdiff-5.9.0/getopt1.c:76:48: style:inconclusive: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] numdiff-5.9.0/getopt_int.h:128:10: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. numdiff-5.9.0/getopt1.c:76:48: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. numdiff-5.9.0/getopt1.c:77:29: style:inconclusive: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] numdiff-5.9.0/getopt_int.h:129:26: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. numdiff-5.9.0/getopt1.c:77:29: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. numdiff-5.9.0/inout.c:250:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIELDMASK_SIZE [valueFlowBailoutIncompleteVar] numdiff-5.9.0/new.c:283:23: warning: Assert statement modifies 'buffer'. [assignmentInAssert] numdiff-5.9.0/number.c:937:2: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] numdiff-5.9.0/number.c:989:4: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] numdiff-5.9.0/number.c:1011:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] numdiff-5.9.0/number.c:1016:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] numdiff-5.9.0/number.c:495:19: style: Condition 'n1->n_scale!=min_scale' is always true [knownConditionTrueFalse] numdiff-5.9.0/number.c:475:13: note: min_scale is assigned '(n1->n_scale)>(n2->n_scale)?(n2->n_scale):(n1->n_scale)' here. numdiff-5.9.0/number.c:495:19: note: Condition 'n1->n_scale!=min_scale' is always true numdiff-5.9.0/number.c:1627:8: style: Local variable 'index' shadows outer function [shadowFunction] numdiff-5.9.0/system.h:241:7: note: Shadowed declaration numdiff-5.9.0/number.c:1627:8: note: Shadow variable numdiff-5.9.0/number.c:1698:8: style: Local variable 'index' shadows outer function [shadowFunction] numdiff-5.9.0/system.h:241:7: note: Shadowed declaration numdiff-5.9.0/number.c:1698:8: note: Shadow variable numdiff-5.9.0/new.c:279:11: style: Local variable 'index' shadows outer function [shadowFunction] numdiff-5.9.0/system.h:241:7: note: Shadowed declaration numdiff-5.9.0/new.c:279:11: note: Shadow variable numdiff-5.9.0/number.c:693:9: style: Variable 'n1end' can be declared as pointer to const [constVariablePointer] numdiff-5.9.0/number.c:693:17: style: Variable 'n2end' can be declared as pointer to const [constVariablePointer] numdiff-5.9.0/number.c:970:25: style: Variable 'ptr2' can be declared as pointer to const [constVariablePointer] numdiff-5.9.0/number.c:1836:12: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] numdiff-5.9.0/number.c:1837:21: style: Parameter 'num' can be declared as pointer to const [constParameterPointer] numdiff-5.9.0/number.c:827:9: style: Variable 'u0len' is assigned a value that is never used. [unreadVariable] numdiff-5.9.0/number.c:830:9: style: Variable 'v0len' is assigned a value that is never used. [unreadVariable] numdiff-5.9.0/new.c:107:15: style: Variable 'first_sep' is assigned a value that is never used. [unreadVariable] numdiff-5.9.0/read_line.c:43:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFF_SIZE [valueFlowBailoutIncompleteVar] numdiff-5.9.0/io.c:53:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF_INDICATOR [valueFlowBailoutIncompleteVar] numdiff-5.9.0/io.c:66:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINE_SEP [valueFlowBailoutIncompleteVar] numdiff-5.9.0/io.c:129:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] numdiff-5.9.0/read_line.c:54:12: style: Variable 'buffer[n]' is assigned a value that is never used. [unreadVariable] numdiff-5.9.0/linesplit.c:531:50: style:inconclusive: Function 'string_cspn' argument 2 names different: declaration 'svi' definition 'sv'. [funcArgNamesDifferent] numdiff-5.9.0/linesplit.h:34:50: note: Function 'string_cspn' argument 2 names different: declaration 'svi' definition 'sv'. numdiff-5.9.0/linesplit.c:531:50: note: Function 'string_cspn' argument 2 names different: declaration 'svi' definition 'sv'. numdiff-5.9.0/linesplit.c:580:49: style:inconclusive: Function 'string_spn' argument 2 names different: declaration 'svi' definition 'sv'. [funcArgNamesDifferent] numdiff-5.9.0/linesplit.h:35:49: note: Function 'string_spn' argument 2 names different: declaration 'svi' definition 'sv'. numdiff-5.9.0/linesplit.c:580:49: note: Function 'string_spn' argument 2 names different: declaration 'svi' definition 'sv'. numdiff-5.9.0/main.c:56:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIELDMASK_SIZE [valueFlowBailoutIncompleteVar] numdiff-5.9.0/main.c:183:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_mode [valueFlowBailoutIncompleteVar] numdiff-5.9.0/main.c:264:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_ino [valueFlowBailoutIncompleteVar] numdiff-5.9.0/main.c:362:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] numdiff-5.9.0/main.c:504:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] numdiff-5.9.0/cmpfns.c:271:15: style: Local variable 'lines_differ' shadows outer function [shadowFunction] numdiff-5.9.0/numdiff.h:667:6: note: Shadowed declaration numdiff-5.9.0/cmpfns.c:271:15: note: Shadow variable numdiff-5.9.0/cmpfns.c:266:13: style: Variable 'end_field1' can be declared as pointer to const [constVariablePointer] numdiff-5.9.0/cmpfns.c:266:26: style: Variable 'end_field2' can be declared as pointer to const [constVariablePointer] numdiff-5.9.0/cmpfns.c:432:14: style: Variable '_1sttime' is assigned a value that is never used. [unreadVariable] numdiff-5.9.0/cmpfns.c:452:14: style: Variable '_1sttime' is assigned a value that is never used. [unreadVariable] numdiff-5.9.0/main.c:216:22: style:inconclusive: Boolean expression '(((files[0].stat.st_mode)&0170000)==0040000)!=0' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] numdiff-5.9.0/main.c:293:13: style: Variable 'pos0' is assigned a value that is never used. [unreadVariable] numdiff-5.9.0/main.c:298:13: style: Variable 'pos1' is assigned a value that is never used. [unreadVariable] numdiff-5.9.0/analyze.c:863:16: style:inconclusive: Boolean expression '!suppress_common_lines' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] numdiff-5.9.0/analyze.c:868:16: style:inconclusive: Boolean expression '!suppress_common_lines' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] numdiff-5.9.0/analyze.c:863:16: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] numdiff-5.9.0/analyze.c:868:16: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] numdiff-5.9.0/ndselect.c:75:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] numdiff-5.9.0/ndselect.c:110:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] numdiff-5.9.0/ndselect.c:163:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] numdiff-5.9.0/ndselect.c:284:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] numdiff-5.9.0/ndselect.c:494:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] numdiff-5.9.0/analyze.c:647:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] numdiff-5.9.0/analyze.c:659:6: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] numdiff-5.9.0/analyze.c:680:7: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] numdiff-5.9.0/analyze.c:714:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] numdiff-5.9.0/analyze.c:351:15: style: Variable 'xv' can be declared as pointer to const [constVariablePointer] numdiff-5.9.0/analyze.c:352:15: style: Variable 'yv' can be declared as pointer to const [constVariablePointer] numdiff-5.9.0/analyze.c:457:12: style: Variable 'counts' can be declared as pointer to const [constVariablePointer] numdiff-5.9.0/analyze.c:458:12: style: Variable 'equivs' can be declared as pointer to const [constVariablePointer] numdiff-5.9.0/analyze.c:595:13: style: Variable 'discards' can be declared as pointer to const [constVariablePointer] numdiff-5.9.0/analyze.c:749:9: style: Variable 'changed0' can be declared as pointer to const [constVariablePointer] numdiff-5.9.0/analyze.c:750:9: style: Variable 'changed1' can be declared as pointer to const [constVariablePointer] numdiff-5.9.0/analyze.c:163:38: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] numdiff-5.9.0/analyze.c:164:38: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] numdiff-5.9.0/analyze.c:300:14: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] numdiff-5.9.0/inout.c:396:7: style: Obsolescent function 'bcmp' called. It is recommended to use 'memcmp' instead. [prohibitedbcmpCalled] numdiff-5.9.0/inout.c:174:21: style: Condition 'file_size!=current->stat.st_size' is always false [knownConditionTrueFalse] numdiff-5.9.0/inout.c:172:24: note: file_size is assigned 'current->stat.st_size' here. numdiff-5.9.0/inout.c:174:21: note: Condition 'file_size!=current->stat.st_size' is always false numdiff-5.9.0/inout.c:460:2: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] numdiff-5.9.0/inout.c:653:4: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] numdiff-5.9.0/inout.c:706:6: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] numdiff-5.9.0/inout.c:793:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] numdiff-5.9.0/inout.c:410:25: warning:inconclusive: Division of result of sizeof() on pointer type. [divideSizeof] numdiff-5.9.0/inout.c:436:25: warning:inconclusive: Division of result of sizeof() on pointer type. [divideSizeof] numdiff-5.9.0/inout.c:718:24: warning:inconclusive: Division of result of sizeof() on pointer type. [divideSizeof] numdiff-5.9.0/inout.c:117:10: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] numdiff-5.9.0/inout.c:175:7: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] numdiff-5.9.0/inout.c:205:8: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] numdiff-5.9.0/inout.c:372:7: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] numdiff-5.9.0/inout.c:408:8: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] numdiff-5.9.0/inout.c:409:11: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] numdiff-5.9.0/inout.c:410:11: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] numdiff-5.9.0/inout.c:434:8: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] numdiff-5.9.0/inout.c:435:11: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] numdiff-5.9.0/inout.c:436:11: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] numdiff-5.9.0/inout.c:535:10: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] numdiff-5.9.0/inout.c:699:12: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] numdiff-5.9.0/inout.c:718:10: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] numdiff-5.9.0/inout.c:782:7: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] numdiff-5.9.0/inout.c:795:7: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] numdiff-5.9.0/inout.c:715:16: style: Variable 'suffix_guess' is assigned a value that is never used. [unreadVariable] numdiff-5.9.0/numutil.c:157:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] numdiff-5.9.0/numutil.c:312:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] numdiff-5.9.0/numutil.c:405:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] numdiff-5.9.0/options.c:41:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] numdiff-5.9.0/options.c:358:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIELDMASK_SIZE [valueFlowBailoutIncompleteVar] numdiff-5.9.0/number.c:92:3: warning: Either the condition 'temp==NULL' is redundant or there is possible null pointer dereference: temp. [nullPointerRedundantCheck] numdiff-5.9.0/number.c:90:14: note: Assuming that condition 'temp==NULL' is not redundant numdiff-5.9.0/number.c:92:3: note: Null pointer dereference numdiff-5.9.0/number.c:93:3: warning: Either the condition 'temp==NULL' is redundant or there is possible null pointer dereference: temp. [nullPointerRedundantCheck] numdiff-5.9.0/number.c:90:14: note: Assuming that condition 'temp==NULL' is not redundant numdiff-5.9.0/number.c:93:3: note: Null pointer dereference numdiff-5.9.0/number.c:94:3: warning: Either the condition 'temp==NULL' is redundant or there is possible null pointer dereference: temp. [nullPointerRedundantCheck] numdiff-5.9.0/number.c:90:14: note: Assuming that condition 'temp==NULL' is not redundant numdiff-5.9.0/number.c:94:3: note: Null pointer dereference numdiff-5.9.0/number.c:95:3: warning: Either the condition 'temp==NULL' is redundant or there is possible null pointer dereference: temp. [nullPointerRedundantCheck] numdiff-5.9.0/number.c:90:14: note: Assuming that condition 'temp==NULL' is not redundant numdiff-5.9.0/number.c:95:3: note: Null pointer dereference numdiff-5.9.0/number.c:96:3: warning: Either the condition 'temp==NULL' is redundant or there is possible null pointer dereference: temp. [nullPointerRedundantCheck] numdiff-5.9.0/number.c:90:14: note: Assuming that condition 'temp==NULL' is not redundant numdiff-5.9.0/number.c:96:3: note: Null pointer dereference numdiff-5.9.0/number.c:97:7: warning: Either the condition 'temp==NULL' is redundant or there is possible null pointer dereference: temp. [nullPointerRedundantCheck] numdiff-5.9.0/number.c:90:14: note: Assuming that condition 'temp==NULL' is not redundant numdiff-5.9.0/number.c:97:7: note: Null pointer dereference numdiff-5.9.0/number.c:679:3: warning: Either the condition 'temp==NULL' is redundant or there is possible null pointer dereference: temp. [nullPointerRedundantCheck] numdiff-5.9.0/number.c:677:14: note: Assuming that condition 'temp==NULL' is not redundant numdiff-5.9.0/number.c:679:3: note: Null pointer dereference numdiff-5.9.0/number.c:680:3: warning: Either the condition 'temp==NULL' is redundant or there is possible null pointer dereference: temp. [nullPointerRedundantCheck] numdiff-5.9.0/number.c:677:14: note: Assuming that condition 'temp==NULL' is not redundant numdiff-5.9.0/number.c:680:3: note: Null pointer dereference numdiff-5.9.0/number.c:681:3: warning: Either the condition 'temp==NULL' is redundant or there is possible null pointer dereference: temp. [nullPointerRedundantCheck] numdiff-5.9.0/number.c:677:14: note: Assuming that condition 'temp==NULL' is not redundant numdiff-5.9.0/number.c:681:3: note: Null pointer dereference numdiff-5.9.0/number.c:682:3: warning: Either the condition 'temp==NULL' is redundant or there is possible null pointer dereference: temp. [nullPointerRedundantCheck] numdiff-5.9.0/number.c:677:14: note: Assuming that condition 'temp==NULL' is not redundant numdiff-5.9.0/number.c:682:3: note: Null pointer dereference numdiff-5.9.0/number.c:683:3: warning: Either the condition 'temp==NULL' is redundant or there is possible null pointer dereference: temp. [nullPointerRedundantCheck] numdiff-5.9.0/number.c:677:14: note: Assuming that condition 'temp==NULL' is not redundant numdiff-5.9.0/number.c:683:3: note: Null pointer dereference numdiff-5.9.0/number.c:684:3: warning: Either the condition 'temp==NULL' is redundant or there is possible null pointer dereference: temp. [nullPointerRedundantCheck] numdiff-5.9.0/number.c:677:14: note: Assuming that condition 'temp==NULL' is not redundant numdiff-5.9.0/number.c:684:3: note: Null pointer dereference numdiff-5.9.0/number.c:1010:11: warning: Either the condition 'num1==NULL' is redundant or there is possible null pointer dereference: num1. [nullPointerRedundantCheck] numdiff-5.9.0/number.c:1009:12: note: Assuming that condition 'num1==NULL' is not redundant numdiff-5.9.0/number.c:1010:11: note: Null pointer dereference numdiff-5.9.0/number.c:1016:3: warning: Either the condition 'num2==NULL' is redundant or there is possible null pointer dereference: num2. [nullPointerRedundantCheck] numdiff-5.9.0/number.c:1015:12: note: Assuming that condition 'num2==NULL' is not redundant numdiff-5.9.0/number.c:1016:3: note: Null pointer dereference numdiff-5.9.0/number.c:1019:11: warning: Either the condition 'num2==NULL' is redundant or there is possible null pointer dereference: n2ptr. [nullPointerRedundantCheck] numdiff-5.9.0/number.c:1015:12: note: Assuming that condition 'num2==NULL' is not redundant numdiff-5.9.0/number.c:1018:11: note: Assignment 'n2ptr=num2', assigned value is 0 numdiff-5.9.0/number.c:1019:11: note: Null pointer dereference numdiff-5.9.0/number.c:1011:3: warning: Either the condition 'num1==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] numdiff-5.9.0/number.c:1009:12: note: Assuming that condition 'num1==NULL' is not redundant numdiff-5.9.0/number.c:1011:3: note: Null pointer addition numdiff-5.9.0/number.c:1017:9: warning: Either the condition 'num2==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] numdiff-5.9.0/number.c:1015:12: note: Assuming that condition 'num2==NULL' is not redundant numdiff-5.9.0/number.c:1017:9: note: Null pointer addition numdiff-5.9.0/ndselect.c:61:14: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] numdiff-5.9.0/ndselect.c:234:17: style: Variable 'long_options' can be declared as const array [constVariable] numdiff-5.9.0/side.c:63:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] numdiff-5.9.0/side.c:86:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] numdiff-5.9.0/side.c:182:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] numdiff-5.9.0/side.c:309:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] numdiff-5.9.0/side.c:409:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] numdiff-5.9.0/thrlist.c:103:12: style: Variable 'beg' is reassigned a value before the old one has been used. [redundantAssignment] numdiff-5.9.0/thrlist.c:98:7: note: beg is assigned numdiff-5.9.0/thrlist.c:103:12: note: beg is overwritten numdiff-5.9.0/thrlist.c:96:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] numdiff-5.9.0/xmalloc.c:48:17: style:inconclusive: Function 'xmalloc' argument 1 names different: declaration 's' definition 'n'. [funcArgNamesDifferent] numdiff-5.9.0/xalloc.h:48:23: note: Function 'xmalloc' argument 1 names different: declaration 's' definition 'n'. numdiff-5.9.0/xmalloc.c:48:17: note: Function 'xmalloc' argument 1 names different: declaration 's' definition 'n'. numdiff-5.9.0/xmalloc.c:60:27: style:inconclusive: Function 'xrealloc' argument 2 names different: declaration 's' definition 'n'. [funcArgNamesDifferent] numdiff-5.9.0/xalloc.h:51:33: note: Function 'xrealloc' argument 2 names different: declaration 's' definition 'n'. numdiff-5.9.0/xmalloc.c:60:27: note: Function 'xrealloc' argument 2 names different: declaration 's' definition 'n'. numdiff-5.9.0/xmalloc.c:120:22: style:inconclusive: Function 'xstrdup' argument 1 names different: declaration 'str' definition 'string'. [funcArgNamesDifferent] numdiff-5.9.0/xalloc.h:54:28: note: Function 'xstrdup' argument 1 names different: declaration 'str' definition 'string'. numdiff-5.9.0/xmalloc.c:120:22: note: Function 'xstrdup' argument 1 names different: declaration 'str' definition 'string'. numdiff-5.9.0/util.c:79:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIELDMASK_SIZE [valueFlowBailoutIncompleteVar] numdiff-5.9.0/numutil.c:120:15: style: Variable 'first_sep' is assigned a value that is never used. [unreadVariable] numdiff-5.9.0/numutil.c:123:14: style: Variable 'i' is assigned a value that is never used. [unreadVariable] numdiff-5.9.0/numutil.c:252:15: style: Variable 'first_sep' is assigned a value that is never used. [unreadVariable] numdiff-5.9.0/numutil.c:255:14: style: Variable 'i' is assigned a value that is never used. [unreadVariable] numdiff-5.9.0/options.c:179:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] numdiff-5.9.0/options.c:281:12: style: Variable 'beg' is reassigned a value before the old one has been used. [redundantAssignment] numdiff-5.9.0/options.c:271:7: note: beg is assigned numdiff-5.9.0/options.c:281:12: note: beg is overwritten numdiff-5.9.0/options.c:269:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] numdiff-5.9.0/options.c:360:17: style: Variable 'long_options' can be declared as const array [constVariable] diff: head numdiff-5.9.0/analyze.c:163:38: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 numdiff-5.9.0/analyze.c:163:38: portability: Shifting signed 64-bit value by 63 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head numdiff-5.9.0/analyze.c:164:38: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 numdiff-5.9.0/analyze.c:164:38: portability: Shifting signed 64-bit value by 63 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head numdiff-5.9.0/analyze.c:300:14: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 numdiff-5.9.0/analyze.c:300:14: portability: Shifting signed 64-bit value by 63 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head numdiff-5.9.0/bitvector.c:282:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head numdiff-5.9.0/cmpbuf.c:88:20: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 numdiff-5.9.0/cmpbuf.c:88:20: portability: Shifting signed 64-bit value by 63 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head numdiff-5.9.0/cmpfns.c:585:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head numdiff-5.9.0/error.c:205:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head numdiff-5.9.0/error.c:239:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head numdiff-5.9.0/error.c:298:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head numdiff-5.9.0/errors.c:110:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head numdiff-5.9.0/errors.c:42:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head numdiff-5.9.0/errors.c:76:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head numdiff-5.9.0/errors.c:77:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIT_TROUBLE [valueFlowBailoutIncompleteVar] head numdiff-5.9.0/getopt.c:417:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PERMUTE [valueFlowBailoutIncompleteVar] head numdiff-5.9.0/inout.c:117:10: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 numdiff-5.9.0/inout.c:117:10: portability: Shifting signed 64-bit value by 63 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head numdiff-5.9.0/inout.c:175:7: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 numdiff-5.9.0/inout.c:175:7: portability: Shifting signed 64-bit value by 63 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head numdiff-5.9.0/inout.c:205:8: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 numdiff-5.9.0/inout.c:205:8: portability: Shifting signed 64-bit value by 63 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head numdiff-5.9.0/inout.c:372:7: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 numdiff-5.9.0/inout.c:372:7: portability: Shifting signed 64-bit value by 63 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head numdiff-5.9.0/inout.c:408:8: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 numdiff-5.9.0/inout.c:408:8: portability: Shifting signed 64-bit value by 63 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head numdiff-5.9.0/inout.c:409:11: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 numdiff-5.9.0/inout.c:409:11: portability: Shifting signed 64-bit value by 63 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head numdiff-5.9.0/inout.c:410:11: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 numdiff-5.9.0/inout.c:410:11: portability: Shifting signed 64-bit value by 63 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head numdiff-5.9.0/inout.c:434:8: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 numdiff-5.9.0/inout.c:434:8: portability: Shifting signed 64-bit value by 63 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head numdiff-5.9.0/inout.c:435:11: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 numdiff-5.9.0/inout.c:435:11: portability: Shifting signed 64-bit value by 63 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head numdiff-5.9.0/inout.c:436:11: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 numdiff-5.9.0/inout.c:436:11: portability: Shifting signed 64-bit value by 63 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head numdiff-5.9.0/inout.c:535:10: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 numdiff-5.9.0/inout.c:535:10: portability: Shifting signed 64-bit value by 63 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head numdiff-5.9.0/inout.c:699:12: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 numdiff-5.9.0/inout.c:699:12: portability: Shifting signed 64-bit value by 63 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head numdiff-5.9.0/inout.c:718:10: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 numdiff-5.9.0/inout.c:718:10: portability: Shifting signed 64-bit value by 63 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head numdiff-5.9.0/inout.c:782:7: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 numdiff-5.9.0/inout.c:782:7: portability: Shifting signed 64-bit value by 63 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head numdiff-5.9.0/inout.c:795:7: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 numdiff-5.9.0/inout.c:795:7: portability: Shifting signed 64-bit value by 63 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head numdiff-5.9.0/io.c:129:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head numdiff-5.9.0/io.c:53:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF_INDICATOR [valueFlowBailoutIncompleteVar] head numdiff-5.9.0/io.c:66:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINE_SEP [valueFlowBailoutIncompleteVar] head numdiff-5.9.0/main.c:183:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_mode [valueFlowBailoutIncompleteVar] head numdiff-5.9.0/main.c:264:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_ino [valueFlowBailoutIncompleteVar] head numdiff-5.9.0/main.c:362:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head numdiff-5.9.0/main.c:504:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head numdiff-5.9.0/ndselect.c:110:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] head numdiff-5.9.0/ndselect.c:163:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] head numdiff-5.9.0/ndselect.c:284:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] head numdiff-5.9.0/ndselect.c:494:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head numdiff-5.9.0/ndselect.c:75:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head numdiff-5.9.0/number.c:970:25: style: Variable 'ptr2' can be declared as pointer to const [constVariablePointer] head numdiff-5.9.0/numutil.c:312:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head numdiff-5.9.0/numutil.c:405:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head numdiff-5.9.0/options.c:358:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIELDMASK_SIZE [valueFlowBailoutIncompleteVar] head numdiff-5.9.0/side.c:182:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] 2.13.0 numdiff-5.9.0/side.c:196:46: error: The address of local variable 'linbuf' is accessed at non-zero index. [objectIndex] numdiff-5.9.0/side.c:277:47: note: Address of variable taken here. numdiff-5.9.0/side.c:277:47: note: Calling function 'print_1sdiff_line', 3rd argument '&files[1].linbuf[j]' value is lifetime=linbuf numdiff-5.9.0/side.c:196:46: note: The address of local variable 'linbuf' is accessed at non-zero index. 2.13.0 numdiff-5.9.0/side.c:203:27: error: The address of local variable 'linbuf' is accessed at non-zero index. [objectIndex] numdiff-5.9.0/side.c:228:11: note: Address of variable taken here. numdiff-5.9.0/side.c:228:11: note: Calling function 'print_1sdiff_line', 3rd argument '&files[1].linbuf[i1++]' value is lifetime=linbuf numdiff-5.9.0/side.c:203:27: note: The address of local variable 'linbuf' is accessed at non-zero index. 2.13.0 numdiff-5.9.0/side.c:203:27: error: The address of local variable 'linbuf' is accessed at non-zero index. [objectIndex] numdiff-5.9.0/side.c:230:33: note: Address of variable taken here. numdiff-5.9.0/side.c:230:33: note: Calling function 'print_1sdiff_line', 3rd argument '&files[1].linbuf[i1++]' value is lifetime=linbuf numdiff-5.9.0/side.c:203:27: note: The address of local variable 'linbuf' is accessed at non-zero index. 2.13.0 numdiff-5.9.0/side.c:203:27: error: The address of local variable 'linbuf' is accessed at non-zero index. [objectIndex] numdiff-5.9.0/side.c:287:29: note: Address of variable taken here. numdiff-5.9.0/side.c:287:29: note: Calling function 'print_1sdiff_line', 3rd argument '&files[1].linbuf[j]' value is lifetime=linbuf numdiff-5.9.0/side.c:203:27: note: The address of local variable 'linbuf' is accessed at non-zero index. head numdiff-5.9.0/side.c:309:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head numdiff-5.9.0/side.c:409:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head numdiff-5.9.0/side.c:86:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] 2.13.0 numdiff-5.9.0/side.c:90:41: error: The address of local variable 'linbuf' is accessed at non-zero index. [objectIndex] numdiff-5.9.0/side.c:228:11: note: Address of variable taken here. numdiff-5.9.0/side.c:228:11: note: Calling function 'print_1sdiff_line', 3rd argument '&files[1].linbuf[i1++]' value is lifetime=linbuf numdiff-5.9.0/side.c:207:21: note: Calling function 'print_half_line', 1st argument 'right' value is lifetime=linbuf numdiff-5.9.0/side.c:90:41: note: The address of local variable 'linbuf' is accessed at non-zero index. 2.13.0 numdiff-5.9.0/side.c:90:41: error: The address of local variable 'linbuf' is accessed at non-zero index. [objectIndex] numdiff-5.9.0/side.c:230:33: note: Address of variable taken here. numdiff-5.9.0/side.c:230:33: note: Calling function 'print_1sdiff_line', 3rd argument '&files[1].linbuf[i1++]' value is lifetime=linbuf numdiff-5.9.0/side.c:207:21: note: Calling function 'print_half_line', 1st argument 'right' value is lifetime=linbuf numdiff-5.9.0/side.c:90:41: note: The address of local variable 'linbuf' is accessed at non-zero index. 2.13.0 numdiff-5.9.0/side.c:90:41: error: The address of local variable 'linbuf' is accessed at non-zero index. [objectIndex] numdiff-5.9.0/side.c:287:29: note: Address of variable taken here. numdiff-5.9.0/side.c:287:29: note: Calling function 'print_1sdiff_line', 3rd argument '&files[1].linbuf[j]' value is lifetime=linbuf numdiff-5.9.0/side.c:207:21: note: Calling function 'print_half_line', 1st argument 'right' value is lifetime=linbuf numdiff-5.9.0/side.c:90:41: note: The address of local variable 'linbuf' is accessed at non-zero index. DONE