2025-09-15 21:37 ftp://ftp.de.debian.org/debian/pool/main/r/rcs-blame/rcs-blame_1.4+20240206.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 --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.12.43+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 3e169d6 (2025-09-15 13:38:15 +0200) count: 288 288 elapsed-time: 3.0 3.2 head-timing-info: old-timing-info: head results: blame-1.4-20240206/lib/argp-fmtstream.h:237:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/alloca.c:99:16: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] blame-1.4-20240206/lib/alloca.c:133:8: style: union member 'hdr::align' is never used. [unusedStructMember] blame-1.4-20240206/lib/argp-fmtstream.c:388:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/argp.h:594:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/basename.c:98:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] blame-1.4-20240206/lib/basename.c:95:25: note: Assuming allocation function fails blame-1.4-20240206/lib/basename.c:95:25: note: Assignment 'p=xmalloc(length+3)', assigned value is 0 blame-1.4-20240206/lib/basename.c:98:17: note: Null pointer addition blame-1.4-20240206/lib/basename.c:118:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] blame-1.4-20240206/lib/basename.c:33:29: style:inconclusive: Function 'last_component' argument 1 names different: declaration 'file' definition 'name'. [funcArgNamesDifferent] blame-1.4-20240206/lib/dirname.h:66:35: note: Function 'last_component' argument 1 names different: declaration 'file' definition 'name'. blame-1.4-20240206/lib/basename.c:33:29: note: Function 'last_component' argument 1 names different: declaration 'file' definition 'name'. blame-1.4-20240206/lib/basename.c:75:24: style:inconclusive: Function 'base_name' argument 1 names different: declaration 'file' definition 'name'. [funcArgNamesDifferent] blame-1.4-20240206/lib/dirname.h:62:30: note: Function 'base_name' argument 1 names different: declaration 'file' definition 'name'. blame-1.4-20240206/lib/basename.c:75:24: note: Function 'base_name' argument 1 names different: declaration 'file' definition 'name'. blame-1.4-20240206/lib/basename.c:112:23: style:inconclusive: Function 'base_len' argument 1 names different: declaration 'file' definition 'name'. [funcArgNamesDifferent] blame-1.4-20240206/lib/dirname.h:64:30: note: Function 'base_len' argument 1 names different: declaration 'file' definition 'name'. blame-1.4-20240206/lib/basename.c:112:23: note: Function 'base_len' argument 1 names different: declaration 'file' definition 'name'. blame-1.4-20240206/lib/argp-parse.c:132:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E2BIG [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/argp-parse.c:165:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E2BIG [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/argp-parse.c:239:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E2BIG [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/argp-parse.c:334:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/argp-parse.c:465:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _GETOPT_DATA_INITIALIZER [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/argp-parse.c:587:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E2BIG [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/argp-parse.c:672:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E2BIG [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/argp-parse.c:722:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable val [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/argp-parse.c:831:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E2BIG [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/canonicalize.c:120:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAN_EXISTING [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/canonicalize.c:143:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/argp-fmtstream.c:58:30: style:inconclusive: Function 'argp_make_fmtstream' argument 1 names different: declaration '__stream' definition 'stream'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp-fmtstream.h:126:52: note: Function 'argp_make_fmtstream' argument 1 names different: declaration '__stream' definition 'stream'. blame-1.4-20240206/lib/argp-fmtstream.c:58:30: note: Function 'argp_make_fmtstream' argument 1 names different: declaration '__stream' definition 'stream'. blame-1.4-20240206/lib/argp-fmtstream.c:59:17: style:inconclusive: Function 'argp_make_fmtstream' argument 2 names different: declaration '__lmargin' definition 'lmargin'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp-fmtstream.h:127:18: note: Function 'argp_make_fmtstream' argument 2 names different: declaration '__lmargin' definition 'lmargin'. blame-1.4-20240206/lib/argp-fmtstream.c:59:17: note: Function 'argp_make_fmtstream' argument 2 names different: declaration '__lmargin' definition 'lmargin'. blame-1.4-20240206/lib/argp-fmtstream.c:59:33: style:inconclusive: Function 'argp_make_fmtstream' argument 3 names different: declaration '__rmargin' definition 'rmargin'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp-fmtstream.h:128:18: note: Function 'argp_make_fmtstream' argument 3 names different: declaration '__rmargin' definition 'rmargin'. blame-1.4-20240206/lib/argp-fmtstream.c:59:33: note: Function 'argp_make_fmtstream' argument 3 names different: declaration '__rmargin' definition 'rmargin'. blame-1.4-20240206/lib/argp-fmtstream.c:59:50: style:inconclusive: Function 'argp_make_fmtstream' argument 4 names different: declaration '__wmargin' definition 'wmargin'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp-fmtstream.h:129:19: note: Function 'argp_make_fmtstream' argument 4 names different: declaration '__wmargin' definition 'wmargin'. blame-1.4-20240206/lib/argp-fmtstream.c:59:50: note: Function 'argp_make_fmtstream' argument 4 names different: declaration '__wmargin' definition 'wmargin'. blame-1.4-20240206/lib/argp-fmtstream.c:98:41: style:inconclusive: Function 'argp_fmtstream_free' argument 1 names different: declaration '__fs' definition 'fs'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp-fmtstream.h:133:51: note: Function 'argp_fmtstream_free' argument 1 names different: declaration '__fs' definition 'fs'. blame-1.4-20240206/lib/argp-fmtstream.c:98:41: note: Function 'argp_fmtstream_free' argument 1 names different: declaration '__fs' definition 'fs'. blame-1.4-20240206/lib/argp-fmtstream.c:122:43: style:inconclusive: Function '_argp_fmtstream_update' argument 1 names different: declaration '__fs' definition 'fs'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp-fmtstream.h:184:54: note: Function '_argp_fmtstream_update' argument 1 names different: declaration '__fs' definition 'fs'. blame-1.4-20240206/lib/argp-fmtstream.c:122:43: note: Function '_argp_fmtstream_update' argument 1 names different: declaration '__fs' definition 'fs'. blame-1.4-20240206/lib/argp-fmtstream.c:351:49: style:inconclusive: Function '_argp_fmtstream_ensure' argument 1 names different: declaration '__fs' definition 'fs'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp-fmtstream.h:186:53: note: Function '_argp_fmtstream_ensure' argument 1 names different: declaration '__fs' definition 'fs'. blame-1.4-20240206/lib/argp-fmtstream.c:351:49: note: Function '_argp_fmtstream_ensure' argument 1 names different: declaration '__fs' definition 'fs'. blame-1.4-20240206/lib/argp-fmtstream.c:351:60: style:inconclusive: Function '_argp_fmtstream_ensure' argument 2 names different: declaration '__amount' definition 'amount'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp-fmtstream.h:186:66: note: Function '_argp_fmtstream_ensure' argument 2 names different: declaration '__amount' definition 'amount'. blame-1.4-20240206/lib/argp-fmtstream.c:351:60: note: Function '_argp_fmtstream_ensure' argument 2 names different: declaration '__amount' definition 'amount'. blame-1.4-20240206/lib/argp-fmtstream.c:402:49: style:inconclusive: Function 'argp_fmtstream_printf' argument 1 names different: declaration '__fs' definition 'fs'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp-fmtstream.h:138:56: note: Function 'argp_fmtstream_printf' argument 1 names different: declaration '__fs' definition 'fs'. blame-1.4-20240206/lib/argp-fmtstream.c:402:49: note: Function 'argp_fmtstream_printf' argument 1 names different: declaration '__fs' definition 'fs'. blame-1.4-20240206/lib/argp-fmtstream.c:402:65: style:inconclusive: Function 'argp_fmtstream_printf' argument 2 names different: declaration '__fmt' definition 'fmt'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp-fmtstream.h:139:23: note: Function 'argp_fmtstream_printf' argument 2 names different: declaration '__fmt' definition 'fmt'. blame-1.4-20240206/lib/argp-fmtstream.c:402:65: note: Function 'argp_fmtstream_printf' argument 2 names different: declaration '__fmt' definition 'fmt'. blame-1.4-20240206/lib/argp-help.c:1778:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/argp-help.c:1846:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/dirname.c:39:35: style: Condition 'prefix_length!=0' is always false [knownConditionTrueFalse] blame-1.4-20240206/lib/dirname.c:35:26: note: Assignment 'prefix_length=0', assigned value is 0 blame-1.4-20240206/lib/dirname.c:39:35: note: Condition 'prefix_length!=0' is always false blame-1.4-20240206/lib/dirname.c:80:11: warning: If memory allocation fails, then there is a possible null pointer dereference: dir [nullPointerOutOfMemory] blame-1.4-20240206/lib/dirname.c:79:23: note: Assuming allocation function fails blame-1.4-20240206/lib/dirname.c:79:23: note: Assignment 'dir=xmalloc(length+append_dot+1)', assigned value is 0 blame-1.4-20240206/lib/dirname.c:80:11: note: Null pointer dereference blame-1.4-20240206/lib/dirname.c:83:3: warning: If memory allocation fails, then there is a possible null pointer dereference: dir [nullPointerOutOfMemory] blame-1.4-20240206/lib/dirname.c:79:23: note: Assuming allocation function fails blame-1.4-20240206/lib/dirname.c:79:23: note: Assignment 'dir=xmalloc(length+append_dot+1)', assigned value is 0 blame-1.4-20240206/lib/dirname.c:83:3: note: Null pointer dereference blame-1.4-20240206/lib/canonicalize.c:175:7: warning: If memory allocation fails, then there is a possible null pointer dereference: rname [nullPointerOutOfMemory] blame-1.4-20240206/lib/canonicalize.c:173:23: note: Assuming allocation function fails blame-1.4-20240206/lib/canonicalize.c:173:23: note: Assignment 'rname=xmalloc(256)', assigned value is 0 blame-1.4-20240206/lib/canonicalize.c:175:7: note: Null pointer dereference blame-1.4-20240206/lib/canonicalize.c:275:29: warning: If memory allocation fails, then there is a possible null pointer dereference: extra_buf [nullPointerOutOfMemory] blame-1.4-20240206/lib/canonicalize.c:265:25: note: Assuming allocation function fails blame-1.4-20240206/lib/canonicalize.c:265:25: note: Assignment 'extra_buf=xmalloc(extra_len)', assigned value is 0 blame-1.4-20240206/lib/canonicalize.c:275:29: note: Null pointer dereference blame-1.4-20240206/lib/canonicalize.c:174:27: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] blame-1.4-20240206/lib/canonicalize.c:173:23: note: Assuming allocation function fails blame-1.4-20240206/lib/canonicalize.c:173:23: note: Assignment 'rname=xmalloc(256)', assigned value is 0 blame-1.4-20240206/lib/canonicalize.c:174:27: note: Null pointer addition blame-1.4-20240206/lib/canonicalize.c:176:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] blame-1.4-20240206/lib/canonicalize.c:173:23: note: Assuming allocation function fails blame-1.4-20240206/lib/canonicalize.c:173:23: note: Assignment 'rname=xmalloc(256)', assigned value is 0 blame-1.4-20240206/lib/canonicalize.c:176:20: note: Null pointer addition blame-1.4-20240206/lib/error.c:131:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/error.c:205:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/error.c:239:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/error.c:298:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/error.c:227:12: style:inconclusive: Function 'error' argument 1 names different: declaration '__status' definition 'status'. [funcArgNamesDifferent] blame-1.4-20240206/lib/error.h:43:24: note: Function 'error' argument 1 names different: declaration '__status' definition 'status'. blame-1.4-20240206/lib/error.c:227:12: note: Function 'error' argument 1 names different: declaration '__status' definition 'status'. blame-1.4-20240206/lib/error.c:227:24: style:inconclusive: Function 'error' argument 2 names different: declaration '__errnum' definition 'errnum'. [funcArgNamesDifferent] blame-1.4-20240206/lib/error.h:43:38: note: Function 'error' argument 2 names different: declaration '__errnum' definition 'errnum'. blame-1.4-20240206/lib/error.c:227:24: note: Function 'error' argument 2 names different: declaration '__errnum' definition 'errnum'. blame-1.4-20240206/lib/error.c:227:44: style:inconclusive: Function 'error' argument 3 names different: declaration '__format' definition 'message'. [funcArgNamesDifferent] blame-1.4-20240206/lib/error.h:43:60: note: Function 'error' argument 3 names different: declaration '__format' definition 'message'. blame-1.4-20240206/lib/error.c:227:44: note: Function 'error' argument 3 names different: declaration '__format' definition 'message'. blame-1.4-20240206/lib/error.c:270:20: style:inconclusive: Function 'error_at_line' argument 1 names different: declaration '__status' definition 'status'. [funcArgNamesDifferent] blame-1.4-20240206/lib/error.h:46:32: note: Function 'error_at_line' argument 1 names different: declaration '__status' definition 'status'. blame-1.4-20240206/lib/error.c:270:20: note: Function 'error_at_line' argument 1 names different: declaration '__status' definition 'status'. blame-1.4-20240206/lib/error.c:270:32: style:inconclusive: Function 'error_at_line' argument 2 names different: declaration '__errnum' definition 'errnum'. [funcArgNamesDifferent] blame-1.4-20240206/lib/error.h:46:46: note: Function 'error_at_line' argument 2 names different: declaration '__errnum' definition 'errnum'. blame-1.4-20240206/lib/error.c:270:32: note: Function 'error_at_line' argument 2 names different: declaration '__errnum' definition 'errnum'. blame-1.4-20240206/lib/error.c:270:52: style:inconclusive: Function 'error_at_line' argument 3 names different: declaration '__fname' definition 'file_name'. [funcArgNamesDifferent] blame-1.4-20240206/lib/error.h:46:68: note: Function 'error_at_line' argument 3 names different: declaration '__fname' definition 'file_name'. blame-1.4-20240206/lib/error.c:270:52: note: Function 'error_at_line' argument 3 names different: declaration '__fname' definition 'file_name'. blame-1.4-20240206/lib/error.c:271:22: style:inconclusive: Function 'error_at_line' argument 4 names different: declaration '__lineno' definition 'line_number'. [funcArgNamesDifferent] blame-1.4-20240206/lib/error.h:47:20: note: Function 'error_at_line' argument 4 names different: declaration '__lineno' definition 'line_number'. blame-1.4-20240206/lib/error.c:271:22: note: Function 'error_at_line' argument 4 names different: declaration '__lineno' definition 'line_number'. blame-1.4-20240206/lib/error.c:271:47: style:inconclusive: Function 'error_at_line' argument 5 names different: declaration '__format' definition 'message'. [funcArgNamesDifferent] blame-1.4-20240206/lib/error.h:47:42: note: Function 'error_at_line' argument 5 names different: declaration '__format' definition 'message'. blame-1.4-20240206/lib/error.c:271:47: note: Function 'error_at_line' argument 5 names different: declaration '__format' definition 'message'. blame-1.4-20240206/lib/error.c:263:1: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] blame-1.4-20240206/lib/filenamecat.c:76:7: warning: If memory allocation fails, then there is a possible null pointer dereference: p_concat [nullPointerOutOfMemory] blame-1.4-20240206/lib/filenamecat.c:73:28: note: Assuming allocation function fails blame-1.4-20240206/lib/filenamecat.c:73:28: note: Assignment 'p_concat=xmalloc(dirlen+needs_separator+baselen+1)', assigned value is 0 blame-1.4-20240206/lib/filenamecat.c:76:7: note: Null pointer dereference blame-1.4-20240206/lib/filenamecat.c:43:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] blame-1.4-20240206/lib/filenamecat.c:63:48: style:inconclusive: Function 'file_name_concat' argument 2 names different: declaration 'base' definition 'abase'. [funcArgNamesDifferent] blame-1.4-20240206/lib/filenamecat.h:21:54: note: Function 'file_name_concat' argument 2 names different: declaration 'base' definition 'abase'. blame-1.4-20240206/lib/filenamecat.c:63:48: note: Function 'file_name_concat' argument 2 names different: declaration 'base' definition 'abase'. blame-1.4-20240206/lib/getdelim.c:59:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/getdelim.c:52:59: style:inconclusive: Function 'getdelim' argument 4 names different: declaration 'stream' definition 'fp'. [funcArgNamesDifferent] blame-1.4-20240206/lib/getdelim.h:27:67: note: Function 'getdelim' argument 4 names different: declaration 'stream' definition 'fp'. blame-1.4-20240206/lib/getdelim.c:52:59: note: Function 'getdelim' argument 4 names different: declaration 'stream' definition 'fp'. blame-1.4-20240206/lib/getcwd.c:157:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/argp-parse.c:900:34: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] blame-1.4-20240206/lib/argp-parse.c:901:31: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] blame-1.4-20240206/lib/getcwd.c:273:12: style: Condition '!match' is always false [knownConditionTrueFalse] blame-1.4-20240206/lib/getcwd.c:272:48: note: Assignment 'match=true||mount_point', assigned value is 1 blame-1.4-20240206/lib/getcwd.c:273:12: note: Condition '!match' is always false blame-1.4-20240206/lib/getcwd.c:188:22: style: Variable 'd' can be declared as pointer to const [constVariablePointer] blame-1.4-20240206/lib/argp-parse.c:873:34: style:inconclusive: Function 'argp_parse' argument 1 names different: declaration '__argp' definition 'argp'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp.h:415:58: note: Function 'argp_parse' argument 1 names different: declaration '__argp' definition 'argp'. blame-1.4-20240206/lib/argp-parse.c:873:34: note: Function 'argp_parse' argument 1 names different: declaration '__argp' definition 'argp'. blame-1.4-20240206/lib/argp-parse.c:873:72: style:inconclusive: Function 'argp_parse' argument 4 names different: declaration '__flags' definition 'flags'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp.h:417:16: note: Function 'argp_parse' argument 4 names different: declaration '__flags' definition 'flags'. blame-1.4-20240206/lib/argp-parse.c:873:72: note: Function 'argp_parse' argument 4 names different: declaration '__flags' definition 'flags'. blame-1.4-20240206/lib/argp-parse.c:874:13: style:inconclusive: Function 'argp_parse' argument 5 names different: declaration '__arg_index' definition 'end_index'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp.h:417:41: note: Function 'argp_parse' argument 5 names different: declaration '__arg_index' definition 'end_index'. blame-1.4-20240206/lib/argp-parse.c:874:13: note: Function 'argp_parse' argument 5 names different: declaration '__arg_index' definition 'end_index'. blame-1.4-20240206/lib/argp-parse.c:874:30: style:inconclusive: Function 'argp_parse' argument 6 names different: declaration '__input' definition 'input'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp.h:418:24: note: Function 'argp_parse' argument 6 names different: declaration '__input' definition 'input'. blame-1.4-20240206/lib/argp-parse.c:874:30: note: Function 'argp_parse' argument 6 names different: declaration '__input' definition 'input'. blame-1.4-20240206/lib/argp-parse.c:940:34: style:inconclusive: Function '_argp_input' argument 1 names different: declaration '__argp' definition 'argp'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp.h:575:57: note: Function '_argp_input' argument 1 names different: declaration '__argp' definition 'argp'. blame-1.4-20240206/lib/argp-parse.c:940:34: note: Function '_argp_input' argument 1 names different: declaration '__argp' definition 'argp'. blame-1.4-20240206/lib/argp-parse.c:940:65: style:inconclusive: Function '_argp_input' argument 2 names different: declaration '__state' definition 'state'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp.h:576:42: note: Function '_argp_input' argument 2 names different: declaration '__state' definition 'state'. blame-1.4-20240206/lib/argp-parse.c:940:65: note: Function '_argp_input' argument 2 names different: declaration '__state' definition 'state'. blame-1.4-20240206/lib/argp-parse.c:179:18: style: Variable 'l' can be declared as pointer to const [constVariablePointer] blame-1.4-20240206/lib/argp-parse.c:732:13: style: Variable 'short_index' can be declared as pointer to const [constVariablePointer] blame-1.4-20240206/lib/getopt1.c:49:21: style:inconclusive: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] blame-1.4-20240206/lib/getopt_int.h:120:32: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. blame-1.4-20240206/lib/getopt1.c:49:21: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. blame-1.4-20240206/lib/getopt1.c:49:34: style:inconclusive: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] blame-1.4-20240206/lib/getopt_int.h:120:48: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. blame-1.4-20240206/lib/getopt1.c:49:34: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. blame-1.4-20240206/lib/getopt1.c:49:52: style:inconclusive: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] blame-1.4-20240206/lib/getopt_int.h:121:19: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. blame-1.4-20240206/lib/getopt1.c:49:52: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. blame-1.4-20240206/lib/getopt1.c:50:24: style:inconclusive: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] blame-1.4-20240206/lib/getopt_int.h:122:28: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. blame-1.4-20240206/lib/getopt1.c:50:24: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. blame-1.4-20240206/lib/getopt1.c:50:43: style:inconclusive: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] blame-1.4-20240206/lib/getopt_int.h:122:45: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. blame-1.4-20240206/lib/getopt1.c:50:43: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. blame-1.4-20240206/lib/getopt1.c:51:24: style:inconclusive: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] blame-1.4-20240206/lib/getopt_int.h:123:28: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. blame-1.4-20240206/lib/getopt1.c:51:24: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. blame-1.4-20240206/lib/getopt1.c:72:26: style:inconclusive: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] blame-1.4-20240206/lib/getopt_int.h:125:37: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. blame-1.4-20240206/lib/getopt1.c:72:26: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. blame-1.4-20240206/lib/getopt1.c:72:39: style:inconclusive: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] blame-1.4-20240206/lib/getopt_int.h:125:53: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. blame-1.4-20240206/lib/getopt1.c:72:39: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. blame-1.4-20240206/lib/getopt1.c:72:57: style:inconclusive: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] blame-1.4-20240206/lib/getopt_int.h:126:17: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. blame-1.4-20240206/lib/getopt1.c:72:57: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. blame-1.4-20240206/lib/getopt1.c:73:29: style:inconclusive: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] blame-1.4-20240206/lib/getopt_int.h:127:26: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. blame-1.4-20240206/lib/getopt1.c:73:29: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. blame-1.4-20240206/lib/getopt1.c:73:48: style:inconclusive: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] blame-1.4-20240206/lib/getopt_int.h:128:10: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. blame-1.4-20240206/lib/getopt1.c:73:48: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. blame-1.4-20240206/lib/getopt1.c:74:29: style:inconclusive: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] blame-1.4-20240206/lib/getopt_int.h:129:26: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. blame-1.4-20240206/lib/getopt1.c:74:29: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. blame-1.4-20240206/lib/getopt.c:253:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RETURN_IN_ORDER [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/getopt.c:400:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PERMUTE [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/gettimeofday.c:59:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] blame-1.4-20240206/lib/gettimeofday.c:71:19: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] blame-1.4-20240206/lib/gettimeofday.c:94:31: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] blame-1.4-20240206/lib/gettimeofday.c:116:31: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] blame-1.4-20240206/lib/gettimeofday.c:99:3: style: Variable '*localtime_buffer_addr' is assigned an expression that holds the same value. [redundantAssignment] blame-1.4-20240206/lib/gettimeofday.c:97:8: note: save is assigned '*localtime_buffer_addr' here. blame-1.4-20240206/lib/gettimeofday.c:99:3: note: Variable '*localtime_buffer_addr' is assigned an expression that holds the same value. blame-1.4-20240206/lib/lstat.c:74:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/obstack.c:426:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/obstack.c:179:35: error: Pointer addition with NULL pointer. [nullPointerArithmetic] blame-1.4-20240206/lib/obstack.c:227:35: error: Pointer addition with NULL pointer. [nullPointerArithmetic] blame-1.4-20240206/lib/obstack.c:270:5: error: Pointer addition with NULL pointer. [nullPointerArithmetic] blame-1.4-20240206/lib/obstack.c:297:7: error: Pointer addition with NULL pointer. [nullPointerArithmetic] blame-1.4-20240206/lib/obstack.c:345:33: style:inconclusive: Function 'obstack_free' argument 1 names different: declaration 'obstack' definition 'h'. [funcArgNamesDifferent] blame-1.4-20240206/lib/obstack.h:194:45: note: Function 'obstack_free' argument 1 names different: declaration 'obstack' definition 'h'. blame-1.4-20240206/lib/obstack.c:345:33: note: Function 'obstack_free' argument 1 names different: declaration 'obstack' definition 'h'. blame-1.4-20240206/lib/obstack.c:345:42: style:inconclusive: Function 'obstack_free' argument 2 names different: declaration 'block' definition 'obj'. [funcArgNamesDifferent] blame-1.4-20240206/lib/obstack.h:194:60: note: Function 'obstack_free' argument 2 names different: declaration 'block' definition 'obj'. blame-1.4-20240206/lib/obstack.c:345:42: note: Function 'obstack_free' argument 2 names different: declaration 'block' definition 'obj'. blame-1.4-20240206/lib/obstack.c:322:48: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] blame-1.4-20240206/lib/obstack.c:60:13: style: union member 'fooround::i' is never used. [unusedStructMember] blame-1.4-20240206/lib/obstack.c:61:15: style: union member 'fooround::d' is never used. [unusedStructMember] blame-1.4-20240206/lib/obstack.c:62:9: style: union member 'fooround::p' is never used. [unusedStructMember] blame-1.4-20240206/lib/obstack.c:66:8: style: struct member 'fooalign::c' is never used. [unusedStructMember] blame-1.4-20240206/lib/argp-help.c:1336:33: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] blame-1.4-20240206/lib/argp-help.c:1614:30: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] blame-1.4-20240206/lib/argp-help.c:1915:9: style: Condition '!s' is always true [knownConditionTrueFalse] blame-1.4-20240206/lib/argp-help.c:1905:21: note: Assignment 's=NULL', assigned value is 0 blame-1.4-20240206/lib/argp-help.c:1915:9: note: Condition '!s' is always true blame-1.4-20240206/lib/argp-help.c:1000:7: warning: Possible null pointer dereference: argp [nullPointer] blame-1.4-20240206/lib/argp-help.c:1236:16: note: Calling function 'filter_doc', 3rd argument 'state?state->root_argp:0' value is 0 blame-1.4-20240206/lib/argp-help.c:1000:7: note: Null pointer dereference blame-1.4-20240206/lib/xsize.h:59:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/printf-parse.c:143:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/argp-help.c:1714:38: style:inconclusive: Function 'argp_help' argument 1 names different: declaration '__argp' definition 'argp'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp.h:498:54: note: Function 'argp_help' argument 1 names different: declaration '__argp' definition 'argp'. blame-1.4-20240206/lib/argp-help.c:1714:38: note: Function 'argp_help' argument 1 names different: declaration '__argp' definition 'argp'. blame-1.4-20240206/lib/argp-help.c:1714:50: style:inconclusive: Function 'argp_help' argument 2 names different: declaration '__stream' definition 'stream'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp.h:499:27: note: Function 'argp_help' argument 2 names different: declaration '__stream' definition 'stream'. blame-1.4-20240206/lib/argp-help.c:1714:50: note: Function 'argp_help' argument 2 names different: declaration '__stream' definition 'stream'. blame-1.4-20240206/lib/argp-help.c:1715:14: style:inconclusive: Function 'argp_help' argument 3 names different: declaration '__flags' definition 'flags'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp.h:500:19: note: Function 'argp_help' argument 3 names different: declaration '__flags' definition 'flags'. blame-1.4-20240206/lib/argp-help.c:1715:14: note: Function 'argp_help' argument 3 names different: declaration '__flags' definition 'flags'. blame-1.4-20240206/lib/argp-help.c:1715:27: style:inconclusive: Function 'argp_help' argument 4 names different: declaration '__name' definition 'name'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp.h:500:45: note: Function 'argp_help' argument 4 names different: declaration '__name' definition 'name'. blame-1.4-20240206/lib/argp-help.c:1715:27: note: Function 'argp_help' argument 4 names different: declaration '__name' definition 'name'. blame-1.4-20240206/lib/argp-help.c:1747:45: style:inconclusive: Function 'argp_state_help' argument 1 names different: declaration '__state' definition 'state'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp.h:515:66: note: Function 'argp_state_help' argument 1 names different: declaration '__state' definition 'state'. blame-1.4-20240206/lib/argp-help.c:1747:45: note: Function 'argp_state_help' argument 1 names different: declaration '__state' definition 'state'. blame-1.4-20240206/lib/argp-help.c:1747:58: style:inconclusive: Function 'argp_state_help' argument 2 names different: declaration '__stream' definition 'stream'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp.h:516:26: note: Function 'argp_state_help' argument 2 names different: declaration '__stream' definition 'stream'. blame-1.4-20240206/lib/argp-help.c:1747:58: note: Function 'argp_state_help' argument 2 names different: declaration '__stream' definition 'stream'. blame-1.4-20240206/lib/argp-help.c:1747:75: style:inconclusive: Function 'argp_state_help' argument 3 names different: declaration '__flags' definition 'flags'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp.h:517:22: note: Function 'argp_state_help' argument 3 names different: declaration '__flags' definition 'flags'. blame-1.4-20240206/lib/argp-help.c:1747:75: note: Function 'argp_state_help' argument 3 names different: declaration '__flags' definition 'flags'. blame-1.4-20240206/lib/argp-help.c:1774:40: style:inconclusive: Function 'argp_error' argument 1 names different: declaration '__state' definition 'state'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp.h:529:61: note: Function 'argp_error' argument 1 names different: declaration '__state' definition 'state'. blame-1.4-20240206/lib/argp-help.c:1774:40: note: Function 'argp_error' argument 1 names different: declaration '__state' definition 'state'. blame-1.4-20240206/lib/argp-help.c:1774:59: style:inconclusive: Function 'argp_error' argument 2 names different: declaration '__fmt' definition 'fmt'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp.h:530:27: note: Function 'argp_error' argument 2 names different: declaration '__fmt' definition 'fmt'. blame-1.4-20240206/lib/argp-help.c:1774:59: note: Function 'argp_error' argument 2 names different: declaration '__fmt' definition 'fmt'. blame-1.4-20240206/lib/argp-help.c:1841:42: style:inconclusive: Function 'argp_failure' argument 1 names different: declaration '__state' definition 'state'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp.h:544:63: note: Function 'argp_failure' argument 1 names different: declaration '__state' definition 'state'. blame-1.4-20240206/lib/argp-help.c:1841:42: note: Function 'argp_failure' argument 1 names different: declaration '__state' definition 'state'. blame-1.4-20240206/lib/argp-help.c:1841:53: style:inconclusive: Function 'argp_failure' argument 2 names different: declaration '__status' definition 'status'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp.h:545:10: note: Function 'argp_failure' argument 2 names different: declaration '__status' definition 'status'. blame-1.4-20240206/lib/argp-help.c:1841:53: note: Function 'argp_failure' argument 2 names different: declaration '__status' definition 'status'. blame-1.4-20240206/lib/argp-help.c:1841:65: style:inconclusive: Function 'argp_failure' argument 3 names different: declaration '__errnum' definition 'errnum'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp.h:545:24: note: Function 'argp_failure' argument 3 names different: declaration '__errnum' definition 'errnum'. blame-1.4-20240206/lib/argp-help.c:1841:65: note: Function 'argp_failure' argument 3 names different: declaration '__errnum' definition 'errnum'. blame-1.4-20240206/lib/argp-help.c:1842:15: style:inconclusive: Function 'argp_failure' argument 4 names different: declaration '__fmt' definition 'fmt'. [funcArgNamesDifferent] blame-1.4-20240206/lib/argp.h:546:29: note: Function 'argp_failure' argument 4 names different: declaration '__fmt' definition 'fmt'. blame-1.4-20240206/lib/argp-help.c:1842:15: note: Function 'argp_failure' argument 4 names different: declaration '__fmt' definition 'fmt'. blame-1.4-20240206/lib/argp-help.c:1273:15: style: Local variable 'arg' shadows outer function [shadowFunction] blame-1.4-20240206/lib/argp-help.c:948:1: note: Shadowed declaration blame-1.4-20240206/lib/argp-help.c:1273:15: note: Shadow variable blame-1.4-20240206/lib/argp-help.c:1305:15: style: Local variable 'arg' shadows outer function [shadowFunction] blame-1.4-20240206/lib/argp-help.c:948:1: note: Shadowed declaration blame-1.4-20240206/lib/argp-help.c:1305:15: note: Shadow variable blame-1.4-20240206/lib/argp-help.c:341:27: style: Parameter 'beg' can be declared as pointer to const [constParameterPointer] blame-1.4-20240206/lib/argp-help.c:341:38: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] blame-1.4-20240206/lib/argp-help.c:555:9: style: Variable 'so' can be declared as pointer to const [constVariablePointer] blame-1.4-20240206/lib/argp-help.c:858:15: style: Variable 'more_so' can be declared as pointer to const [constVariablePointer] blame-1.4-20240206/lib/argp-help.c:1089:9: style: Variable 'so' can be declared as pointer to const [constVariablePointer] blame-1.4-20240206/lib/argp-help.c:1699:16: style: Variable 'anything' is assigned a value that is never used. [unreadVariable] blame-1.4-20240206/lib/argp-help.c:1895:13: style: Variable 'buf' is not assigned a value. [unassignedVariable] blame-1.4-20240206/lib/getopt.c:355:25: style:inconclusive: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] blame-1.4-20240206/lib/getopt_int.h:114:36: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. blame-1.4-20240206/lib/getopt.c:355:25: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. blame-1.4-20240206/lib/getopt.c:355:38: style:inconclusive: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] blame-1.4-20240206/lib/getopt_int.h:114:52: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. blame-1.4-20240206/lib/getopt.c:355:38: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. blame-1.4-20240206/lib/getopt.c:355:56: style:inconclusive: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] blame-1.4-20240206/lib/getopt_int.h:115:23: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. blame-1.4-20240206/lib/getopt.c:355:56: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. blame-1.4-20240206/lib/getopt.c:356:28: style:inconclusive: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] blame-1.4-20240206/lib/getopt_int.h:116:32: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. blame-1.4-20240206/lib/getopt.c:356:28: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. blame-1.4-20240206/lib/getopt.c:356:43: style:inconclusive: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] blame-1.4-20240206/lib/getopt_int.h:116:49: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. blame-1.4-20240206/lib/getopt.c:356:43: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. blame-1.4-20240206/lib/getopt.c:357:11: style:inconclusive: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] blame-1.4-20240206/lib/getopt_int.h:117:15: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. blame-1.4-20240206/lib/getopt.c:357:11: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. blame-1.4-20240206/lib/getopt.c:357:26: style:inconclusive: Function '_getopt_internal_r' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] blame-1.4-20240206/lib/getopt_int.h:117:32: note: Function '_getopt_internal_r' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. blame-1.4-20240206/lib/getopt.c:357:26: note: Function '_getopt_internal_r' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. blame-1.4-20240206/lib/getopt.c:357:64: style:inconclusive: Function '_getopt_internal_r' argument 8 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] blame-1.4-20240206/lib/getopt_int.h:118:32: note: Function '_getopt_internal_r' argument 8 names different: declaration '__data' definition 'd'. blame-1.4-20240206/lib/getopt.c:357:64: note: Function '_getopt_internal_r' argument 8 names different: declaration '__data' definition 'd'. blame-1.4-20240206/lib/getopt.c:1093:23: style:inconclusive: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] blame-1.4-20240206/lib/getopt_int.h:23:34: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. blame-1.4-20240206/lib/getopt.c:1093:23: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. blame-1.4-20240206/lib/getopt.c:1093:36: style:inconclusive: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] blame-1.4-20240206/lib/getopt_int.h:23:50: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. blame-1.4-20240206/lib/getopt.c:1093:36: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. blame-1.4-20240206/lib/getopt.c:1093:54: style:inconclusive: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] blame-1.4-20240206/lib/getopt_int.h:24:21: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. blame-1.4-20240206/lib/getopt.c:1093:54: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. blame-1.4-20240206/lib/getopt.c:1094:26: style:inconclusive: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] blame-1.4-20240206/lib/getopt_int.h:25:37: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. blame-1.4-20240206/lib/getopt.c:1094:26: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. blame-1.4-20240206/lib/getopt.c:1094:41: style:inconclusive: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] blame-1.4-20240206/lib/getopt_int.h:25:54: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. blame-1.4-20240206/lib/getopt.c:1094:41: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. blame-1.4-20240206/lib/getopt.c:1095:9: style:inconclusive: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] blame-1.4-20240206/lib/getopt_int.h:26:13: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. blame-1.4-20240206/lib/getopt.c:1095:9: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. blame-1.4-20240206/lib/getopt.c:1095:24: style:inconclusive: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] blame-1.4-20240206/lib/getopt_int.h:26:30: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. blame-1.4-20240206/lib/getopt.c:1095:24: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. blame-1.4-20240206/lib/getopt.c:750:11: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] blame-1.4-20240206/lib/readlink.c:43:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/setenv.c:185:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/strndup.c:29:22: style:inconclusive: Function 'rpl_strndup' argument 1 names different: declaration 'string' definition 's'. [funcArgNamesDifferent] blame-1.4-20240206/lib/strndup.h:30:35: note: Function 'rpl_strndup' argument 1 names different: declaration 'string' definition 's'. blame-1.4-20240206/lib/strndup.c:29:22: note: Function 'rpl_strndup' argument 1 names different: declaration 'string' definition 's'. blame-1.4-20240206/lib/strtol.c:287:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/strtol.c:354:13: warning: Either the condition 's==end' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] blame-1.4-20240206/lib/strtol.c:347:11: note: Assignment 'end=NULL', assigned value is 0 blame-1.4-20240206/lib/strtol.c:356:13: note: Assuming that condition 's==end' is not redundant blame-1.4-20240206/lib/strtol.c:328:10: note: Assignment 'save=s', assigned value is 0 blame-1.4-20240206/lib/strtol.c:328:8: note: save is assigned 's' here. blame-1.4-20240206/lib/strtol.c:354:13: note: Null pointer dereference blame-1.4-20240206/lib/time_r.c:40:30: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] blame-1.4-20240206/lib/time_r.c:46:30: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] blame-1.4-20240206/lib/unsetenv.c:61:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/strftime.c:1334:6: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] blame-1.4-20240206/lib/strftime.c:1429:8: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] blame-1.4-20240206/lib/vsnprintf.c:72:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/xgetcwd.c:38:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/xreadlink.c:68:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/xmalloc.c:48:17: style:inconclusive: Function 'xmalloc' argument 1 names different: declaration 's' definition 'n'. [funcArgNamesDifferent] blame-1.4-20240206/lib/xalloc.h:48:23: note: Function 'xmalloc' argument 1 names different: declaration 's' definition 'n'. blame-1.4-20240206/lib/xmalloc.c:48:17: note: Function 'xmalloc' argument 1 names different: declaration 's' definition 'n'. blame-1.4-20240206/lib/xmalloc.c:60:27: style:inconclusive: Function 'xrealloc' argument 2 names different: declaration 's' definition 'n'. [funcArgNamesDifferent] blame-1.4-20240206/lib/xalloc.h:51:33: note: Function 'xrealloc' argument 2 names different: declaration 's' definition 'n'. blame-1.4-20240206/lib/xmalloc.c:60:27: note: Function 'xrealloc' argument 2 names different: declaration 's' definition 'n'. blame-1.4-20240206/lib/xmalloc.c:120:22: style:inconclusive: Function 'xstrdup' argument 1 names different: declaration 'str' definition 'string'. [funcArgNamesDifferent] blame-1.4-20240206/lib/xalloc.h:54:28: note: Function 'xstrdup' argument 1 names different: declaration 'str' definition 'string'. blame-1.4-20240206/lib/xmalloc.c:120:22: note: Function 'xstrdup' argument 1 names different: declaration 'str' definition 'string'. blame-1.4-20240206/lib/xreadlink.c:63:35: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] blame-1.4-20240206/lib/xreadlink.c:62:30: note: Assuming allocation function fails blame-1.4-20240206/lib/xreadlink.c:62:30: note: Assignment 'buffer=xmalloc(buf_size)', assigned value is 0 blame-1.4-20240206/lib/xreadlink.c:63:35: note: Null pointer dereference blame-1.4-20240206/src/blame.c:47:56: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE_DATE is a macro then please configure it. [unknownMacro] blame-1.4-20240206/src/delta.c:34:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable delta_t [valueFlowBailoutIncompleteVar] blame-1.4-20240206/src/hash.c:53:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash_t [valueFlowBailoutIncompleteVar] blame-1.4-20240206/src/hash.c:73:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash_t [valueFlowBailoutIncompleteVar] blame-1.4-20240206/src/hash.c:95:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash_entry_t [valueFlowBailoutIncompleteVar] blame-1.4-20240206/src/hash.c:114:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash_entry_t [valueFlowBailoutIncompleteVar] blame-1.4-20240206/src/hash.c:288:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash_iter_struct_t [valueFlowBailoutIncompleteVar] blame-1.4-20240206/src/date.c:369:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TM_LOCAL_ZONE [valueFlowBailoutIncompleteVar] blame-1.4-20240206/src/date.c:721:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TM_UNDEFINED_ZONE [valueFlowBailoutIncompleteVar] blame-1.4-20240206/src/date.c:942:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TM_UNDEFINED_ZONE [valueFlowBailoutIncompleteVar] blame-1.4-20240206/src/date.c:1100:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timezone [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/vasnprintf.c:114:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] blame-1.4-20240206/lib/mktime.c:497:4: style:inconclusive: Boolean expression '(t1>1' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] blame-1.4-20240206/src/date.c:741:26: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] blame-1.4-20240206/src/date.c:742:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] blame-1.4-20240206/src/date.c:1067:7: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] blame-1.4-20240206/src/date.c:1092:45: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] blame-1.4-20240206/src/date.c:1104:15: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] blame-1.4-20240206/src/date.c:1132:43: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] blame-1.4-20240206/src/date.c:476:8: style: Condition '!am' is always true [knownConditionTrueFalse] blame-1.4-20240206/src/date.c:471:21: note: Assignment 'am=NULL', assigned value is 0 blame-1.4-20240206/src/date.c:476:8: note: Condition '!am' is always true blame-1.4-20240206/src/date.c:477:8: style: Condition '!pm' is always true [knownConditionTrueFalse] blame-1.4-20240206/src/date.c:472:21: note: Assignment 'pm=NULL', assigned value is 0 blame-1.4-20240206/src/date.c:477:8: note: Condition '!pm' is always true blame-1.4-20240206/src/date.c:584:3: style: Statements following 'return' will never be executed. [unreachableCode] blame-1.4-20240206/src/date.c:682:3: style: Statements following 'return' will never be executed. [unreachableCode] blame-1.4-20240206/src/date.c:1107:1: warning: Label 'format_time' is not used. Should this be a 'case' of the enclosing switch()? [unusedLabelSwitch] blame-1.4-20240206/src/date.c:1108:3: style: Local variable 'len' shadows outer variable [shadowVariable] blame-1.4-20240206/src/date.c:1084:9: note: Shadowed declaration blame-1.4-20240206/src/date.c:1108:3: note: Shadow variable blame-1.4-20240206/src/date.c:1032:9: style: Variable 'tz' can be declared as pointer to const [constVariablePointer] blame-1.4-20240206/src/date.c:1062:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] blame-1.4-20240206/src/date.c:1121:8: style: Variable 'len' is assigned a value that is never used. [unreadVariable] blame-1.4-20240206/src/date.c:1084:9: style: Unused variable: len [unusedVariable] parser.c:1219:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] parser.c:2069:3: portability: Undefined behaviour, pointer arithmetic 'yyerror_range-1' is out of bounds. [pointerOutOfBounds] blame-1.4-20240206/src/rcs.c:54:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parser.c:1486:15: style: Condition 'yyn==0' is always true [knownConditionTrueFalse] parser.c:1483:16: note: Assignment 'yyn=yytable[yyn]', assigned value is greater than -1 parser.c:1484:11: note: Assuming that condition 'yyn<=0' is not redundant parser.c:1486:15: note: Condition 'yyn==0' is always true parser.y:324:40: style: Same expression on both sides of '-'. [duplicateExpression] parser.y:325:23: style: Same expression on both sides of '-'. [duplicateExpression] parser.y:338:93: style: Same expression on both sides of '-'. [duplicateExpression] parser.y:346:26: style: Same expression on both sides of '-'. [duplicateExpression] parser.y:346:51: style: Same expression on both sides of '-'. [duplicateExpression] parser.y:347:40: style: Same expression on both sides of '-'. [duplicateExpression] parser.y:358:53: style: Same expression on both sides of '-'. [duplicateExpression] parser.y:365:63: style: Same expression on both sides of '-'. [duplicateExpression] parser.y:365:87: style: Same expression on both sides of '-'. [duplicateExpression] parser.y:378:63: style: Same expression on both sides of '-'. [duplicateExpression] parser.y:378:87: style: Same expression on both sides of '-'. [duplicateExpression] parser.y:390:55: style: Same expression on both sides of '-'. [duplicateExpression] parser.y:398:34: style: Same expression on both sides of '-'. [duplicateExpression] parser.y:399:23: style: Same expression on both sides of '-'. [duplicateExpression] parser.y:410:34: style: Same expression on both sides of '-'. [duplicateExpression] parser.y:411:23: style: Same expression on both sides of '-'. [duplicateExpression] parser.y:432:40: style: Same expression on both sides of '-'. [duplicateExpression] parser.y:433:23: style: Same expression on both sides of '-'. [duplicateExpression] parser.y:449:33: style: Same expression on both sides of '-'. [duplicateExpression] parser.y:450:22: style: Same expression on both sides of '-'. [duplicateExpression] parser.y:457:43: style: Same expression on both sides of '-'. [duplicateExpression] parser.y:457:81: style: Same expression on both sides of '-'. [duplicateExpression] parser.y:462:43: style: Same expression on both sides of '-'. [duplicateExpression] parser.y:462:81: style: Same expression on both sides of '-'. [duplicateExpression] parser.c:1001:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] parser.c:1028:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] blame-1.4-20240206/src/util.c:52:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSLASH [valueFlowBailoutIncompleteVar] blame-1.4-20240206/src/util.c:69:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSLASH [valueFlowBailoutIncompleteVar] blame-1.4-20240206/src/util.c:104:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable suffixes [valueFlowBailoutIncompleteVar] blame-1.4-20240206/src/util.c:134:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable suffixes [valueFlowBailoutIncompleteVar] blame-1.4-20240206/src/util.c:168:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable suffixes [valueFlowBailoutIncompleteVar] blame-1.4-20240206/src/util.c:235:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable suffixes [valueFlowBailoutIncompleteVar] blame-1.4-20240206/src/util.c:54:10: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] blame-1.4-20240206/src/util.c:53:18: note: Assuming allocation function fails blame-1.4-20240206/src/util.c:53:18: note: Assignment 'result=malloc(need)', assigned value is 0 blame-1.4-20240206/src/util.c:54:10: note: Null pointer dereference blame-1.4-20240206/src/util.c:55:10: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] blame-1.4-20240206/src/util.c:53:18: note: Assuming allocation function fails blame-1.4-20240206/src/util.c:53:18: note: Assignment 'result=malloc(need)', assigned value is 0 blame-1.4-20240206/src/util.c:55:10: note: Null pointer dereference blame-1.4-20240206/src/util.c:74:11: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] blame-1.4-20240206/src/util.c:73:19: note: Assuming allocation function fails blame-1.4-20240206/src/util.c:73:19: note: Assignment 'result=malloc(need)', assigned value is 0 blame-1.4-20240206/src/util.c:74:11: note: Null pointer dereference blame-1.4-20240206/src/util.c:75:11: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] blame-1.4-20240206/src/util.c:73:19: note: Assuming allocation function fails blame-1.4-20240206/src/util.c:73:19: note: Assignment 'result=malloc(need)', assigned value is 0 blame-1.4-20240206/src/util.c:75:11: note: Null pointer dereference blame-1.4-20240206/src/util.c:34:15: style: Variable 'result' can be declared as pointer to const [constVariablePointer] blame-1.4-20240206/src/vector.c:34:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector_t [valueFlowBailoutIncompleteVar] blame-1.4-20240206/src/vector.c:54:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector_t [valueFlowBailoutIncompleteVar] blame-1.4-20240206/src/rcs.c:65:3: error: Resource leak: stream [resourceLeak] blame-1.4-20240206/src/rcs.c:74:3: error: Resource leak: stream [resourceLeak] blame-1.4-20240206/src/rcs.c:85:3: error: Resource leak: stream [resourceLeak] blame-1.4-20240206/src/rcs.c:196:12: warning: If memory allocation fails, then there is a possible null pointer dereference: branch [nullPointerOutOfMemory] blame-1.4-20240206/src/rcs.c:195:17: note: Assuming allocation function fails blame-1.4-20240206/src/rcs.c:195:17: note: Assignment 'branch=strdup(rev)', assigned value is 0 blame-1.4-20240206/src/rcs.c:196:12: note: Null pointer dereference blame-1.4-20240206/src/rcs.c:214:16: warning: If memory allocation fails, then there is a possible null pointer dereference: rev [nullPointerOutOfMemory] blame-1.4-20240206/src/rcs.c:213:14: note: Assuming allocation function fails blame-1.4-20240206/src/rcs.c:213:14: note: Assignment 'rev=strdup(branch)', assigned value is 0 blame-1.4-20240206/src/rcs.c:214:16: note: Null pointer dereference blame-1.4-20240206/src/rcs.c:502:17: warning: If memory allocation fails, then there is a possible null pointer dereference: rev [nullPointerOutOfMemory] blame-1.4-20240206/src/rcs.c:501:16: note: Assuming allocation function fails blame-1.4-20240206/src/rcs.c:501:16: note: Assignment 'rev=strdup(rcs->branch)', assigned value is 0 blame-1.4-20240206/src/rcs.c:502:17: note: Null pointer dereference blame-1.4-20240206/src/working.c:44:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] blame-1.4-20240206/src/rcs.c:517:14: style: Variable 'start' is reassigned a value before the old one has been used. [redundantAssignment] blame-1.4-20240206/src/rcs.c:514:9: note: start is assigned blame-1.4-20240206/src/rcs.c:517:14: note: start is overwritten blame-1.4-20240206/src/rcs.c:496:30: style: Variable 'end' can be declared as pointer to const [constVariablePointer] blame-1.4-20240206/lib/vasnprintf.c:742:12: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] diff: DONE