2025-07-06 09:27 ftp://ftp.de.debian.org/debian/pool/main/u/uhub/uhub_0.4.1.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --library=sqlite3 --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-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: 9b11b6b (2025-07-04 16:03:30 +0200) count: 418 418 elapsed-time: 2.5 2.5 head-timing-info: old-timing-info: head results: uhub-0.4.1/src/core/commands.c:395:41: error: There is an unknown macro here somewhere. Configuration is required. If PRODUCT_STRING is a macro then please configure it. [unknownMacro] uhub-0.4.1/src/core/command_parser.c:44:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hub_free [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/command_parser.c:68:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cmd_status_ok [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/command_parser.c:244:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cmd_status_access_error [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/command_parser.c:268:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hub_command [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/auth.c:70:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable auth_info [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/auth.c:102:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/auth.c:139:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip_range [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/auth.c:172:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable auth_cred_bot [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/auth.c:192:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable acl_handle [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/auth.c:255:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hub_free [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/auth.c:290:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_allow [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/auth.c:299:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_allow [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/auth.c:309:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NICK_LEN [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/auth.c:323:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable auth_info [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/auth.c:445:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CID_LEN [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/auth.c:467:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CID_LEN [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/adc/sid.c:49:8: style: Variable 'factors' can be declared as const array [constVariable] uhub-0.4.1/src/core/eventqueue.c:32:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable event_queue [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/eventqueue.c:118:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable event_data [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/eventqueue.c:113:69: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/adc/message.c:231:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hub_free [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/adc/message.c:251:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable adc_message [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/adc/message.c:331:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable adc_message [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/adc/message.c:562:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable adc_message [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/auth.c:344:8: style: Variable 'str' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/core/auth.c:351:8: style: Variable 'str' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/core/auth.c:358:8: style: Variable 'str' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/core/auth.c:389:44: style: Parameter 'handle' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/core/auth.c:394:43: style: Parameter 'handle' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/core/auth.c:54:25: style: Variable 'info' is assigned a value that is never used. [unreadVariable] uhub-0.4.1/src/core/auth.c:124:25: style: Variable 'range' is assigned a value that is never used. [unreadVariable] uhub-0.4.1/src/core/hub.c:780:23: error: There is an unknown macro here somewhere. Configuration is required. If PRODUCT is a macro then please configure it. [unknownMacro] uhub-0.4.1/autotest/test.c:72:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exotic_test_setup [valueFlowBailoutIncompleteVar] uhub-0.4.1/autotest/test.c:920:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] uhub-0.4.1/autotest/test.c:957:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] uhub-0.4.1/autotest/test.c:993:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/hubevent.c:31:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable state_normal [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/hubevent.c:47:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable status_level_fatal [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/hubevent.c:54:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable status_level_fatal [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/gen_config.c:1033:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/config.c:53:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/config.c:121:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hub_config [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/command_parser.c:58:134: style: Parameter 'command' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/core/ioqueue.c:39:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ioq_recv [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/ioqueue.c:93:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ioq_send [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/inf.c:32:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_INF_FLAG_CLIENT_TYPE [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/inf.c:46:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_INF_FLAG_SUPPORT [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/inf.c:78:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CID_LEN [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/inf.c:96:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_INF_FLAG_CLIENT_ID [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/inf.c:158:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_INF_FLAG_CLIENT_ID [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/inf.c:197:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_INF_FLAG_IPV4_ADDR [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/inf.c:228:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_INF_FLAG_IPV6_ADDR [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/inf.c:237:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nick_invalid_short [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/inf.c:255:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nick_invalid_spaces [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/inf.c:273:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nick_invalid_bad_utf8 [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/inf.c:284:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_INF_FLAG_NICK [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/inf.c:341:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quit_ghost_timeout [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/inf.c:373:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_INF_FLAG_USER_AGENT [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/inf.c:392:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable status_msg_ban_permanently [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/inf.c:410:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_INF_FLAG_SHARED_SIZE [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/inf.c:545:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable auth_cred_guest [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/inf.c:625:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_INF_FLAG_USER_AGENT [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/inf.c:674:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_INF_FLAG_PRIVATE_ID [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/inf.c:750:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UHUB_EVENT_USER_JOIN [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/ioqueue.c:67:47: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/core/ioqueue.c:164:40: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/core/ioqueue.c:169:44: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/core/main.c:220:58: error: There is an unknown macro here somewhere. Configuration is required. If SERVER_CONFIG is a macro then please configure it. [unknownMacro] uhub-0.4.1/src/core/inf.c:587:47: style: Parameter 'hub' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/core/inf.c:601:57: style: Parameter 'hub' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/core/inf.c:621:59: style: Parameter 'hub' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/core/inf.c:370:11: style: Variable 'ua' is assigned a value that is never used. [unreadVariable] uhub-0.4.1/src/core/inf.c:481:7: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] uhub-0.4.1/src/core/netevent.c:26:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_RECV_BUF [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/netevent.c:118:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quit_socket_error [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/netevent.c:140:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NET_EVENT_TIMEOUT [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/netevent.c:186:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EWOULDBLOCK [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/plugincallback.c:87:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quit_kicked [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/plugincallback.c:94:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable command_handle [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/plugincallback.c:139:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_INF_FLAG_NICK [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/plugincallback.c:148:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_INF_FLAG_DESCRIPTION [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/plugincallback.c:160:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_INF_FLAG_NICK [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/plugincallback.c:177:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_INF_FLAG_DESCRIPTION [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/plugincallback.c:203:65: style: Parameter 'handle' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/adc/message.c:598:7: style: Variable 'prefix' can be declared as const array [constVariable] uhub-0.4.1/src/adc/message.c:650:7: style: Variable 'prefix' can be declared as const array [constVariable] uhub-0.4.1/src/adc/message.c:672:8: style: Variable 'end' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/adc/message.c:675:7: style: Variable 'prefix' can be declared as const array [constVariable] uhub-0.4.1/src/adc/message.c:909:8: style: Variable 'str' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/adc/message.c:940:8: style: Variable 'str' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/adc/message.c:250:12: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] uhub-0.4.1/src/adc/message.c:601:18: style: Variable 'temp_len' is assigned a value that is never used. [unreadVariable] uhub-0.4.1/src/core/plugininvoke.c:85:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_default [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/plugininvoke.c:91:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_default [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/plugininvoke.c:143:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_default [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/plugininvoke.c:150:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_default [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/plugininvoke.c:156:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_default [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/plugininvoke.c:163:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_default [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/plugininvoke.c:170:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_default [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/plugininvoke.c:177:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_default [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/plugininvoke.c:182:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_default [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/plugininvoke.c:187:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_default [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/plugininvoke.c:192:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_default [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/plugininvoke.c:197:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_default [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/pluginloader.c:39:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uhub_plugin [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/pluginloader.c:103:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plugin_handle [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/pluginloader.c:223:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hub_free [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/netevent.c:173:20: style: Variable 'probe' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/core/netevent.c:134:17: style: Variable 'flag_close' is assigned a value that is never used. [unreadVariable] uhub-0.4.1/src/core/probe.c:29:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NET_EVENT_TIMEOUT [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/probe.c:117:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NET_EVENT_READ [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/pluginloader.c:105:74: warning: Either the condition '!plugin' is redundant or there is possible null pointer dereference: plugin. [nullPointerRedundantCheck] uhub-0.4.1/src/core/pluginloader.c:107:6: note: Assuming that condition '!plugin' is not redundant uhub-0.4.1/src/core/pluginloader.c:105:74: note: Null pointer dereference uhub-0.4.1/src/core/probe.c:106:84: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/core/pluginloader.c:170:8: style: Variable 'directive' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/core/pluginloader.c:248:31: style: Variable 'data' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/core/route.c:80:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flag_user_list [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/route.c:111:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flag_pipeline [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/route.c:135:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flag_pipeline [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/route.c:214:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_INF_FLAG_IPV4_ADDR [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/user.c:44:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hub_user [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/user.c:89:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable state_disconnected [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/user.c:152:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable feature_bas0 [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/user.c:219:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flag_nat [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/user.c:224:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flag_nat [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/user.c:267:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hub_free [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/user.c:275:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable state_normal [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/user.c:282:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable state_protocol [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/user.c:289:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable state_protocol [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/user.c:296:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable state_cleanup [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/user.c:318:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NET_EVENT_READ [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/user.c:323:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NET_EVENT_READ [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/usermanager.c:36:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable auth_cred_none [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/usermanager.c:44:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hub_user_manager [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/usermanager.c:166:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flag_user_list [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/usermanager.c:191:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_CMD_IQUI [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/core/route.c:78:94: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/core/user.c:38:102: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/core/user.c:202:36: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/core/user.c:233:64: style: Parameter 'feature' can be declared as const array [constParameter] uhub-0.4.1/src/core/user.c:235:8: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/core/user.c:273:40: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/core/user.c:280:41: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/core/user.c:287:51: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/core/user.c:294:44: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/network/backend.c:177:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NET_CLEANUP [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/backend.c:215:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NET_CLEANUP [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/connection.c:30:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EWOULDBLOCK [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/connection.c:42:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UHUB_SEND_SIGNAL [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/connection.c:89:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_PEEK [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/connection.c:130:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NET_CLEANUP [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/connection.c:109:43: style: Parameter 'con' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/network/connection.c:114:46: style: Parameter 'con' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/network/dnsresolver.c:164:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/dnsresolver.c:382:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hub_free [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/dnsresolver.c:112:30: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'dummy_free' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] uhub-0.4.1/src/network/dnsresolver.c:151:30: note: You might need to cast the function pointer here uhub-0.4.1/src/network/dnsresolver.c:112:30: note: Parameter 'ptr' can be declared as pointer to const uhub-0.4.1/src/network/dnsresolver.c:186:25: style: Variable 'addr4' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/network/dnsresolver.c:191:26: style: Variable 'addr6' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/network/dnsresolver.c:255:72: style: Parameter 'ipaddr' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/network/dnsresolver.c:288:74: style: Parameter 'job' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/network/dnsresolver.c:94:22: style: Unused variable: job [unusedVariable] uhub-0.4.1/src/network/dnsresolver.c:95:25: style: Unused variable: result [unusedVariable] uhub-0.4.1/src/network/ipcalc.c:62:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/ipcalc.c:72:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/ipcalc.c:94:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/ipcalc.c:143:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in6 [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/ipcalc.c:186:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip_addr_encap [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/ipcalc.c:234:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip_addr_encap [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/ipcalc.c:282:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip_addr_encap [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/ipcalc.c:322:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip_addr_encap [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/ipcalc.c:365:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/ipcalc.c:421:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/ipcalc.c:481:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip_addr_encap [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/network.c:128:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/network.c:196:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIONBIO [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/network.c:225:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_SETFD [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/network.c:314:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RD [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/network.c:323:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_WR [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/network.c:332:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/network.c:343:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_storage [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/network.c:423:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINPROGRESS [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/network.c:445:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAFNOSUPPORT [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/network.c:544:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/network.c:599:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/network.c:638:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/network.c:693:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EWOULDBLOCK [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/network.c:716:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EWOULDBLOCK [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/network.c:753:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable net_statistics [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/network.c:774:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable net_statistics [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/network.c:780:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMEOUT_STATS [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/timeout.c:123:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prev [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/timeout.c:36:50: style: Parameter 't' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/network/timeout.c:73:61: style: Parameter 't' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/network/timeout.c:59:26: style: Variable 'evt' is assigned a value that is never used. [unreadVariable] uhub-0.4.1/src/network/timer.c:25:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NET_EVENT_TIMEOUT [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/timer.c:32:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeout_evt [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_auth_simple.c:42:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable auth_info [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_auth_simple.c:56:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hub_free [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_auth_simple.c:165:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_auth_simple.c:185:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable auth_info [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_auth_simple.c:199:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_deny [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_auth_simple.c:207:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_deny [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_auth_simple.c:215:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_deny [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_auth_simple.c:118:8: style: Variable 'username' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/plugins/mod_auth_simple.c:119:8: style: Variable 'password' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/plugins/mod_auth_simple.c:180:20: style: Variable 'info' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/plugins/mod_auth_simple.c:195:80: style: Parameter 'user' can be declared as pointer to const. However it seems that 'register_user' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] uhub-0.4.1/src/plugins/mod_auth_simple.c:225:37: note: You might need to cast the function pointer here uhub-0.4.1/src/plugins/mod_auth_simple.c:195:80: note: Parameter 'user' can be declared as pointer to const uhub-0.4.1/src/plugins/mod_auth_simple.c:197:19: style: Variable 'acl' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/plugins/mod_auth_simple.c:203:78: style: Parameter 'user' can be declared as pointer to const. However it seems that 'update_user' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] uhub-0.4.1/src/plugins/mod_auth_simple.c:226:35: note: You might need to cast the function pointer here uhub-0.4.1/src/plugins/mod_auth_simple.c:203:78: note: Parameter 'user' can be declared as pointer to const uhub-0.4.1/src/plugins/mod_auth_simple.c:205:19: style: Variable 'acl' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/plugins/mod_auth_simple.c:211:78: style: Parameter 'user' can be declared as pointer to const. However it seems that 'delete_user' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] uhub-0.4.1/src/plugins/mod_auth_simple.c:227:35: note: You might need to cast the function pointer here uhub-0.4.1/src/plugins/mod_auth_simple.c:211:78: note: Parameter 'user' can be declared as pointer to const uhub-0.4.1/src/plugins/mod_auth_simple.c:213:19: style: Variable 'acl' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/plugins/mod_auth_simple.c:158:24: style: Variable 'data' is assigned a value that is never used. [unreadVariable] uhub-0.4.1/src/network/network.c:339:30: style: Variable 'addr4' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/plugins/mod_auth_sqlite.c:160:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NICK_LEN [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_auth_sqlite.c:185:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable auth_info [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_auth_sqlite.c:221:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_auth_sqlite.c:242:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_auth_sqlite.c:253:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_deny [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/network/ipcalc.c:173:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] uhub-0.4.1/src/network/ipcalc.c:194:22: warning: Shifting 32-bit value by 32 bits is undefined behaviour. See condition at line 195. [shiftTooManyBits] uhub-0.4.1/src/network/ipcalc.c:195:12: note: Assuming that condition 'bits==0' is not redundant uhub-0.4.1/src/network/ipcalc.c:194:22: note: Shift uhub-0.4.1/src/network/ipcalc.c:242:22: warning: Shifting 32-bit value by 32 bits is undefined behaviour. See condition at line 243. [shiftTooManyBits] uhub-0.4.1/src/network/ipcalc.c:243:12: note: Assuming that condition 'bits==0' is not redundant uhub-0.4.1/src/network/ipcalc.c:242:22: note: Shift uhub-0.4.1/src/network/ipcalc.c:173:8: style: Variable 'addr' is assigned a value that is never used. [unreadVariable] uhub-0.4.1/src/network/ipcalc.c:293:14: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] uhub-0.4.1/src/network/ipcalc.c:333:14: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] uhub-0.4.1/src/network/ipcalc.c:381:14: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] uhub-0.4.1/src/network/ipcalc.c:450:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] uhub-0.4.1/src/network/ipcalc.c:451:13: style: Variable 'addr' is assigned a value that is never used. [unreadVariable] uhub-0.4.1/src/plugins/mod_chat_history.c:132:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plugin_cmd_arg_type_integer [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_chat_history.c:223:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plugin_command_handle [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_chat_history.c:236:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hub_free [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_auth_sqlite.c:41:32: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'null_callback' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] uhub-0.4.1/src/plugins/mod_auth_sqlite.c:235:28: note: You might need to cast the function pointer here uhub-0.4.1/src/plugins/mod_auth_sqlite.c:41:32: note: Parameter 'ptr' can be declared as pointer to const uhub-0.4.1/src/plugins/mod_auth_sqlite.c:249:78: style: Parameter 'user' can be declared as pointer to const. However it seems that 'delete_user' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] uhub-0.4.1/src/plugins/mod_auth_sqlite.c:265:35: note: You might need to cast the function pointer here uhub-0.4.1/src/plugins/mod_auth_sqlite.c:249:78: note: Parameter 'user' can be declared as pointer to const uhub-0.4.1/src/plugins/mod_auth_sqlite.c:251:19: style: Variable 'sql' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/plugins/mod_auth_sqlite.c:64:13: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] uhub-0.4.1/src/plugins/mod_chat_only.c:91:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_deny [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_chat_only.c:100:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_allow [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_chat_only.c:116:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_allow [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_chat_history.c:75:10: style: Checking if unsigned expression 'num' is less than zero. [unsignedLessThanZero] uhub-0.4.1/src/plugins/mod_chat_history.c:42:75: style: Parameter 'from' can be declared as pointer to const. However it seems that 'history_add' is a callback function, if 'from' is declared with const you might also need to cast function pointer(s). [constParameterCallback] uhub-0.4.1/src/plugins/mod_chat_history.c:215:39: note: You might need to cast the function pointer here uhub-0.4.1/src/plugins/mod_chat_history.c:42:75: note: Parameter 'from' can be declared as pointer to const uhub-0.4.1/src/plugins/mod_chat_only.c:89:57: style: Parameter 'plugin' can be declared as pointer to const. However it seems that 'on_search_result' is a callback function, if 'plugin' is declared with const you might also need to cast function pointer(s). [constParameterCallback] uhub-0.4.1/src/plugins/mod_chat_only.c:149:35: note: You might need to cast the function pointer here uhub-0.4.1/src/plugins/mod_chat_only.c:89:57: note: Parameter 'plugin' can be declared as pointer to const uhub-0.4.1/src/plugins/mod_chat_only.c:89:85: style: Parameter 'from' can be declared as pointer to const. However it seems that 'on_search_result' is a callback function, if 'from' is declared with const you might also need to cast function pointer(s). [constParameterCallback] uhub-0.4.1/src/plugins/mod_chat_only.c:149:35: note: You might need to cast the function pointer here uhub-0.4.1/src/plugins/mod_chat_only.c:89:85: note: Parameter 'from' can be declared as pointer to const uhub-0.4.1/src/plugins/mod_chat_only.c:89:111: style: Parameter 'to' can be declared as pointer to const. However it seems that 'on_search_result' is a callback function, if 'to' is declared with const you might also need to cast function pointer(s). [constParameterCallback] uhub-0.4.1/src/plugins/mod_chat_only.c:149:35: note: You might need to cast the function pointer here uhub-0.4.1/src/plugins/mod_chat_only.c:89:111: note: Parameter 'to' can be declared as pointer to const uhub-0.4.1/src/plugins/mod_example.c:38:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plugin_command_handle [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_no_guest_downloads.c:25:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable auth_cred_user [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_no_guest_downloads.c:33:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable auth_cred_user [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_no_guest_downloads.c:40:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable auth_cred_user [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_no_guest_downloads.c:23:57: style: Parameter 'plugin' can be declared as pointer to const. However it seems that 'on_search_result' is a callback function, if 'plugin' is declared with const you might also need to cast function pointer(s). [constParameterCallback] uhub-0.4.1/src/plugins/mod_no_guest_downloads.c:50:35: note: You might need to cast the function pointer here uhub-0.4.1/src/plugins/mod_no_guest_downloads.c:23:57: note: Parameter 'plugin' can be declared as pointer to const uhub-0.4.1/src/plugins/mod_no_guest_downloads.c:23:85: style: Parameter 'from' can be declared as pointer to const. However it seems that 'on_search_result' is a callback function, if 'from' is declared with const you might also need to cast function pointer(s). [constParameterCallback] uhub-0.4.1/src/plugins/mod_no_guest_downloads.c:50:35: note: You might need to cast the function pointer here uhub-0.4.1/src/plugins/mod_no_guest_downloads.c:23:85: note: Parameter 'from' can be declared as pointer to const uhub-0.4.1/src/plugins/mod_no_guest_downloads.c:23:111: style: Parameter 'to' can be declared as pointer to const. However it seems that 'on_search_result' is a callback function, if 'to' is declared with const you might also need to cast function pointer(s). [constParameterCallback] uhub-0.4.1/src/plugins/mod_no_guest_downloads.c:50:35: note: You might need to cast the function pointer here uhub-0.4.1/src/plugins/mod_no_guest_downloads.c:23:111: note: Parameter 'to' can be declared as pointer to const uhub-0.4.1/src/plugins/mod_no_guest_downloads.c:30:50: style: Parameter 'plugin' can be declared as pointer to const. However it seems that 'on_search' is a callback function, if 'plugin' is declared with const you might also need to cast function pointer(s). [constParameterCallback] uhub-0.4.1/src/plugins/mod_no_guest_downloads.c:49:28: note: You might need to cast the function pointer here uhub-0.4.1/src/plugins/mod_no_guest_downloads.c:30:50: note: Parameter 'plugin' can be declared as pointer to const uhub-0.4.1/src/plugins/mod_no_guest_downloads.c:30:78: style: Parameter 'user' can be declared as pointer to const. However it seems that 'on_search' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] uhub-0.4.1/src/plugins/mod_no_guest_downloads.c:49:28: note: You might need to cast the function pointer here uhub-0.4.1/src/plugins/mod_no_guest_downloads.c:30:78: note: Parameter 'user' can be declared as pointer to const uhub-0.4.1/src/plugins/mod_no_guest_downloads.c:38:55: style: Parameter 'plugin' can be declared as pointer to const. However it seems that 'on_p2p_connect' is a callback function, if 'plugin' is declared with const you might also need to cast function pointer(s). [constParameterCallback] uhub-0.4.1/src/plugins/mod_no_guest_downloads.c:51:33: note: You might need to cast the function pointer here uhub-0.4.1/src/plugins/mod_no_guest_downloads.c:38:55: note: Parameter 'plugin' can be declared as pointer to const uhub-0.4.1/src/plugins/mod_no_guest_downloads.c:38:83: style: Parameter 'from' can be declared as pointer to const. However it seems that 'on_p2p_connect' is a callback function, if 'from' is declared with const you might also need to cast function pointer(s). [constParameterCallback] uhub-0.4.1/src/plugins/mod_no_guest_downloads.c:51:33: note: You might need to cast the function pointer here uhub-0.4.1/src/plugins/mod_no_guest_downloads.c:38:83: note: Parameter 'from' can be declared as pointer to const uhub-0.4.1/src/plugins/mod_no_guest_downloads.c:38:109: style: Parameter 'to' can be declared as pointer to const. However it seems that 'on_p2p_connect' is a callback function, if 'to' is declared with const you might also need to cast function pointer(s). [constParameterCallback] uhub-0.4.1/src/plugins/mod_no_guest_downloads.c:51:33: note: You might need to cast the function pointer here uhub-0.4.1/src/plugins/mod_no_guest_downloads.c:38:109: note: Parameter 'to' can be declared as pointer to const uhub-0.4.1/src/plugins/mod_no_guest_downloads.c:56:45: style: Parameter 'plugin' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/plugins/mod_topic.c:35:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plugin_cmd_arg_type_string [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_topic.c:69:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plugin_command_handle [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_logging.c:48:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode_file [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_logging.c:60:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_logging.c:68:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_USER [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_logging.c:99:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode_file [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_logging.c:160:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode_file [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_logging.c:182:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode_file [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_logging.c:185:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] uhub-0.4.1/src/plugins/mod_logging.c:146:7: style: Condition '!log_open_syslog(plugin)' is always false [knownConditionTrueFalse] uhub-0.4.1/src/plugins/mod_logging.c:146:23: note: Calling function 'log_open_syslog' returns 1 uhub-0.4.1/src/plugins/mod_logging.c:146:7: note: Condition '!log_open_syslog(plugin)' is always false uhub-0.4.1/src/plugins/mod_logging.c:66:50: style: Parameter 'plugin' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/plugins/mod_logging.c:174:42: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/plugins/mod_logging.c:177:13: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/plugins/mod_logging.c:180:15: style: Variable 'size' is assigned a value that is never used. [unreadVariable] uhub-0.4.1/src/plugins/mod_welcome.c:51:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_welcome.c:127:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plugin_command_handle [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/plugins/mod_welcome.c:170:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] uhub-0.4.1/src/plugins/mod_welcome.c:230:23: style: Variable 'data' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/plugins/mod_welcome.c:242:23: style: Variable 'data' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/tools/adcrush.c:58:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/tools/adcrush.c:135:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/tools/adcrush.c:256:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeout_evt [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/tools/adcclient.c:99:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/tools/adcclient.c:147:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/tools/adcclient.c:171:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NET_EVENT_TIMEOUT [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/tools/adcclient.c:275:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_CLIENT_LOGGING_IN [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/tools/adcclient.c:471:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quit_socket_error [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/tools/adcclient.c:502:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NET_EVENT_READ [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/tools/adcclient.c:509:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_CMD_BINF [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/tools/adcclient.c:592:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_CLIENT_CONNECTING [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/tools/adcclient.c:630:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NET_EVENT_READ [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/tools/adcclient.c:664:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_CLIENT_LOGGED_IN [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/tools/adcclient.c:691:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/tools/adcclient.c:732:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/tools/admin.c:80:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hub_free [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/tools/admin.c:209:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_ONSTACK [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/tools/adcrush.c:153:2: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] uhub-0.4.1/src/tools/adcrush.c:447:9: style: Condition 'running' is always true [knownConditionTrueFalse] uhub-0.4.1/src/tools/adcrush.c:253:21: style: Local variable 'client' shadows outer variable [shadowVariable] uhub-0.4.1/src/tools/adcrush.c:403:27: note: Shadowed declaration uhub-0.4.1/src/tools/adcrush.c:253:21: note: Shadow variable uhub-0.4.1/src/tools/adcrush.c:394:22: style: Local variable 'client' shadows outer variable [shadowVariable] uhub-0.4.1/src/tools/adcrush.c:403:27: note: Shadowed declaration uhub-0.4.1/src/tools/adcrush.c:394:22: note: Shadow variable uhub-0.4.1/src/tools/adcrush.c:408:6: style: Local variable 'logged_in' shadows outer variable [shadowVariable] uhub-0.4.1/src/tools/adcrush.c:45:12: note: Shadowed declaration uhub-0.4.1/src/tools/adcrush.c:408:6: note: Shadow variable uhub-0.4.1/src/tools/adcrush.c:125:43: style: Parameter 'client' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/tools/adcrush.c:218:17: style: Variable 'buf' is assigned a value that is never used. [unreadVariable] uhub-0.4.1/src/tools/adcrush.c:271:9: style: Variable 'p' is assigned a value that is never used. [unreadVariable] uhub-0.4.1/src/tools/adcrush.c:278:24: style: Unused variable: c [unusedVariable] uhub-0.4.1/src/tools/admin.c:70:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] uhub-0.4.1/src/tools/admin.c:66:6: note: ret is assigned uhub-0.4.1/src/tools/admin.c:70:6: note: ret is overwritten uhub-0.4.1/src/tools/admin.c:40:19: style: Variable 'user' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/tools/admin.c:47:19: style: Variable 'user' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/tools/admin.c:53:8: style: Variable 'line' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/tools/uhub-passwd.c:56:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/tools/uhub-passwd.c:104:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/tools/uhub-passwd.c:113:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NICK_LEN [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/tools/uhub-passwd.c:147:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PASS_LEN [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/tools/uhub-passwd.c:168:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/tools/uhub-passwd.c:193:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/tools/uhub-passwd.c:270:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/tools/uhub-passwd.c:294:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/tools/uhub-passwd.c:319:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/tools/uhub-passwd.c:342:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/util/cbuffer.c:108:38: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/util/cbuffer.c:113:34: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/tools/uhub-passwd.c:81:3: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] uhub-0.4.1/src/tools/uhub-passwd.c:76:14: note: Assuming allocation function fails uhub-0.4.1/src/tools/uhub-passwd.c:76:14: note: Assignment 'buf=malloc(size+1)', assigned value is 0 uhub-0.4.1/src/tools/uhub-passwd.c:81:3: note: Null pointer dereference uhub-0.4.1/src/tools/uhub-passwd.c:83:2: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] uhub-0.4.1/src/tools/uhub-passwd.c:76:14: note: Assuming allocation function fails uhub-0.4.1/src/tools/uhub-passwd.c:76:14: note: Assignment 'buf=malloc(size+1)', assigned value is 0 uhub-0.4.1/src/tools/uhub-passwd.c:83:2: note: Null pointer dereference uhub-0.4.1/src/tools/uhub-passwd.c:252:8: style: Local variable 'pass' shadows outer function [shadowFunction] uhub-0.4.1/src/tools/uhub-passwd.c:35:12: note: Shadowed declaration uhub-0.4.1/src/tools/uhub-passwd.c:252:8: note: Shadow variable uhub-0.4.1/src/tools/uhub-passwd.c:173:31: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'sql_callback' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] uhub-0.4.1/src/tools/uhub-passwd.c:191:31: note: You might need to cast the function pointer here uhub-0.4.1/src/tools/uhub-passwd.c:173:31: note: Parameter 'ptr' can be declared as pointer to const uhub-0.4.1/src/tools/uhub-passwd.c:44:14: style: struct member 'commands::usage' is never used. [unusedStructMember] uhub-0.4.1/src/tools/uhub-passwd.c:199:11: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] uhub-0.4.1/src/util/config_token.c:127:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hub_free [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/util/credentials.c:86:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable auth_cred_operator [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/util/floodctl.c:24:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flood_control [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/util/config_token.c:217:9: style: Variable 'val' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/util/config_token.c:254:55: style: Parameter 's' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/util/config_token.c:259:57: style: Parameter 's' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/util/config_token.c:177:12: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] uhub-0.4.1/src/util/list.c:25:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable linked_list [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/util/list.c:55:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable linked_list [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/util/list.c:61:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable node [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/tools/adcclient.c:126:20: style: The statement 'if (client->state!=state) client->state=state' is logically equivalent to 'client->state=state'. [duplicateConditionalAssign] uhub-0.4.1/src/tools/adcclient.c:131:17: note: Assignment 'client->state=state' uhub-0.4.1/src/tools/adcclient.c:126:20: note: Condition 'client->state!=state' is redundant uhub-0.4.1/src/tools/adcclient.c:751:58: style: Comparing expression of type 'unsigned short' against value 65535. Condition is always false. [compareValueOutOfTypeRangeError] uhub-0.4.1/src/tools/adcclient.c:744:14: style: Redundant initialization for 'hub_address'. The initialized value is overwritten before it is read. [redundantInitialization] uhub-0.4.1/src/tools/adcclient.c:717:26: note: hub_address is initialized uhub-0.4.1/src/tools/adcclient.c:744:14: note: hub_address is overwritten uhub-0.4.1/src/tools/adcclient.c:751:27: style: Checking if unsigned expression 'client->address.port' is less than zero. [unsignedLessThanZero] uhub-0.4.1/src/tools/adcclient.c:310:36: style: Local variable 'data' shadows outer variable [shadowVariable] uhub-0.4.1/src/tools/adcclient.c:245:34: note: Shadowed declaration uhub-0.4.1/src/tools/adcclient.c:310:36: note: Shadow variable uhub-0.4.1/src/tools/adcclient.c:347:38: style: Local variable 'data' shadows outer variable [shadowVariable] uhub-0.4.1/src/tools/adcclient.c:245:34: note: Shadowed declaration uhub-0.4.1/src/tools/adcclient.c:347:38: note: Shadow variable uhub-0.4.1/src/tools/adcclient.c:92:49: style: Parameter 'client' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/util/list.c:117:38: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/tools/adcclient.c:680:24: style: Variable 'ipaddr' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/util/list.c:123:42: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/tools/adcclient.c:718:8: style: Variable 'split' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/util/log.c:62:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/util/log.c:109:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/util/log.c:194:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/util/log.c:181:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] uhub-0.4.1/src/util/log.c:150:13: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/util/misc.c:233:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_RECV_BUF [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/util/misc.c:324:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRINTF_SIZE_T [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/util/misc.c:341:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRINTF_UINT64_T [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/util/misc.c:391:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hub_free [valueFlowBailoutIncompleteVar] uhub-0.4.1/src/util/rbtree.c:162:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hub_malloc [valueFlowBailoutIncompleteVar] uhub-0.4.1/autotest/test.c:851:50: style: Parameter 'handle' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/util/misc.c:419:18: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] uhub-0.4.1/src/util/misc.c:184:23: warning: If memory allocation fails, then there is a possible null pointer dereference: start [nullPointerOutOfMemory] uhub-0.4.1/src/util/misc.c:178:20: note: Assuming allocation function fails uhub-0.4.1/src/util/misc.c:178:20: note: Assignment 'buf=strdup(string)', assigned value is 0 uhub-0.4.1/src/util/misc.c:183:10: note: Assignment 'start=buf', assigned value is 0 uhub-0.4.1/src/util/misc.c:184:23: note: Null pointer dereference uhub-0.4.1/src/util/misc.c:361:8: style: Variable 'c_pat' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/util/misc.c:419:13: style: Variable 't' can be declared as pointer to const [constVariablePointer] uhub-0.4.1/src/util/misc.c:69:11: style: Variable 'div' is assigned a value that is never used. [unreadVariable] uhub-0.4.1/src/util/misc.c:128:21: style: Variable 'word' is assigned a value that is never used. [unreadVariable] uhub-0.4.1/src/util/rbtree.c:178:71: style:inconclusive: Function 'rb_tree_insert' argument 3 names different: declaration 'data' definition 'value'. [funcArgNamesDifferent] uhub-0.4.1/src/util/rbtree.h:74:78: note: Function 'rb_tree_insert' argument 3 names different: declaration 'data' definition 'value'. uhub-0.4.1/src/util/rbtree.c:178:71: note: Function 'rb_tree_insert' argument 3 names different: declaration 'data' definition 'value'. uhub-0.4.1/src/util/rbtree.c:49:35: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/util/rbtree.c:193:37: style: Parameter 'n' can be declared as pointer to const. However it seems that 'null_node_free' is a callback function, if 'n' is declared with const you might also need to cast function pointer(s). [constParameterCallback] uhub-0.4.1/src/util/rbtree.c:197:41: note: You might need to cast the function pointer here uhub-0.4.1/src/util/rbtree.c:193:37: note: Parameter 'n' can be declared as pointer to const uhub-0.4.1/src/util/rbtree.c:297:37: style: Parameter 'tree' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/util/rbtree.c:321:29: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'null_free' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] uhub-0.4.1/src/util/rbtree.c:326:36: note: You might need to cast the function pointer here uhub-0.4.1/src/util/rbtree.c:321:29: note: Parameter 'ptr' can be declared as pointer to const uhub-0.4.1/src/core/gen_config.c:90:10: style: Variable 'max' is assigned a value that is never used. [unreadVariable] uhub-0.4.1/src/core/gen_config.c:91:10: style: Variable 'min' is assigned a value that is never used. [unreadVariable] uhub-0.4.1/src/core/gen_config.c:117:7: style: Condition '!apply_string(key,data,&config->server_bind_addr,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:117:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:117:7: note: Condition '!apply_string(key,data,&config->server_bind_addr,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:138:7: style: Condition '!apply_string(key,data,&config->server_alt_ports,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:138:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:138:7: note: Condition '!apply_string(key,data,&config->server_alt_ports,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:220:7: style: Condition '!apply_string(key,data,&config->hub_name,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:220:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:220:7: note: Condition '!apply_string(key,data,&config->hub_name,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:230:7: style: Condition '!apply_string(key,data,&config->hub_description,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:230:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:230:7: note: Condition '!apply_string(key,data,&config->hub_description,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:240:7: style: Condition '!apply_string(key,data,&config->redirect_addr,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:240:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:240:7: note: Condition '!apply_string(key,data,&config->redirect_addr,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:521:7: style: Condition '!apply_string(key,data,&config->tls_require_redirect_addr,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:521:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:521:7: note: Condition '!apply_string(key,data,&config->tls_require_redirect_addr,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:531:7: style: Condition '!apply_string(key,data,&config->tls_certificate,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:531:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:531:7: note: Condition '!apply_string(key,data,&config->tls_certificate,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:541:7: style: Condition '!apply_string(key,data,&config->tls_private_key,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:541:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:541:7: note: Condition '!apply_string(key,data,&config->tls_private_key,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:551:7: style: Condition '!apply_string(key,data,&config->file_acl,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:551:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:551:7: note: Condition '!apply_string(key,data,&config->file_acl,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:561:7: style: Condition '!apply_string(key,data,&config->file_plugins,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:561:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:561:7: note: Condition '!apply_string(key,data,&config->file_plugins,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:571:7: style: Condition '!apply_string(key,data,&config->msg_hub_full,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:571:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:571:7: note: Condition '!apply_string(key,data,&config->msg_hub_full,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:581:7: style: Condition '!apply_string(key,data,&config->msg_hub_disabled,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:581:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:581:7: note: Condition '!apply_string(key,data,&config->msg_hub_disabled,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:591:7: style: Condition '!apply_string(key,data,&config->msg_hub_registered_users_only,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:591:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:591:7: note: Condition '!apply_string(key,data,&config->msg_hub_registered_users_only,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:601:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_nick_missing,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:601:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:601:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_nick_missing,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:611:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_nick_multiple,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:611:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:611:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_nick_multiple,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:621:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_nick_invalid,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:621:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:621:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_nick_invalid,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:631:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_nick_long,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:631:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:631:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_nick_long,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:641:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_nick_short,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:641:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:641:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_nick_short,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:651:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_nick_spaces,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:651:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:651:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_nick_spaces,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:661:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_nick_bad_chars,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:661:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:661:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_nick_bad_chars,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:671:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_nick_not_utf8,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:671:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:671:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_nick_not_utf8,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:681:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_nick_taken,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:681:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:681:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_nick_taken,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:691:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_nick_restricted,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:691:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:691:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_nick_restricted,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:701:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_cid_invalid,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:701:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:701:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_cid_invalid,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:711:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_cid_missing,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:711:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:711:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_cid_missing,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:721:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_cid_taken,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:721:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:721:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_cid_taken,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:731:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_pid_missing,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:731:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:731:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_pid_missing,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:741:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_pid_invalid,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:741:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:741:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_pid_invalid,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:751:7: style: Condition '!apply_string(key,data,&config->msg_ban_permanently,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:751:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:751:7: note: Condition '!apply_string(key,data,&config->msg_ban_permanently,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:761:7: style: Condition '!apply_string(key,data,&config->msg_ban_temporarily,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:761:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:761:7: note: Condition '!apply_string(key,data,&config->msg_ban_temporarily,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:771:7: style: Condition '!apply_string(key,data,&config->msg_auth_invalid_password,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:771:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:771:7: note: Condition '!apply_string(key,data,&config->msg_auth_invalid_password,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:781:7: style: Condition '!apply_string(key,data,&config->msg_auth_user_not_found,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:781:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:781:7: note: Condition '!apply_string(key,data,&config->msg_auth_user_not_found,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:791:7: style: Condition '!apply_string(key,data,&config->msg_error_no_memory,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:791:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:791:7: note: Condition '!apply_string(key,data,&config->msg_error_no_memory,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:801:7: style: Condition '!apply_string(key,data,&config->msg_user_share_size_low,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:801:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:801:7: note: Condition '!apply_string(key,data,&config->msg_user_share_size_low,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:811:7: style: Condition '!apply_string(key,data,&config->msg_user_share_size_high,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:811:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:811:7: note: Condition '!apply_string(key,data,&config->msg_user_share_size_high,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:821:7: style: Condition '!apply_string(key,data,&config->msg_user_slots_low,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:821:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:821:7: note: Condition '!apply_string(key,data,&config->msg_user_slots_low,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:831:7: style: Condition '!apply_string(key,data,&config->msg_user_slots_high,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:831:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:831:7: note: Condition '!apply_string(key,data,&config->msg_user_slots_high,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:841:7: style: Condition '!apply_string(key,data,&config->msg_user_hub_limit_low,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:841:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:841:7: note: Condition '!apply_string(key,data,&config->msg_user_hub_limit_low,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:851:7: style: Condition '!apply_string(key,data,&config->msg_user_hub_limit_high,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:851:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:851:7: note: Condition '!apply_string(key,data,&config->msg_user_hub_limit_high,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:861:7: style: Condition '!apply_string(key,data,&config->msg_user_flood_chat,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:861:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:861:7: note: Condition '!apply_string(key,data,&config->msg_user_flood_chat,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:871:7: style: Condition '!apply_string(key,data,&config->msg_user_flood_connect,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:871:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:871:7: note: Condition '!apply_string(key,data,&config->msg_user_flood_connect,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:881:7: style: Condition '!apply_string(key,data,&config->msg_user_flood_search,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:881:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:881:7: note: Condition '!apply_string(key,data,&config->msg_user_flood_search,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:891:7: style: Condition '!apply_string(key,data,&config->msg_user_flood_update,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:891:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:891:7: note: Condition '!apply_string(key,data,&config->msg_user_flood_update,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:901:7: style: Condition '!apply_string(key,data,&config->msg_user_flood_extras,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:901:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:901:7: note: Condition '!apply_string(key,data,&config->msg_user_flood_extras,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:911:7: style: Condition '!apply_string(key,data,&config->msg_proto_no_common_hash,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:911:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:911:7: note: Condition '!apply_string(key,data,&config->msg_proto_no_common_hash,(char*)"")' is always false uhub-0.4.1/src/core/gen_config.c:921:7: style: Condition '!apply_string(key,data,&config->msg_proto_obsolete_adc0,(char*)"")' is always false [knownConditionTrueFalse] uhub-0.4.1/src/core/gen_config.c:921:20: note: Calling function 'apply_string' returns 1 uhub-0.4.1/src/core/gen_config.c:921:7: note: Condition '!apply_string(key,data,&config->msg_proto_obsolete_adc0,(char*)"")' is always false uhub-0.4.1/src/core/config.c:49:79: style: Parameter 'min' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/core/config.c:49:89: style: Parameter 'max' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/core/gen_config.c:88:69: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] uhub-0.4.1/src/util/tiger.c:49:31: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] diff: DONE