2026-05-01 15:17 ftp://ftp.de.debian.org/debian/pool/main/d/distcc/distcc_3.4+really3.4.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=python --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 -j6 platform: Linux-7.0.3+deb14-amd64-x86_64-with-glibc2.42 python: 3.13.12 client-version: 1.4.0 compiler: g++ (Debian 15.2.0-17) 15.2.0 cppcheck: head 2.20.0 head-info: e5c4a734 (2026-05-01 11:10:43 +0200) count: 406 335 elapsed-time: 0.6 0.5 head-timing-info: old-timing-info: head results: distcc-3.4/include_server/c_extensions/distcc_pump_c_extensions_module.c:202:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyList_Type [valueFlowBailoutIncompleteVar] distcc-3.4/include_server/c_extensions/distcc_pump_c_extensions_module.c:255:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] distcc-3.4/include_server/c_extensions/distcc_pump_c_extensions_module.c:289:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] distcc-3.4/include_server/c_extensions/distcc_pump_c_extensions_module.c:433:3: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] distcc-3.4/include_server/c_extensions/distcc_pump_c_extensions_module.c:434:3: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] distcc-3.4/include_server/c_extensions/distcc_pump_c_extensions_module.c:436:3: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] distcc-3.4/include_server/test_data/distcc/src/distcc.c:111:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSCONFDIR [valueFlowBailoutIncompleteVar] distcc-3.4/include_server/test_data/distcc/src/distcc.c:118:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] distcc-3.4/include_server/c_extensions/distcc_pump_c_extensions_module.c:209:3: warning: If memory allocation fails, then there is a possible null pointer dereference: argv [nullPointerOutOfMemory] distcc-3.4/include_server/c_extensions/distcc_pump_c_extensions_module.c:205:32: note: Assuming allocation function fails distcc-3.4/include_server/c_extensions/distcc_pump_c_extensions_module.c:205:14: note: Assignment 'argv=ptr=(char**)calloc((unsigned long)len+1,sizeof(char*))', assigned value is 0 distcc-3.4/include_server/c_extensions/distcc_pump_c_extensions_module.c:206:11: note: Assuming condition is false distcc-3.4/include_server/c_extensions/distcc_pump_c_extensions_module.c:209:3: note: Null pointer dereference distcc-3.4/include_server/c_extensions/distcc_pump_c_extensions_module.c:432:10: style: Variable 'py_str' is reassigned a value before the old one has been used. [redundantAssignment] distcc-3.4/include_server/c_extensions/distcc_pump_c_extensions_module.c:431:10: note: py_str is assigned distcc-3.4/include_server/c_extensions/distcc_pump_c_extensions_module.c:432:10: note: py_str is overwritten distcc-3.4/include_server/test_data/test_include_next/baz/start_y.c:1:9: error: syntax error [syntaxError] distcc-3.4/include_server/test_data/test_include_next/baz/start_x.c:1:9: error: syntax error [syntaxError] distcc-3.4/lzo/lzodefs.h:2214:6: error: #error "LZO_SIZEOF_LONG" [preprocessorErrorDirective] distcc-3.4/popt/findme.c:13:12: style: Variable 'path' can be declared as pointer to const [constVariablePointer] distcc-3.4/popt/findme.c:15:12: style: Variable 'start' can be declared as pointer to const [constVariablePointer] distcc-3.4/popt/poptconfig.c:105:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] distcc-3.4/src/access.c:343:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] distcc-3.4/popt/poptconfig.c:170:18: style: Variable 'home' can be declared as pointer to const [constVariablePointer] distcc-3.4/popt/popthelp.c:32:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] distcc-3.4/src/access.c:155:32: style:inconclusive: Function 'dcc_parse_mask' argument 1 names different: declaration 'mask_spec' definition 'spec'. [funcArgNamesDifferent] distcc-3.4/src/access.h:41:32: note: Function 'dcc_parse_mask' argument 1 names different: declaration 'mask_spec' definition 'spec'. distcc-3.4/src/access.c:155:32: note: Function 'dcc_parse_mask' argument 1 names different: declaration 'mask_spec' definition 'spec'. distcc-3.4/src/argutil.c:61:33: style:inconclusive: Function 'dcc_argv_search' argument 2 names different: declaration '' definition 'needle'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/argutil.c:95:26: style:inconclusive: Function 'dcc_copy_argv' argument 1 names different: declaration 'argv' definition 'from'. [funcArgNamesDifferent] distcc-3.4/src/distcc.h:265:26: note: Function 'dcc_copy_argv' argument 1 names different: declaration 'argv' definition 'from'. distcc-3.4/src/argutil.c:95:26: note: Function 'dcc_copy_argv' argument 1 names different: declaration 'argv' definition 'from'. distcc-3.4/src/argutil.c:95:40: style:inconclusive: Function 'dcc_copy_argv' argument 2 names different: declaration 'out_argv' definition 'out'. [funcArgNamesDifferent] distcc-3.4/src/distcc.h:265:40: note: Function 'dcc_copy_argv' argument 2 names different: declaration 'out_argv' definition 'out'. distcc-3.4/src/argutil.c:95:40: note: Function 'dcc_copy_argv' argument 2 names different: declaration 'out_argv' definition 'out'. distcc-3.4/src/argutil.c:95:49: style:inconclusive: Function 'dcc_copy_argv' argument 3 names different: declaration 'extra_args' definition 'delta'. [funcArgNamesDifferent] distcc-3.4/src/distcc.h:265:54: note: Function 'dcc_copy_argv' argument 3 names different: declaration 'extra_args' definition 'delta'. distcc-3.4/src/argutil.c:95:49: note: Function 'dcc_copy_argv' argument 3 names different: declaration 'extra_args' definition 'delta'. distcc-3.4/src/auth_common.c:50:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_C_EMPTY_BUFFER [valueFlowBailoutIncompleteVar] distcc-3.4/src/auth_common.c:88:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_S_COMPLETE [valueFlowBailoutIncompleteVar] distcc-3.4/src/auth_common.c:127:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_C_MUTUAL_FLAG [valueFlowBailoutIncompleteVar] distcc-3.4/src/auth_common.c:168:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_C_NO_CONTEXT [valueFlowBailoutIncompleteVar] distcc-3.4/popt/popt.c:916:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/popt/popt.c:1178:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/auth_common.c:224:40: style: Condition 'length!=0' is always true [knownConditionTrueFalse] distcc-3.4/src/auth_common.c:216:36: note: Assuming that condition 'length==0' is not redundant distcc-3.4/src/auth_common.c:224:40: note: Condition 'length!=0' is always true distcc-3.4/src/auth_common.c:169:31: style: Variable 'major_status' is assigned a value that is never used. [unreadVariable] distcc-3.4/popt/poptparse.c:90:7: error: Common realloc mistake: 'argv' nulled but not freed upon failure [memleakOnRealloc] distcc-3.4/popt/poptparse.c:187:3: error: Common realloc mistake: 'argstr' nulled but not freed upon failure [memleakOnRealloc] distcc-3.4/popt/poptparse.c:216:6: error: Common realloc mistake: 'argstr' nulled but not freed upon failure [memleakOnRealloc] distcc-3.4/src/auth_distcc.c:69:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_C_MUTUAL_FLAG [valueFlowBailoutIncompleteVar] distcc-3.4/src/auth_distcc.c:123:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_C_EMPTY_BUFFER [valueFlowBailoutIncompleteVar] distcc-3.4/src/auth_distcc.c:295:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/auth_distcc.c:342:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/auth_distccd.c:93:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_C_MUTUAL_FLAG [valueFlowBailoutIncompleteVar] distcc-3.4/src/auth_distccd.c:143:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_C_EMPTY_BUFFER [valueFlowBailoutIncompleteVar] distcc-3.4/src/auth_distccd.c:263:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIT_GSSAPI_FAILED [valueFlowBailoutIncompleteVar] distcc-3.4/src/auth_distccd.c:299:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opt_blacklist_enabled [valueFlowBailoutIncompleteVar] distcc-3.4/src/auth_distccd.c:393:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_C_EMPTY_BUFFER [valueFlowBailoutIncompleteVar] distcc-3.4/src/auth_distccd.c:474:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_S_COMPLETE [valueFlowBailoutIncompleteVar] distcc-3.4/src/auth_distccd.c:501:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg_list_file [valueFlowBailoutIncompleteVar] distcc-3.4/src/auth_distcc.c:148:19: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] distcc-3.4/src/auth_distcc.c:64:12: style:inconclusive: Function 'dcc_gssapi_perform_requested_security' argument 2 names different: declaration 'to_net_fd' definition 'to_net_sd'. [funcArgNamesDifferent] distcc-3.4/src/auth.h:38:27: note: Function 'dcc_gssapi_perform_requested_security' argument 2 names different: declaration 'to_net_fd' definition 'to_net_sd'. distcc-3.4/src/auth_distcc.c:64:12: note: Function 'dcc_gssapi_perform_requested_security' argument 2 names different: declaration 'to_net_fd' definition 'to_net_sd'. distcc-3.4/src/auth_distcc.c:65:12: style:inconclusive: Function 'dcc_gssapi_perform_requested_security' argument 3 names different: declaration 'from_net_fd' definition 'from_net_sd'. [funcArgNamesDifferent] distcc-3.4/src/auth.h:39:12: note: Function 'dcc_gssapi_perform_requested_security' argument 3 names different: declaration 'from_net_fd' definition 'from_net_sd'. distcc-3.4/src/auth_distcc.c:65:12: note: Function 'dcc_gssapi_perform_requested_security' argument 3 names different: declaration 'from_net_fd' definition 'from_net_sd'. distcc-3.4/src/auth_distcc.c:121:11: style: Variable 'full_name' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/auth_distcc.c:122:11: style: Variable 'princ_env_val' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/auth_distcc.c:229:22: style: Variable 'return_status' is assigned a value that is never used. [unreadVariable] distcc-3.4/src/auth_distcc.c:237:25: style: Variable 'return_status' is assigned a value that is never used. [unreadVariable] distcc-3.4/src/backoff.c:64:11: style: Variable 'bp' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/backoff.c:76:11: style: Variable 'bp' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/backoff.c:111:11: style: Variable 'bp' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/auth_distccd.c:416:24: style: Variable 'name_buffer.length' is reassigned a value before the old one has been used. [redundantAssignment] distcc-3.4/src/auth_distccd.c:412:24: note: name_buffer.length is assigned distcc-3.4/src/auth_distccd.c:416:24: note: name_buffer.length is overwritten distcc-3.4/src/auth_distccd.c:81:33: style:inconclusive: Function 'dcc_gssapi_check_client' argument 1 names different: declaration 'to_net_fd' definition 'to_net_sd'. [funcArgNamesDifferent] distcc-3.4/src/auth.h:36:33: note: Function 'dcc_gssapi_check_client' argument 1 names different: declaration 'to_net_fd' definition 'to_net_sd'. distcc-3.4/src/auth_distccd.c:81:33: note: Function 'dcc_gssapi_check_client' argument 1 names different: declaration 'to_net_fd' definition 'to_net_sd'. distcc-3.4/src/auth_distccd.c:81:48: style:inconclusive: Function 'dcc_gssapi_check_client' argument 2 names different: declaration 'from_net_fd' definition 'from_net_sd'. [funcArgNamesDifferent] distcc-3.4/src/auth.h:36:48: note: Function 'dcc_gssapi_check_client' argument 2 names different: declaration 'from_net_fd' definition 'from_net_sd'. distcc-3.4/src/auth_distccd.c:81:48: note: Function 'dcc_gssapi_check_client' argument 2 names different: declaration 'from_net_fd' definition 'from_net_sd'. distcc-3.4/src/auth_distccd.c:342:40: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] distcc-3.4/src/auth_distccd.c:185:36: style: Variable 'return_status' is assigned a value that is never used. [unreadVariable] distcc-3.4/src/auth_distccd.c:202:36: style: Variable 'return_status' is assigned a value that is never used. [unreadVariable] distcc-3.4/src/auth_distccd.c:209:36: style: Variable 'return_status' is assigned a value that is never used. [unreadVariable] distcc-3.4/src/auth_distccd.c:441:24: style: Variable 'major_status' is assigned a value that is never used. [unreadVariable] distcc-3.4/src/auth_distccd.c:459:23: style: Variable 'major_status' is assigned a value that is never used. [unreadVariable] distcc-3.4/src/auth_distccd.c:473:23: style: Variable 'major_status' is assigned a value that is never used. [unreadVariable] distcc-3.4/src/auth_distccd.c:557:14: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] distcc-3.4/src/bulk.c:86:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] distcc-3.4/src/bulk.c:263:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/cleanup.c:105:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/popt/popthelp.c:461:15: style: The if condition is the same as the previous if condition [duplicateCondition] distcc-3.4/popt/popthelp.c:454:15: note: First condition distcc-3.4/popt/popthelp.c:461:15: note: Second condition distcc-3.4/src/bulk.c:178:23: style:inconclusive: Function 'dcc_x_file' argument 5 names different: declaration '' definition 'f_size_out'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/bulk.c:233:25: style:inconclusive: Function 'dcc_r_file' argument 3 names different: declaration '' definition 'len'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/bulk.c:234:34: style:inconclusive: Function 'dcc_r_file' argument 4 names different: declaration '' definition 'compr'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/bulk.c:308:40: style:inconclusive: Function 'dcc_r_file_timed' argument 4 names different: declaration '' definition 'compr'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/climasq.c:58:63: style:inconclusive: Function 'dcc_support_masquerade' argument 3 names different: declaration '' definition 'did_masquerade'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/bulk.c:331:26: style:inconclusive: Function 'dcc_r_token_file' argument 1 names different: declaration 'ifd' definition 'in_fd'. [funcArgNamesDifferent] distcc-3.4/src/bulk.h:35:26: note: Function 'dcc_r_token_file' argument 1 names different: declaration 'ifd' definition 'in_fd'. distcc-3.4/src/bulk.c:331:26: note: Function 'dcc_r_token_file' argument 1 names different: declaration 'ifd' definition 'in_fd'. distcc-3.4/src/climasq.c:58:48: style: Parameter 'progname' can be declared as pointer to const [constParameterPointer] distcc-3.4/src/bulk.c:203:13: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] distcc-3.4/src/bulk.c:206:13: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] distcc-3.4/popt/popthelp.c:26:23: style: Parameter 'key' can be declared as pointer to const. However it seems that 'displayArgs' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] distcc-3.4/popt/popthelp.c:57:45: note: You might need to cast the function pointer here distcc-3.4/popt/popthelp.c:26:23: note: Parameter 'key' can be declared as pointer to const distcc-3.4/popt/popthelp.c:209:12: style: Variable 'defs' can be declared as pointer to const [constVariablePointer] distcc-3.4/popt/popthelp.c:180:4: style: Variable 'l' is assigned a value that is never used. [unreadVariable] distcc-3.4/src/clinet.c:99:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] distcc-3.4/src/clinet.c:220:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_INET [valueFlowBailoutIncompleteVar] distcc-3.4/src/clinet.c:211:10: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] distcc-3.4/src/clinet.c:207:21: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/clirpc.c:223:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/clirpc.c:235:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/compress.c:149:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LZO_E_OK [valueFlowBailoutIncompleteVar] distcc-3.4/src/compress.c:227:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LZO_E_OK [valueFlowBailoutIncompleteVar] distcc-3.4/src/clirpc.c:204:17: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] distcc-3.4/src/clirpc.c:111:29: style:inconclusive: Function 'dcc_r_result_header' argument 1 names different: declaration 'ofd' definition 'ifd'. [funcArgNamesDifferent] distcc-3.4/src/rpc.h:31:29: note: Function 'dcc_r_result_header' argument 1 names different: declaration 'ofd' definition 'ifd'. distcc-3.4/src/clirpc.c:111:29: note: Function 'dcc_r_result_header' argument 1 names different: declaration 'ofd' definition 'ifd'. distcc-3.4/src/clirpc.c:112:43: style:inconclusive: Function 'dcc_r_result_header' argument 2 names different: declaration '' definition 'expect_ver'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/clirpc.c:139:25: style:inconclusive: Function 'dcc_r_cc_status' argument 1 names different: declaration '' definition 'ifd'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/clirpc.c:139:35: style:inconclusive: Function 'dcc_r_cc_status' argument 2 names different: declaration '' definition 'status'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/clirpc.c:158:46: style:inconclusive: Function 'dcc_retrieve_results' argument 6 names different: declaration '' definition 'host'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/clirpc.c:99:12: style: Variable 'cwd_ret' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/clirpc.c:158:46: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] distcc-3.4/src/compress.c:183:26: style:inconclusive: Function 'dcc_r_bulk_lzo1x' argument 1 names different: declaration 'outf_fd' definition 'out_fd'. [funcArgNamesDifferent] distcc-3.4/src/distcc.h:229:26: note: Function 'dcc_r_bulk_lzo1x' argument 1 names different: declaration 'outf_fd' definition 'out_fd'. distcc-3.4/src/compress.c:183:26: note: Function 'dcc_r_bulk_lzo1x' argument 1 names different: declaration 'outf_fd' definition 'out_fd'. distcc-3.4/src/clirpc.c:204:22: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] distcc-3.4/src/compile.c:184:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/compile.c:284:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/compile.c:552:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNU_HOST [valueFlowBailoutIncompleteVar] distcc-3.4/src/compile.c:575:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNU_HOST [valueFlowBailoutIncompleteVar] distcc-3.4/src/compile.c:751:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DCC_MODE_LOCAL [valueFlowBailoutIncompleteVar] distcc-3.4/src/cpp.c:59:11: style: Variable 'input_exten' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/daemon.c:164:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBDIR [valueFlowBailoutIncompleteVar] distcc-3.4/src/daemon.c:209:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/daemon.c:302:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] distcc-3.4/src/daemon.c:347:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/distcc.c:135:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSCONFDIR [valueFlowBailoutIncompleteVar] distcc-3.4/src/distcc.c:142:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] distcc-3.4/src/distcc.c:262:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] distcc-3.4/src/dopt.c:384:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POPT_BADOPTION_NOALIAS [valueFlowBailoutIncompleteVar] distcc-3.4/src/daemon.c:203:36: style: Condition '(ret=dcc_set_lifetime())!=0' is always false [knownConditionTrueFalse] distcc-3.4/src/daemon.c:203:32: note: Calling function 'dcc_set_lifetime' returns 0 distcc-3.4/src/daemon.c:203:36: note: Condition '(ret=dcc_set_lifetime())!=0' is always false distcc-3.4/src/distcc.c:173:32: style: Variable 'l' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/distcc.c:188:32: style: Variable 'l' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/arg.c:230:89: style: Condition 'argv[i+1]' is always true [knownConditionTrueFalse] distcc-3.4/src/arg.c:130:40: style:inconclusive: Function 'dcc_scan_args' argument 2 names different: declaration 'orig_o' definition 'input_file'. [funcArgNamesDifferent] distcc-3.4/src/distcc.h:258:64: note: Function 'dcc_scan_args' argument 2 names different: declaration 'orig_o' definition 'input_file'. distcc-3.4/src/arg.c:130:40: note: Function 'dcc_scan_args' argument 2 names different: declaration 'orig_o' definition 'input_file'. distcc-3.4/src/arg.c:130:59: style:inconclusive: Function 'dcc_scan_args' argument 3 names different: declaration 'orig_i' definition 'output_file'. [funcArgNamesDifferent] distcc-3.4/src/distcc.h:259:26: note: Function 'dcc_scan_args' argument 3 names different: declaration 'orig_i' definition 'output_file'. distcc-3.4/src/arg.c:130:59: note: Function 'dcc_scan_args' argument 3 names different: declaration 'orig_i' definition 'output_file'. distcc-3.4/src/arg.c:333:31: style:inconclusive: Function 'dcc_set_action_opt' argument 1 names different: declaration '' definition 'a'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/arg.c:333:46: style:inconclusive: Function 'dcc_set_action_opt' argument 2 names different: declaration '' definition 'new_c'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/arg.c:367:27: style:inconclusive: Function 'dcc_set_output' argument 1 names different: declaration '' definition 'a'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/arg.c:367:36: style:inconclusive: Function 'dcc_set_output' argument 2 names different: declaration '' definition 'ofname'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/arg.c:408:26: style:inconclusive: Function 'dcc_set_input' argument 1 names different: declaration '' definition 'a'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/arg.c:408:35: style:inconclusive: Function 'dcc_set_input' argument 2 names different: declaration '' definition 'ifname'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/arg.c:438:15: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/arg.c:443:19: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/compile.c:806:13: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] distcc-3.4/src/compile.c:344:33: style: Same expression on both sides of '=='. [duplicateExpression] distcc-3.4/src/compile.c:269:45: style:inconclusive: Function 'dcc_fresh_dependency_exists' argument 2 names different: declaration 'exlude_pat' definition 'exclude_pattern'. [funcArgNamesDifferent] distcc-3.4/src/compile.h:48:45: note: Function 'dcc_fresh_dependency_exists' argument 2 names different: declaration 'exlude_pat' definition 'exclude_pattern'. distcc-3.4/src/compile.c:269:45: note: Function 'dcc_fresh_dependency_exists' argument 2 names different: declaration 'exlude_pat' definition 'exclude_pattern'. distcc-3.4/src/compile.c:271:40: style:inconclusive: Function 'dcc_fresh_dependency_exists' argument 4 names different: declaration 'fresh_dependency' definition 'result'. [funcArgNamesDifferent] distcc-3.4/src/compile.h:50:40: note: Function 'dcc_fresh_dependency_exists' argument 4 names different: declaration 'fresh_dependency' definition 'result'. distcc-3.4/src/compile.c:271:40: note: Function 'dcc_fresh_dependency_exists' argument 4 names different: declaration 'fresh_dependency' definition 'result'. distcc-3.4/src/compile.c:75:42: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] distcc-3.4/src/compile.c:211:11: style: Parameter 'input_fname' can be declared as pointer to const [constParameterPointer] distcc-3.4/src/compile.c:213:11: style: Parameter 'discrepancy_filename' can be declared as pointer to const [constParameterPointer] distcc-3.4/src/compile.c:387:36: style: Parameter 'input_name' can be declared as pointer to const [constParameterPointer] distcc-3.4/src/compile.c:576:20: style: Variable 't' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/dsignal.c:100:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] distcc-3.4/src/dsignal.c:119:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] distcc-3.4/src/dsignal.c:114:44: style:inconclusive: Function 'dcc_daemon_terminate' argument 1 names different: declaration '' definition 'whichsig'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/dparent.c:209:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] distcc-3.4/src/dparent.c:260:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/dparent.c:301:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/dparent.c:331:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/dparent.c:352:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/emaillog.c:73:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] distcc-3.4/src/emaillog.c:137:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] distcc-3.4/src/dparent.c:156:9: style: Statements following noreturn function 'dcc_nofork_parent()' will never be executed. [unreachableCode] distcc-3.4/src/dparent.c:292:32: style:inconclusive: Function 'dcc_save_pid' argument 1 names different: declaration '' definition 'pid'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/exec.c:439:2: error: #error Please port this [preprocessorErrorDirective] distcc-3.4/src/dotd.c:168:11: style: Variable 'deps_output' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/dotd.c:176:11: style: Variable 'a' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/dparent.c:347:11: style: Unused variable: sid [unusedVariable] distcc-3.4/src/emaillog.c:84:8: style: Variable 'begin' can be declared as const array [constVariable] distcc-3.4/src/emaillog.c:85:8: style: Variable 'end' can be declared as const array [constVariable] distcc-3.4/src/fix_debug_info.c:422:54: style:inconclusive: Function 'dcc_fix_debug_info' argument 2 names different: declaration 'client_cwd' definition 'client_path'. [funcArgNamesDifferent] distcc-3.4/src/fix_debug_info.h:25:54: note: Function 'dcc_fix_debug_info' argument 2 names different: declaration 'client_cwd' definition 'client_path'. distcc-3.4/src/fix_debug_info.c:422:54: note: Function 'dcc_fix_debug_info' argument 2 names different: declaration 'client_cwd' definition 'client_path'. distcc-3.4/src/fix_debug_info.c:423:43: style:inconclusive: Function 'dcc_fix_debug_info' argument 3 names different: declaration 'server_cwd' definition 'server_path'. [funcArgNamesDifferent] distcc-3.4/src/fix_debug_info.h:26:43: note: Function 'dcc_fix_debug_info' argument 3 names different: declaration 'server_cwd' definition 'server_path'. distcc-3.4/src/fix_debug_info.c:423:43: note: Function 'dcc_fix_debug_info' argument 3 names different: declaration 'server_cwd' definition 'server_path'. distcc-3.4/src/gcc-id.c:57:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/filename.c:183:16: style: Condition '!strcmp(e,"c")' is always false [knownConditionTrueFalse] distcc-3.4/src/filename.c:295:36: style:inconclusive: Function 'dcc_source_needs_local' argument 1 names different: declaration '' definition 'filename'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/filename.c:58:33: style: Parameter 'sfile' can be declared as pointer to const [constParameterPointer] distcc-3.4/src/h_compile.c:72:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/h_compile.c:57:26: style: Parameter 'argv' can be declared as const array [constParameter] distcc-3.4/src/h_exten.c:50:11: style: Variable 'ex' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/h_getline.c:48:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] distcc-3.4/src/h_getline.c:48:28: error: Memory leak: line [memleak] distcc-3.4/src/h_hosts.c:90:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DCC_MODE_LOCAL [valueFlowBailoutIncompleteVar] distcc-3.4/src/h_hosts.c:66:32: style: Variable 'e' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/h_parsemask.c:60:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] distcc-3.4/src/h_sa2str.c:65:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] distcc-3.4/src/help.c:79:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_BUGREPORT [valueFlowBailoutIncompleteVar] distcc-3.4/src/history.c:60:11: error: Memory leak: history [memleak] distcc-3.4/src/implicit.c:84:44: style:inconclusive: Function 'dcc_find_compiler' argument 2 names different: declaration '' definition 'out_argv'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/include_server_if.c:94:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] distcc-3.4/src/io.c:115:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/io.c:159:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/lock.c:197:4: error: #error "No supported lock method. Please port this code." [preprocessorErrorDirective] distcc-3.4/src/io.c:199:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/io.c:236:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/io.c:286:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/include_server_if.c:67:11: style: Variable 'stub' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/include_server_if.c:177:46: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] distcc-3.4/src/hosts.c:182:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/hosts.c:337:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DCC_MODE_SSH [valueFlowBailoutIncompleteVar] distcc-3.4/src/hosts.c:397:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DCC_MODE_TCP [valueFlowBailoutIncompleteVar] distcc-3.4/src/hosts.c:407:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DCC_MODE_LOCAL [valueFlowBailoutIncompleteVar] distcc-3.4/src/loadfile.c:63:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] distcc-3.4/src/mon-text.c:54:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] distcc-3.4/src/mon-text.c:86:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] distcc-3.4/src/mon-notify.c:80:32: style: Parameter 'dummy_fd' can be declared as pointer to const [constParameterPointer] distcc-3.4/src/mon-text.c:109:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] distcc-3.4/src/mon-text.c:62:26: style: Parameter 'argv' can be declared as const array [constParameter] distcc-3.4/src/mon-text.c:89:32: style: Variable 'i' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/mon-gnome.c:425:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/mon-gnome.c:548:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] distcc-3.4/src/mon-gnome.c:614:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_HIGH_IDLE [valueFlowBailoutIncompleteVar] distcc-3.4/src/hosts.c:160:11: style: Variable 'env' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/hosts.c:642:28: style: Variable 'i' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/hosts.c:642:32: style: Variable 'j' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/hosts.c:173:14: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] distcc-3.4/src/mon-gnome.c:406:8: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] distcc-3.4/src/mon-gnome.c:397:18: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/ncpus.c:143:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/ncpus.c:141:16: style: Condition '*ncpus==-1' is always true [knownConditionTrueFalse] distcc-3.4/src/ncpus.c:138:15: note: Assignment '*ncpus=-1', assigned value is -1 distcc-3.4/src/ncpus.c:141:16: note: Condition '*ncpus==-1' is always true distcc-3.4/src/ncpus.c:128:20: style:inconclusive: Function 'dcc_ncpus' argument 1 names different: declaration '' definition 'ncpus'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/netutil.c:106:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] distcc-3.4/src/mon.c:94:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/netutil.c:122:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] distcc-3.4/src/mon.c:124:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/netutil.c:199:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] distcc-3.4/src/mon.c:170:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/mon.c:270:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] distcc-3.4/src/mon.c:350:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/netutil.c:135:27: style:inconclusive: Function 'dcc_defer_accept' argument 1 names different: declaration '' definition 'listen_fd'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/netutil.c:193:35: style:inconclusive: Function 'dcc_sockaddr_to_string' argument 2 names different: declaration 'salen' definition 'UNUSED_salen'. [funcArgNamesDifferent] distcc-3.4/src/netutil.h:25:35: note: Function 'dcc_sockaddr_to_string' argument 2 names different: declaration 'salen' definition 'UNUSED_salen'. distcc-3.4/src/netutil.c:193:35: note: Function 'dcc_sockaddr_to_string' argument 2 names different: declaration 'salen' definition 'UNUSED_salen'. distcc-3.4/src/netutil.c:201:29: style: Variable 'sain' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/mon.c:224:48: style:inconclusive: Function 'dcc_task_state_free' argument 1 names different: declaration '' definition 'lp'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/mon.c:337:42: style:inconclusive: Function 'dcc_mon_poll' argument 1 names different: declaration 'ppl' definition 'p_list'. [funcArgNamesDifferent] distcc-3.4/src/mon.h:212:42: note: Function 'dcc_mon_poll' argument 1 names different: declaration 'ppl' definition 'p_list'. distcc-3.4/src/mon.c:337:42: note: Function 'dcc_mon_poll' argument 1 names different: declaration 'ppl' definition 'p_list'. distcc-3.4/src/prefork.c:123:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/prefork.c:166:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/pump.c:109:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/prefork.c:100:37: style:inconclusive: Function 'dcc_sigchld_handler' argument 1 names different: declaration 'sig' definition 'UNUSED_sig'. [funcArgNamesDifferent] distcc-3.4/src/prefork.c:62:37: note: Function 'dcc_sigchld_handler' argument 1 names different: declaration 'sig' definition 'UNUSED_sig'. distcc-3.4/src/prefork.c:100:37: note: Function 'dcc_sigchld_handler' argument 1 names different: declaration 'sig' definition 'UNUSED_sig'. distcc-3.4/src/remote.c:80:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DCC_MODE_TCP [valueFlowBailoutIncompleteVar] distcc-3.4/popt/popt.c:389:31: error: Memory leak: argv [memleak] distcc-3.4/popt/popt.c:433:2: error: Memory leak: argv [memleak] distcc-3.4/popt/popt.c:447:5: error: Memory leak: argv [memleak] distcc-3.4/popt/popt.c:592:6: error: Common realloc mistake: 't' nulled but not freed upon failure [memleakOnRealloc] distcc-3.4/popt/popt.c:603:5: error: Common realloc mistake: 't' nulled but not freed upon failure [memleakOnRealloc] distcc-3.4/popt/popt.c:1118:6: error: Common realloc mistake: 'items' nulled but not freed upon failure [memleakOnRealloc] distcc-3.4/src/remote.c:316:9: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] distcc-3.4/src/renderer.c:231:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READABLE [valueFlowBailoutIncompleteVar] distcc-3.4/src/renderer.c:275:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_CELL_RENDERER [valueFlowBailoutIncompleteVar] distcc-3.4/src/remote.c:198:31: style:inconclusive: Function 'dcc_compile_remote' argument 4 names different: declaration 'file_names' definition 'files'. [funcArgNamesDifferent] distcc-3.4/src/compile.h:29:31: note: Function 'dcc_compile_remote' argument 4 names different: declaration 'file_names' definition 'files'. distcc-3.4/src/remote.c:198:31: note: Function 'dcc_compile_remote' argument 4 names different: declaration 'file_names' definition 'files'. distcc-3.4/src/remote.c:134:37: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] distcc-3.4/src/remote.c:197:30: style: Parameter 'cpp_fname' can be declared as pointer to const [constParameterPointer] distcc-3.4/src/remote.c:199:30: style: Parameter 'output_fname' can be declared as pointer to const [constParameterPointer] distcc-3.4/src/remote.c:200:30: style: Parameter 'deps_fname' can be declared as pointer to const [constParameterPointer] distcc-3.4/src/remote.c:201:30: style: Parameter 'server_stderr_fname' can be declared as pointer to const [constParameterPointer] distcc-3.4/src/remote.c:316:27: style: Variable 'local_cpu_lock_fd' is assigned a value that is never used. [unreadVariable] distcc-3.4/popt/popt.c:711:13: style: Variable 'localOptString' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/renderer.c:107:53: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'dcc_cell_renderer_chart_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] distcc-3.4/src/renderer.c:224:32: note: You might need to cast the function pointer here distcc-3.4/src/renderer.c:107:53: note: Parameter 'pspec' can be declared as pointer to const distcc-3.4/src/renderer.c:130:52: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'dcc_cell_renderer_chart_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] distcc-3.4/src/renderer.c:223:32: note: You might need to cast the function pointer here distcc-3.4/src/renderer.c:130:52: note: Parameter 'pspec' can be declared as pointer to const distcc-3.4/src/renderer.c:132:25: style: Variable 'renderer' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/renderer.c:177:25: style: Variable 'cellchart' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/rslave.c:114:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable h_errno [valueFlowBailoutIncompleteVar] distcc-3.4/popt/popt.c:445:8: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] distcc-3.4/src/rslave.c:111:13: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] distcc-3.4/src/rslave.c:68:42: style: Parameter 'rslave' can be declared as pointer to const [constParameterPointer] distcc-3.4/src/rslave.c:82:41: style: Parameter 'rslave' can be declared as pointer to const [constParameterPointer] distcc-3.4/src/rslave.c:89:41: style: Parameter 'rslave' can be declared as pointer to const [constParameterPointer] distcc-3.4/src/rslave.c:89:73: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] distcc-3.4/src/rslave.c:96:40: style: Parameter 'rslave' can be declared as pointer to const [constParameterPointer] distcc-3.4/src/rslave.c:109:25: style: Variable 'h' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/rpc.c:101:43: style:inconclusive: Function 'dcc_x_result_header' argument 2 names different: declaration '' definition 'protover'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/rpc.c:107:25: style:inconclusive: Function 'dcc_x_cc_status' argument 1 names different: declaration '' definition 'ofd'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/rpc.c:107:34: style:inconclusive: Function 'dcc_x_cc_status' argument 2 names different: declaration '' definition 'status'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/rpc.c:113:32: style:inconclusive: Function 'dcc_r_token' argument 2 names different: declaration 'token' definition 'buf'. [funcArgNamesDifferent] distcc-3.4/src/distcc.h:318:32: note: Function 'dcc_r_token' argument 2 names different: declaration 'token' definition 'buf'. distcc-3.4/src/rpc.c:113:32: note: Function 'dcc_r_token' argument 2 names different: declaration 'token' definition 'buf'. distcc-3.4/src/rpc.c:243:38: style:inconclusive: Function 'dcc_r_str_alloc' argument 2 names different: declaration 'len' definition 'l'. [funcArgNamesDifferent] distcc-3.4/src/distcc.h:322:38: note: Function 'dcc_r_str_alloc' argument 2 names different: declaration 'len' definition 'l'. distcc-3.4/src/rpc.c:243:38: note: Function 'dcc_r_str_alloc' argument 2 names different: declaration 'len' definition 'l'. distcc-3.4/src/serve.c:439:26: error: There is an unknown macro here somewhere. Configuration is required. If LIBDIR is a macro then please configure it. [unknownMacro] distcc-3.4/src/setuid.c:118:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/setuid.c:68:15: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] distcc-3.4/src/setuid.c:77:15: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] distcc-3.4/src/setuid.c:110:48: style: Condition '(ret=dcc_preferred_user(&uid,&gid))!=0' is always false [knownConditionTrueFalse] distcc-3.4/src/setuid.c:110:34: note: Calling function 'dcc_preferred_user' returns 0 distcc-3.4/src/setuid.c:110:48: note: Condition '(ret=dcc_preferred_user(&uid,&gid))!=0' is always false distcc-3.4/src/setuid.c:66:20: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/srvnet.c:96:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/srvnet.c:192:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_INET [valueFlowBailoutIncompleteVar] distcc-3.4/src/srvrpc.c:148:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/ssh.c:117:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/srvnet.c:95:47: style: Condition 'sa_buf' is always true [knownConditionTrueFalse] distcc-3.4/src/srvnet.c:102:36: style: Condition 'sa_buf' is always true [knownConditionTrueFalse] distcc-3.4/src/srvnet.c:180:38: style:inconclusive: Function 'dcc_socket_listen' argument 2 names different: declaration 'fd' definition 'listen_fd'. [funcArgNamesDifferent] distcc-3.4/src/srvnet.h:24:38: note: Function 'dcc_socket_listen' argument 2 names different: declaration 'fd' definition 'listen_fd'. distcc-3.4/src/srvnet.c:180:38: note: Function 'dcc_socket_listen' argument 2 names different: declaration 'fd' definition 'listen_fd'. distcc-3.4/src/srvnet.c:231:39: style:inconclusive: Function 'dcc_check_client' argument 1 names different: declaration '' definition 'psa'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/srvnet.c:232:26: style:inconclusive: Function 'dcc_check_client' argument 2 names different: declaration '' definition 'salen'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/srvnet.c:233:45: style:inconclusive: Function 'dcc_check_client' argument 3 names different: declaration '' definition 'allowed'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/srvrpc.c:53:45: style:inconclusive: Function 'dcc_r_request_header' argument 2 names different: declaration '' definition 'ver_ret'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/state.c:142:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] distcc-3.4/src/state.c:168:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/state.c:232:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/ssh.c:207:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] distcc-3.4/src/ssh.c:208:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] distcc-3.4/src/ssh.c:211:21: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] distcc-3.4/src/state.c:108:47: style:inconclusive: Function 'dcc_get_phase_name' argument 1 names different: declaration '' definition 'phase'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/state.c:203:32: style:inconclusive: Function 'dcc_note_state' argument 2 names different: declaration 'file' definition 'source_file'. [funcArgNamesDifferent] distcc-3.4/src/state.h:56:33: note: Function 'dcc_note_state' argument 2 names different: declaration 'file' definition 'source_file'. distcc-3.4/src/state.c:203:32: note: Function 'dcc_note_state' argument 2 names different: declaration 'file' definition 'source_file'. distcc-3.4/src/state.c:204:52: style:inconclusive: Function 'dcc_note_state' argument 4 names different: declaration '' definition 'target'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/stats.c:133:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeval [valueFlowBailoutIncompleteVar] distcc-3.4/src/stats.c:542:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/timeval.c:36:26: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] distcc-3.4/src/timefile.c:79:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/timefile.c:110:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/timefile.c:143:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/timefile.c:114:17: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] distcc-3.4/src/tempfile.c:120:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/tempfile.c:133:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/tempfile.c:392:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/trace.c:105:33: debug: Function::addArguments found argument 'flags' with varid 0. [varid0] distcc-3.4/src/trace.c:128:36: debug: Function::addArguments found argument 'flags' with varid 0. [varid0] distcc-3.4/src/tempfile.c:146:18: warning: Obsolete function 'mktemp' called. It is recommended to use 'mkstemp' or 'mkdtemp' instead. [prohibitedmktempCalled] distcc-3.4/src/tempfile.c:167:14: style: Condition 'ret=dcc_get_tmp_top(&tmp_top)' is always false [knownConditionTrueFalse] distcc-3.4/src/tempfile.c:167:31: note: Calling function 'dcc_get_tmp_top' returns 0 distcc-3.4/src/tempfile.c:167:14: note: Condition 'ret=dcc_get_tmp_top(&tmp_top)' is always false distcc-3.4/src/tempfile.c:388:14: style: Condition 'ret=dcc_get_tmp_top(&tempdir)' is always false [knownConditionTrueFalse] distcc-3.4/src/tempfile.c:388:31: note: Calling function 'dcc_get_tmp_top' returns 0 distcc-3.4/src/tempfile.c:388:14: note: Condition 'ret=dcc_get_tmp_top(&tempdir)' is always false distcc-3.4/src/tempfile.c:173:9: error: Memory leak: s [memleak] distcc-3.4/src/tempfile.c:162:31: style:inconclusive: Function 'dcc_get_new_tmpdir' argument 1 names different: declaration 'tmpdir' definition 'tempdir'. [funcArgNamesDifferent] distcc-3.4/src/distcc.h:273:31: note: Function 'dcc_get_new_tmpdir' argument 1 names different: declaration 'tmpdir' definition 'tempdir'. distcc-3.4/src/tempfile.c:162:31: note: Function 'dcc_get_new_tmpdir' argument 1 names different: declaration 'tmpdir' definition 'tempdir'. distcc-3.4/src/tempfile.c:224:42: style:inconclusive: Function 'dcc_mk_tmp_ancestor_dirs' argument 1 names different: declaration 'file' definition 'path'. [funcArgNamesDifferent] distcc-3.4/src/distcc.h:283:42: note: Function 'dcc_mk_tmp_ancestor_dirs' argument 1 names different: declaration 'file' definition 'path'. distcc-3.4/src/tempfile.c:224:42: note: Function 'dcc_mk_tmp_ancestor_dirs' argument 1 names different: declaration 'file' definition 'path'. distcc-3.4/src/tempfile.c:321:34: style:inconclusive: Function 'dcc_get_subdir' argument 2 names different: declaration 'path_ret' definition 'dir_ret'. [funcArgNamesDifferent] distcc-3.4/src/distcc.h:276:45: note: Function 'dcc_get_subdir' argument 2 names different: declaration 'path_ret' definition 'dir_ret'. distcc-3.4/src/tempfile.c:321:34: note: Function 'dcc_get_subdir' argument 2 names different: declaration 'path_ret' definition 'dir_ret'. distcc-3.4/src/tempfile.c:337:29: style:inconclusive: Function 'dcc_get_lock_dir' argument 1 names different: declaration 'path_ret' definition 'dir_ret'. [funcArgNamesDifferent] distcc-3.4/src/distcc.h:278:29: note: Function 'dcc_get_lock_dir' argument 1 names different: declaration 'path_ret' definition 'dir_ret'. distcc-3.4/src/tempfile.c:337:29: note: Function 'dcc_get_lock_dir' argument 1 names different: declaration 'path_ret' definition 'dir_ret'. distcc-3.4/src/tempfile.c:353:30: style:inconclusive: Function 'dcc_get_state_dir' argument 1 names different: declaration 'p' definition 'dir_ret'. [funcArgNamesDifferent] distcc-3.4/src/state.h:31:31: note: Function 'dcc_get_state_dir' argument 1 names different: declaration 'p' definition 'dir_ret'. distcc-3.4/src/tempfile.c:353:30: note: Function 'dcc_get_state_dir' argument 1 names different: declaration 'p' definition 'dir_ret'. distcc-3.4/src/tempfile.c:378:33: style:inconclusive: Function 'dcc_make_tmpnam' argument 1 names different: declaration '' definition 'prefix'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/tempfile.c:380:28: style:inconclusive: Function 'dcc_make_tmpnam' argument 3 names different: declaration '' definition 'name_ret'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/traceenv.c:65:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] distcc-3.4/src/trace.c:105:33: style:inconclusive: Function 'rs_add_logger' argument 1 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/trace.c:105:33: style:inconclusive: Function 'rs_add_logger' argument 2 names different: declaration '' definition 'fn'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/trace.c:105:33: style:inconclusive: Function 'rs_add_logger' argument 3 names different: declaration '' definition 'msg'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/trace.c:105:33: style:inconclusive: Function 'rs_add_logger' argument 5 names different: declaration '' definition 'private_ptr'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/trace.c:105:33: style:inconclusive: Function 'rs_add_logger' argument 6 names different: declaration '' definition 'private_int'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/trace.c:128:36: style:inconclusive: Function 'rs_remove_logger' argument 1 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/trace.c:128:36: style:inconclusive: Function 'rs_remove_logger' argument 2 names different: declaration '' definition 'fn'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/trace.c:128:36: style:inconclusive: Function 'rs_remove_logger' argument 3 names different: declaration '' definition 'msg'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/trace.c:128:36: style:inconclusive: Function 'rs_remove_logger' argument 5 names different: declaration '' definition 'private_ptr'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/trace.c:128:36: style:inconclusive: Function 'rs_remove_logger' argument 6 names different: declaration '' definition 'private_int'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/trace.c:209:15: style:inconclusive: Function 'rs_log_va' argument 1 names different: declaration 'level' definition 'flags'. [funcArgNamesDifferent] distcc-3.4/src/trace.c:72:27: note: Function 'rs_log_va' argument 1 names different: declaration 'level' definition 'flags'. distcc-3.4/src/trace.c:209:15: note: Function 'rs_log_va' argument 1 names different: declaration 'level' definition 'flags'. distcc-3.4/src/trace.c:209:34: style:inconclusive: Function 'rs_log_va' argument 2 names different: declaration 'fn' definition 'caller_fn_name'. [funcArgNamesDifferent] distcc-3.4/src/trace.c:72:46: note: Function 'rs_log_va' argument 2 names different: declaration 'fn' definition 'caller_fn_name'. distcc-3.4/src/trace.c:209:34: note: Function 'rs_log_va' argument 2 names different: declaration 'fn' definition 'caller_fn_name'. distcc-3.4/src/trace.c:234:27: style:inconclusive: Function 'rs_format_msg' argument 2 names different: declaration '' definition 'buf_len'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/trace.c:235:24: style:inconclusive: Function 'rs_format_msg' argument 3 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/trace.c:236:32: style:inconclusive: Function 'rs_format_msg' argument 4 names different: declaration '' definition 'fn'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/trace.c:238:28: style:inconclusive: Function 'rs_format_msg' argument 6 names different: declaration '' definition 'va'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/trace.c:302:22: style:inconclusive: Function 'rs_logger_syslog' argument 1 names different: declaration 'level' definition 'flags'. [funcArgNamesDifferent] distcc-3.4/src/trace.h:128:27: note: Function 'rs_logger_syslog' argument 1 names different: declaration 'level' definition 'flags'. distcc-3.4/src/trace.c:302:22: note: Function 'rs_logger_syslog' argument 1 names different: declaration 'level' definition 'flags'. distcc-3.4/src/trace.c:303:25: style:inconclusive: Function 'rs_logger_syslog' argument 5 names different: declaration '' definition 'UNUSED_private_ptr'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/trace.c:303:50: style:inconclusive: Function 'rs_logger_syslog' argument 6 names different: declaration '' definition 'UNUSED_private_int'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/trace.c:318:20: style:inconclusive: Function 'rs_logger_file' argument 1 names different: declaration 'level' definition 'flags'. [funcArgNamesDifferent] distcc-3.4/src/trace.h:125:25: note: Function 'rs_logger_file' argument 1 names different: declaration 'level' definition 'flags'. distcc-3.4/src/trace.c:318:20: note: Function 'rs_logger_file' argument 1 names different: declaration 'level' definition 'flags'. distcc-3.4/src/trace.c:319:23: style:inconclusive: Function 'rs_logger_file' argument 5 names different: declaration '' definition 'UNUSED_private_ptr'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/trace.c:319:48: style:inconclusive: Function 'rs_logger_file' argument 6 names different: declaration '' definition 'log_fd'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/trace.c:372:34: style:inconclusive: Function 'rs_log_critical_nofn' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/trace.c:384:30: style:inconclusive: Function 'rs_log_info_nofn' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/trace.c:397:32: style:inconclusive: Function 'rs_log_notice_nofn' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/trace.c:335:11: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] distcc-3.4/src/trace.c:225:15: error: va_list 'copied_va' used before va_start() was called. [va_list_usedBeforeStarted] distcc-3.4/src/trace.c:227:26: error: va_list 'copied_va' used before va_start() was called. [va_list_usedBeforeStarted] distcc-3.4/src/stats.c:163:12: warning: If memory allocation fails, then there is a possible null pointer dereference: new_sd [nullPointerOutOfMemory] distcc-3.4/src/stats.c:162:20: note: Assuming allocation function fails distcc-3.4/src/stats.c:162:20: note: Assignment 'new_sd=malloc(sizeof(struct statsdata))', assigned value is 0 distcc-3.4/src/stats.c:163:12: note: Null pointer dereference distcc-3.4/src/stats.c:164:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_sd [nullPointerOutOfMemory] distcc-3.4/src/stats.c:162:20: note: Assuming allocation function fails distcc-3.4/src/stats.c:162:20: note: Assignment 'new_sd=malloc(sizeof(struct statsdata))', assigned value is 0 distcc-3.4/src/stats.c:164:5: note: Null pointer dereference distcc-3.4/src/stats.c:179:23: warning: Either the condition 'prev_sd==NULL' is redundant or there is possible null pointer dereference: prev_sd. [nullPointerRedundantCheck] distcc-3.4/src/stats.c:173:25: note: Assuming that condition 'prev_sd==NULL' is not redundant distcc-3.4/src/stats.c:179:23: note: Null pointer dereference distcc-3.4/src/stats.c:125:33: style: Parameter 'compiler' can be declared as pointer to const [constParameterPointer] distcc-3.4/src/stats.c:125:49: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] distcc-3.4/src/stats.c:146:62: style: Parameter 'sd' can be declared as pointer to const [constParameterPointer] distcc-3.4/src/stats.c:197:23: style: Variable 'curr_sd' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/stats.c:301:16: style: Variable 'cts' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/stats.c:355:10: style: Variable 'ct' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/util.c:70:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] distcc-3.4/src/snprintf.c:455:25: style: Condition 'maxlen>0' is always true [knownConditionTrueFalse] distcc-3.4/src/snprintf.c:452:16: note: Assuming that condition 'maxlen!=0' is not redundant distcc-3.4/src/snprintf.c:455:25: note: Condition 'maxlen>0' is always true distcc-3.4/src/util.c:141:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/snprintf.c:730:14: style: Condition 'caps' is always false [knownConditionTrueFalse] distcc-3.4/src/snprintf.c:666:16: note: Assignment 'caps=0', assigned value is 0 distcc-3.4/src/snprintf.c:730:14: note: Condition 'caps' is always false distcc-3.4/src/util.c:265:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable h_errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/util.c:304:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] distcc-3.4/src/util.c:328:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] distcc-3.4/src/util.c:442:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/util.c:575:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] distcc-3.4/src/util.c:590:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] distcc-3.4/src/util.c:903:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] distcc-3.4/src/util.c:945:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] distcc-3.4/src/util.c:996:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] distcc-3.4/src/where.c:154:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] distcc-3.4/src/where.c:154:23: warning: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] distcc-3.4/src/where.c:141:30: note: Assignment 'pause_time_ms=1000', assigned value is 1000 distcc-3.4/src/where.c:144:9: note: Assuming condition is false distcc-3.4/src/where.c:154:23: note: Invalid argument distcc-3.4/src/stats.c:199:17: style: Variable 'running' is assigned a value that is never used. [unreadVariable] distcc-3.4/src/stats.c:200:11: style: Variable 't' is assigned a value that is never used. [unreadVariable] distcc-3.4/src/stats.c:201:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable] distcc-3.4/src/stats.c:202:15: style: Variable 'total' is assigned a value that is never used. [unreadVariable] distcc-3.4/src/where.c:102:62: style:inconclusive: Function 'dcc_pick_host_from_list_and_lock_it' argument 1 names different: declaration '' definition 'buildhost'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/where.c:143:11: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/where.c:92:14: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] distcc-3.4/src/snprintf.c:440:16: style: Variable 'ch' is reassigned a value before the old one has been used. [redundantAssignment] distcc-3.4/src/snprintf.c:434:20: note: ch is assigned distcc-3.4/src/snprintf.c:440:16: note: ch is overwritten distcc-3.4/src/snprintf.c:815:23: style:inconclusive: Function 'vsnprintf' argument 1 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/snprintf.c:815:35: style:inconclusive: Function 'vsnprintf' argument 2 names different: declaration '' definition 'count'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/snprintf.c:815:54: style:inconclusive: Function 'vsnprintf' argument 3 names different: declaration '' definition 'fmt'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/snprintf.c:815:67: style:inconclusive: Function 'vsnprintf' argument 4 names different: declaration '' definition 'args'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/snprintf.c:830:21: style:inconclusive: Function 'snprintf' argument 1 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/snprintf.c:830:32: style:inconclusive: Function 'snprintf' argument 2 names different: declaration '' definition 'count'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/snprintf.c:830:50: style:inconclusive: Function 'snprintf' argument 3 names different: declaration '' definition 'fmt'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/snprintf.c:866:22: style:inconclusive: Function 'asprintf' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/snprintf.c:866:39: style:inconclusive: Function 'asprintf' argument 2 names different: declaration '' definition 'format'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/snprintf.c:884:29: style:inconclusive: Function 'checked_asprintf' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/snprintf.c:884:46: style:inconclusive: Function 'checked_asprintf' argument 2 names different: declaration '' definition 'format'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/zeroconf.c:107:4: error: #error "No supported lock method. Please port this code." [preprocessorErrorDirective] distcc-3.4/src/snprintf.c:202:11: style: Variable 'strvalue' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/snprintf.c:212:5: error: va_list 'args' used before va_start() was called. [va_list_usedBeforeStarted] distcc-3.4/src/snprintf.c:849:5: error: va_list 'ap2' used before va_start() was called. [va_list_usedBeforeStarted] distcc-3.4/src/snprintf.c:850:38: error: va_list 'ap2' used before va_start() was called. [va_list_usedBeforeStarted] distcc-3.4/src/zeroconf-reg.c:62:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVAHI_PROTO_INET [valueFlowBailoutIncompleteVar] distcc-3.4/src/zeroconf-reg.c:196:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVAHI_ERR_DISCONNECTED [valueFlowBailoutIncompleteVar] distcc-3.4/src/zeroconf-reg.c:142:44: style:inconclusive: Function 'publish_reply' argument 1 names different: declaration 'g' definition 'UNUSED_g'. [funcArgNamesDifferent] distcc-3.4/src/zeroconf-reg.c:58:44: note: Function 'publish_reply' argument 1 names different: declaration 'g' definition 'UNUSED_g'. distcc-3.4/src/zeroconf-reg.c:142:44: note: Function 'publish_reply' argument 1 names different: declaration 'g' definition 'UNUSED_g'. distcc-3.4/src/zeroconf-reg.c:277:35: style:inconclusive: Function 'dcc_zeroconf_unregister' argument 1 names different: declaration '' definition 'u'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/zeroconf-reg.c:77:93: style: Variable 'm' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/zeroconf-reg.c:77:97: style: Variable 'v' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/util.c:449:12: warning: Either the condition 'len>=sizeof(buf)' is redundant or the array 'buf[4096]' is accessed at index 4096, which is out of bounds. [arrayIndexOutOfBoundsCond] distcc-3.4/src/util.c:446:17: note: Assuming that condition 'len>=sizeof(buf)' is not redundant distcc-3.4/src/util.c:449:12: note: Array index out of bounds distcc-3.4/src/util.c:262:17: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] distcc-3.4/src/util.c:440:15: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] distcc-3.4/src/util.c:534:11: style: Condition 'num<0' is always false [knownConditionTrueFalse] distcc-3.4/src/util.c:529:9: note: Assignment 'num=0', assigned value is 0 distcc-3.4/src/util.c:534:11: note: Condition 'num<0' is always false distcc-3.4/src/util.c:148:5: error: Resource leak: newfd [resourceLeak] distcc-3.4/src/util.c:383:60: style: Checking if unsigned expression 'len=readlink(buf,linkbuf,sizeof(linkbuf))' is less than zero. [unsignedLessThanZero] distcc-3.4/src/util.c:782:17: style: Checking if unsigned expression 'bufsize' is less than zero. [unsignedLessThanZero] distcc-3.4/src/util.c:131:25: style:inconclusive: Function 'dcc_redirect_fd' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/util.c:131:52: style:inconclusive: Function 'dcc_redirect_fd' argument 3 names different: declaration '' definition 'mode'. [funcArgNamesDifferentUnnamed] distcc-3.4/src/util.c:170:43: style:inconclusive: Function 'dcc_getenv_bool' argument 2 names different: declaration 'def_value' definition 'default_value'. [funcArgNamesDifferent] distcc-3.4/src/util.h:38:43: note: Function 'dcc_getenv_bool' argument 2 names different: declaration 'def_value' definition 'default_value'. distcc-3.4/src/util.c:170:43: note: Function 'dcc_getenv_bool' argument 2 names different: declaration 'def_value' definition 'default_value'. distcc-3.4/src/util.c:583:27: style:inconclusive: Function 'dcc_which' argument 1 names different: declaration 'cmd' definition 'command'. [funcArgNamesDifferent] distcc-3.4/src/util.h:53:27: note: Function 'dcc_which' argument 1 names different: declaration 'cmd' definition 'command'. distcc-3.4/src/util.c:583:27: note: Function 'dcc_which' argument 1 names different: declaration 'cmd' definition 'command'. distcc-3.4/src/util.c:818:37: style:inconclusive: Function 'dcc_tokenize_string' argument 1 names different: declaration 'in' definition 'input'. [funcArgNamesDifferent] distcc-3.4/src/util.h:61:37: note: Function 'dcc_tokenize_string' argument 1 names different: declaration 'in' definition 'input'. distcc-3.4/src/util.c:818:37: note: Function 'dcc_tokenize_string' argument 1 names different: declaration 'in' definition 'input'. distcc-3.4/src/util.c:252:25: style: Variable 'h' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/util.c:433:15: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] distcc-3.4/src/util.c:585:38: style: Variable 't' can be declared as pointer to const [constVariablePointer] diff: head distcc-3.4/src/arg.c:333:31: style:inconclusive: Function 'dcc_set_action_opt' argument 1 names different: declaration '' definition 'a'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/arg.c:333:46: style:inconclusive: Function 'dcc_set_action_opt' argument 2 names different: declaration '' definition 'new_c'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/arg.c:367:27: style:inconclusive: Function 'dcc_set_output' argument 1 names different: declaration '' definition 'a'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/arg.c:367:36: style:inconclusive: Function 'dcc_set_output' argument 2 names different: declaration '' definition 'ofname'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/arg.c:408:26: style:inconclusive: Function 'dcc_set_input' argument 1 names different: declaration '' definition 'a'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/arg.c:408:35: style:inconclusive: Function 'dcc_set_input' argument 2 names different: declaration '' definition 'ifname'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/argutil.c:61:33: style:inconclusive: Function 'dcc_argv_search' argument 2 names different: declaration '' definition 'needle'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/bulk.c:178:23: style:inconclusive: Function 'dcc_x_file' argument 5 names different: declaration '' definition 'f_size_out'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/bulk.c:233:25: style:inconclusive: Function 'dcc_r_file' argument 3 names different: declaration '' definition 'len'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/bulk.c:234:34: style:inconclusive: Function 'dcc_r_file' argument 4 names different: declaration '' definition 'compr'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/bulk.c:308:40: style:inconclusive: Function 'dcc_r_file_timed' argument 4 names different: declaration '' definition 'compr'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/climasq.c:58:63: style:inconclusive: Function 'dcc_support_masquerade' argument 3 names different: declaration '' definition 'did_masquerade'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/clirpc.c:112:43: style:inconclusive: Function 'dcc_r_result_header' argument 2 names different: declaration '' definition 'expect_ver'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/clirpc.c:139:25: style:inconclusive: Function 'dcc_r_cc_status' argument 1 names different: declaration '' definition 'ifd'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/clirpc.c:139:35: style:inconclusive: Function 'dcc_r_cc_status' argument 2 names different: declaration '' definition 'status'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/clirpc.c:158:46: style:inconclusive: Function 'dcc_retrieve_results' argument 6 names different: declaration '' definition 'host'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/dparent.c:292:32: style:inconclusive: Function 'dcc_save_pid' argument 1 names different: declaration '' definition 'pid'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/dsignal.c:114:44: style:inconclusive: Function 'dcc_daemon_terminate' argument 1 names different: declaration '' definition 'whichsig'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/filename.c:295:36: style:inconclusive: Function 'dcc_source_needs_local' argument 1 names different: declaration '' definition 'filename'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/h_hosts.c:66:32: style: Variable 'e' can be declared as pointer to const [constVariablePointer] head distcc-3.4/src/implicit.c:84:44: style:inconclusive: Function 'dcc_find_compiler' argument 2 names different: declaration '' definition 'out_argv'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/mon.c:224:48: style:inconclusive: Function 'dcc_task_state_free' argument 1 names different: declaration '' definition 'lp'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/ncpus.c:128:20: style:inconclusive: Function 'dcc_ncpus' argument 1 names different: declaration '' definition 'ncpus'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/netutil.c:135:27: style:inconclusive: Function 'dcc_defer_accept' argument 1 names different: declaration '' definition 'listen_fd'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/rpc.c:101:43: style:inconclusive: Function 'dcc_x_result_header' argument 2 names different: declaration '' definition 'protover'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/rpc.c:107:25: style:inconclusive: Function 'dcc_x_cc_status' argument 1 names different: declaration '' definition 'ofd'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/rpc.c:107:34: style:inconclusive: Function 'dcc_x_cc_status' argument 2 names different: declaration '' definition 'status'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/snprintf.c:815:23: style:inconclusive: Function 'vsnprintf' argument 1 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/snprintf.c:815:35: style:inconclusive: Function 'vsnprintf' argument 2 names different: declaration '' definition 'count'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/snprintf.c:815:54: style:inconclusive: Function 'vsnprintf' argument 3 names different: declaration '' definition 'fmt'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/snprintf.c:815:67: style:inconclusive: Function 'vsnprintf' argument 4 names different: declaration '' definition 'args'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/snprintf.c:830:21: style:inconclusive: Function 'snprintf' argument 1 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/snprintf.c:830:32: style:inconclusive: Function 'snprintf' argument 2 names different: declaration '' definition 'count'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/snprintf.c:830:50: style:inconclusive: Function 'snprintf' argument 3 names different: declaration '' definition 'fmt'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/snprintf.c:866:22: style:inconclusive: Function 'asprintf' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/snprintf.c:866:39: style:inconclusive: Function 'asprintf' argument 2 names different: declaration '' definition 'format'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/snprintf.c:884:29: style:inconclusive: Function 'checked_asprintf' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/snprintf.c:884:46: style:inconclusive: Function 'checked_asprintf' argument 2 names different: declaration '' definition 'format'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/srvnet.c:231:39: style:inconclusive: Function 'dcc_check_client' argument 1 names different: declaration '' definition 'psa'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/srvnet.c:232:26: style:inconclusive: Function 'dcc_check_client' argument 2 names different: declaration '' definition 'salen'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/srvnet.c:233:45: style:inconclusive: Function 'dcc_check_client' argument 3 names different: declaration '' definition 'allowed'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/srvrpc.c:53:45: style:inconclusive: Function 'dcc_r_request_header' argument 2 names different: declaration '' definition 'ver_ret'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/state.c:108:47: style:inconclusive: Function 'dcc_get_phase_name' argument 1 names different: declaration '' definition 'phase'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/state.c:204:52: style:inconclusive: Function 'dcc_note_state' argument 4 names different: declaration '' definition 'target'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/tempfile.c:378:33: style:inconclusive: Function 'dcc_make_tmpnam' argument 1 names different: declaration '' definition 'prefix'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/tempfile.c:380:28: style:inconclusive: Function 'dcc_make_tmpnam' argument 3 names different: declaration '' definition 'name_ret'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/trace.c:105:33: style:inconclusive: Function 'rs_add_logger' argument 1 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/trace.c:105:33: style:inconclusive: Function 'rs_add_logger' argument 2 names different: declaration '' definition 'fn'. [funcArgNamesDifferentUnnamed] 2.20.0 distcc-3.4/src/trace.c:105:33: style:inconclusive: Function 'rs_add_logger' argument 2 names different: declaration 'level' definition 'fn'. [funcArgNamesDifferent] distcc-3.4/src/trace.h:120:40: note: Function 'rs_add_logger' argument 2 names different: declaration 'level' definition 'fn'. distcc-3.4/src/trace.c:105:33: note: Function 'rs_add_logger' argument 2 names different: declaration 'level' definition 'fn'. head distcc-3.4/src/trace.c:105:33: style:inconclusive: Function 'rs_add_logger' argument 3 names different: declaration '' definition 'msg'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/trace.c:105:33: style:inconclusive: Function 'rs_add_logger' argument 5 names different: declaration '' definition 'private_ptr'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/trace.c:105:33: style:inconclusive: Function 'rs_add_logger' argument 6 names different: declaration '' definition 'private_int'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/trace.c:128:36: style:inconclusive: Function 'rs_remove_logger' argument 1 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/trace.c:128:36: style:inconclusive: Function 'rs_remove_logger' argument 2 names different: declaration '' definition 'fn'. [funcArgNamesDifferentUnnamed] 2.20.0 distcc-3.4/src/trace.c:128:36: style:inconclusive: Function 'rs_remove_logger' argument 2 names different: declaration 'level' definition 'fn'. [funcArgNamesDifferent] distcc-3.4/src/trace.h:121:43: note: Function 'rs_remove_logger' argument 2 names different: declaration 'level' definition 'fn'. distcc-3.4/src/trace.c:128:36: note: Function 'rs_remove_logger' argument 2 names different: declaration 'level' definition 'fn'. head distcc-3.4/src/trace.c:128:36: style:inconclusive: Function 'rs_remove_logger' argument 3 names different: declaration '' definition 'msg'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/trace.c:128:36: style:inconclusive: Function 'rs_remove_logger' argument 5 names different: declaration '' definition 'private_ptr'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/trace.c:128:36: style:inconclusive: Function 'rs_remove_logger' argument 6 names different: declaration '' definition 'private_int'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/trace.c:234:27: style:inconclusive: Function 'rs_format_msg' argument 2 names different: declaration '' definition 'buf_len'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/trace.c:235:24: style:inconclusive: Function 'rs_format_msg' argument 3 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/trace.c:236:32: style:inconclusive: Function 'rs_format_msg' argument 4 names different: declaration '' definition 'fn'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/trace.c:238:28: style:inconclusive: Function 'rs_format_msg' argument 6 names different: declaration '' definition 'va'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/trace.c:303:25: style:inconclusive: Function 'rs_logger_syslog' argument 5 names different: declaration '' definition 'UNUSED_private_ptr'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/trace.c:303:50: style:inconclusive: Function 'rs_logger_syslog' argument 6 names different: declaration '' definition 'UNUSED_private_int'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/trace.c:319:23: style:inconclusive: Function 'rs_logger_file' argument 5 names different: declaration '' definition 'UNUSED_private_ptr'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/trace.c:319:48: style:inconclusive: Function 'rs_logger_file' argument 6 names different: declaration '' definition 'log_fd'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/trace.c:372:34: style:inconclusive: Function 'rs_log_critical_nofn' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/trace.c:384:30: style:inconclusive: Function 'rs_log_info_nofn' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/trace.c:397:32: style:inconclusive: Function 'rs_log_notice_nofn' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/util.c:131:25: style:inconclusive: Function 'dcc_redirect_fd' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/util.c:131:52: style:inconclusive: Function 'dcc_redirect_fd' argument 3 names different: declaration '' definition 'mode'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/where.c:102:62: style:inconclusive: Function 'dcc_pick_host_from_list_and_lock_it' argument 1 names different: declaration '' definition 'buildhost'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/zeroconf-reg.c:277:35: style:inconclusive: Function 'dcc_zeroconf_unregister' argument 1 names different: declaration '' definition 'u'. [funcArgNamesDifferentUnnamed] head distcc-3.4/src/zeroconf-reg.c:77:93: style: Variable 'm' can be declared as pointer to const [constVariablePointer] head distcc-3.4/src/zeroconf-reg.c:77:97: style: Variable 'v' can be declared as pointer to const [constVariablePointer] DONE