2024-04-24 20:06 ftp://ftp.de.debian.org/debian/pool/main/g/gkrellm/gkrellm_2.3.11.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=motif --library=openssl --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.5.0-28-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.57 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 cppcheck: head 2.14.0 head-info: 94f28a2 (2024-04-24 20:47:54 +0200) count: 1472 1472 elapsed-time: 4.9 4.8 head-timing-info: old-timing-info: head results: gkrellm-2.3.11/server/mail.c:159:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/server/mail.c:200:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/server/mail.c:286:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/server/mail.c:440:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/server/mail.c:578:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/server/plugins.c:204:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MODULE_SUFFIX [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/server/plugins.c:268:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/server/main.c:181:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/server/main.c:253:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/server/main.c:470:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/server/main.c:928:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/server/main.c:1094:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/server/main.c:1207:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/server/plugins.c:87:39: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gkrellm-2.3.11/server/plugins.c:92:26: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gkrellm-2.3.11/server/plugins.c:99:26: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gkrellm-2.3.11/server/plugins.c:131:56: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gkrellm-2.3.11/server/plugins.c:136:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gkrellm-2.3.11/server/plugins.c:240:64: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gkrellm-2.3.11/server/plugins.c:247:51: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gkrellm-2.3.11/server/plugins.c:274:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gkrellm-2.3.11/server/plugins.c:279:27: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gkrellm-2.3.11/server/plugins.c:57:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/plugins.c:154:31: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/server/plugins.c:154:46: style: Parameter 'suffix' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/server/plugins.c:170:9: style: Variable 'check' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/plugins.c:170:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/mail.c:171:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gkrellm-2.3.11/server/mail.c:172:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gkrellm-2.3.11/server/mail.c:513:3: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] gkrellm-2.3.11/server/mail.c:124:25: style: Redundant condition: The condition '*fieldstart != 0' is redundant since '*fieldstart == ' '' is sufficient. [redundantCondition] gkrellm-2.3.11/server/mail.c:216:42: style: Condition 'unseen_is_new' is always true [knownConditionTrueFalse] gkrellm-2.3.11/server/mail.c:301:11: style: Condition 'unseen_is_new' is always true [knownConditionTrueFalse] gkrellm-2.3.11/server/mail.c:362:28: style: Condition '!unseen_is_new' is always false [knownConditionTrueFalse] gkrellm-2.3.11/server/mail.c:381:3: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] gkrellm-2.3.11/server/mail.c:409:3: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] gkrellm-2.3.11/server/mail.c:172:15: style: Variable 'tok' is reassigned a value before the old one has been used. [redundantAssignment] gkrellm-2.3.11/server/mail.c:171:7: note: tok is assigned gkrellm-2.3.11/server/mail.c:172:15: note: tok is overwritten gkrellm-2.3.11/server/mail.c:77:36: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/server/mail.c:156:16: style: Variable 'tok' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/mail.c:237:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/mail.c:280:20: style: Variable 's' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/mail.c:281:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/mail.c:339:18: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/server/mail.c:354:22: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/server/mail.c:395:26: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/server/monitor.c:585:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/server/monitor.c:661:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/server/monitor.c:743:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_MAXHOST [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/server/monitor.c:905:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/server/monitor.c:918:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/server/monitor.c:1265:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/server/monitor.c:1548:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/gtop.c:168:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLIBTOP_IF_FLAGS_UP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/gtop.c:187:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLIBTOP_PPP_STATE_ONLINE [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/gtop.c:243:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLIBTOP_SWAP_PAGEIN [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/gtop.c:359:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mountdir [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/gtop.c:394:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLIBTOP_UPTIME_UPTIME [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/server/utils.c:140:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/win32-libgkrellmd.c:61:36: style:inconclusive: Function 'gkrellmd_dup_token' argument 1 names different: declaration 'string' definition 'str'. [funcArgNamesDifferent] gkrellm-2.3.11/server/gkrellmd.h:230:36: note: Function 'gkrellmd_dup_token' argument 1 names different: declaration 'string' definition 'str'. gkrellm-2.3.11/server/win32-libgkrellmd.c:61:36: note: Function 'gkrellmd_dup_token' argument 1 names different: declaration 'string' definition 'str'. gkrellm-2.3.11/server/win32-libgkrellmd.c:61:48: style:inconclusive: Function 'gkrellmd_dup_token' argument 2 names different: declaration 'delimeters' definition 'delim'. [funcArgNamesDifferent] gkrellm-2.3.11/server/gkrellmd.h:230:51: note: Function 'gkrellmd_dup_token' argument 2 names different: declaration 'delimeters' definition 'delim'. gkrellm-2.3.11/server/win32-libgkrellmd.c:61:48: note: Function 'gkrellmd_dup_token' argument 2 names different: declaration 'delimeters' definition 'delim'. gkrellm-2.3.11/server/win32-libgkrellmd.c:70:35: style:inconclusive: Function 'gkrellm_dup_token' argument 1 names different: declaration 'string' definition 'str'. [funcArgNamesDifferent] gkrellm-2.3.11/server/gkrellmd.h:235:35: note: Function 'gkrellm_dup_token' argument 1 names different: declaration 'string' definition 'str'. gkrellm-2.3.11/server/win32-libgkrellmd.c:70:35: note: Function 'gkrellm_dup_token' argument 1 names different: declaration 'string' definition 'str'. gkrellm-2.3.11/server/win32-libgkrellmd.c:70:47: style:inconclusive: Function 'gkrellm_dup_token' argument 2 names different: declaration 'delimeters' definition 'delim'. [funcArgNamesDifferent] gkrellm-2.3.11/server/gkrellmd.h:235:50: note: Function 'gkrellm_dup_token' argument 2 names different: declaration 'delimeters' definition 'delim'. gkrellm-2.3.11/server/win32-libgkrellmd.c:70:47: note: Function 'gkrellm_dup_token' argument 2 names different: declaration 'delimeters' definition 'delim'. gkrellm-2.3.11/src/sysdeps/gtop.c:330:3: error: Width 64 given in format string (no. 1) is larger than destination buffer 'dev[64]', use %63s to prevent overflowing it. [invalidScanfFormatWidth] gkrellm-2.3.11/src/sysdeps/gtop.c:330:3: error: Width 128 given in format string (no. 2) is larger than destination buffer 'dir[128]', use %127s to prevent overflowing it. [invalidScanfFormatWidth] gkrellm-2.3.11/src/sysdeps/gtop.c:330:3: error: Width 64 given in format string (no. 3) is larger than destination buffer 'type[64]', use %63s to prevent overflowing it. [invalidScanfFormatWidth] gkrellm-2.3.11/src/sysdeps/gtop.c:330:3: error: Width 128 given in format string (no. 4) is larger than destination buffer 'opt[128]', use %127s to prevent overflowing it. [invalidScanfFormatWidth] gkrellm-2.3.11/src/sysdeps/gtop.c:113:40: style:inconclusive: Function 'gkrellm_sys_disk_name_from_device' argument 1 names different: declaration 'device_number' definition 'major'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:155:47: note: Function 'gkrellm_sys_disk_name_from_device' argument 1 names different: declaration 'device_number' definition 'major'. gkrellm-2.3.11/src/sysdeps/gtop.c:113:40: note: Function 'gkrellm_sys_disk_name_from_device' argument 1 names different: declaration 'device_number' definition 'major'. gkrellm-2.3.11/src/sysdeps/gtop.c:113:52: style:inconclusive: Function 'gkrellm_sys_disk_name_from_device' argument 2 names different: declaration 'unit_number' definition 'minor'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:156:10: note: Function 'gkrellm_sys_disk_name_from_device' argument 2 names different: declaration 'unit_number' definition 'minor'. gkrellm-2.3.11/src/sysdeps/gtop.c:113:52: note: Function 'gkrellm_sys_disk_name_from_device' argument 2 names different: declaration 'unit_number' definition 'minor'. gkrellm-2.3.11/src/sysdeps/gtop.c:409:44: style:inconclusive: Function 'gkrellm_sys_sensors_get_temperature' argument 1 names different: declaration 'name' definition 'device_name'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:299:53: note: Function 'gkrellm_sys_sensors_get_temperature' argument 1 names different: declaration 'name' definition 'device_name'. gkrellm-2.3.11/src/sysdeps/gtop.c:409:44: note: Function 'gkrellm_sys_sensors_get_temperature' argument 1 names different: declaration 'name' definition 'device_name'. gkrellm-2.3.11/src/sysdeps/gtop.c:410:20: style:inconclusive: Function 'gkrellm_sys_sensors_get_temperature' argument 4 names different: declaration 'inter' definition 'interface'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:300:21: note: Function 'gkrellm_sys_sensors_get_temperature' argument 4 names different: declaration 'inter' definition 'interface'. gkrellm-2.3.11/src/sysdeps/gtop.c:410:20: note: Function 'gkrellm_sys_sensors_get_temperature' argument 4 names different: declaration 'inter' definition 'interface'. gkrellm-2.3.11/src/sysdeps/gtop.c:410:39: style:inconclusive: Function 'gkrellm_sys_sensors_get_temperature' argument 5 names different: declaration 't' definition 'temp'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:300:36: note: Function 'gkrellm_sys_sensors_get_temperature' argument 5 names different: declaration 't' definition 'temp'. gkrellm-2.3.11/src/sysdeps/gtop.c:410:39: note: Function 'gkrellm_sys_sensors_get_temperature' argument 5 names different: declaration 't' definition 'temp'. gkrellm-2.3.11/src/sysdeps/gtop.c:416:36: style:inconclusive: Function 'gkrellm_sys_sensors_get_fan' argument 1 names different: declaration 'name' definition 'device_name'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:301:45: note: Function 'gkrellm_sys_sensors_get_fan' argument 1 names different: declaration 'name' definition 'device_name'. gkrellm-2.3.11/src/sysdeps/gtop.c:416:36: note: Function 'gkrellm_sys_sensors_get_fan' argument 1 names different: declaration 'name' definition 'device_name'. gkrellm-2.3.11/src/sysdeps/gtop.c:417:20: style:inconclusive: Function 'gkrellm_sys_sensors_get_fan' argument 4 names different: declaration 'inter' definition 'interface'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:302:21: note: Function 'gkrellm_sys_sensors_get_fan' argument 4 names different: declaration 'inter' definition 'interface'. gkrellm-2.3.11/src/sysdeps/gtop.c:417:20: note: Function 'gkrellm_sys_sensors_get_fan' argument 4 names different: declaration 'inter' definition 'interface'. gkrellm-2.3.11/src/sysdeps/gtop.c:417:39: style:inconclusive: Function 'gkrellm_sys_sensors_get_fan' argument 5 names different: declaration 'f' definition 'fan'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:302:36: note: Function 'gkrellm_sys_sensors_get_fan' argument 5 names different: declaration 'f' definition 'fan'. gkrellm-2.3.11/src/sysdeps/gtop.c:417:39: note: Function 'gkrellm_sys_sensors_get_fan' argument 5 names different: declaration 'f' definition 'fan'. gkrellm-2.3.11/src/sysdeps/gtop.c:423:40: style:inconclusive: Function 'gkrellm_sys_sensors_get_voltage' argument 1 names different: declaration 'name' definition 'device_name'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:303:49: note: Function 'gkrellm_sys_sensors_get_voltage' argument 1 names different: declaration 'name' definition 'device_name'. gkrellm-2.3.11/src/sysdeps/gtop.c:423:40: note: Function 'gkrellm_sys_sensors_get_voltage' argument 1 names different: declaration 'name' definition 'device_name'. gkrellm-2.3.11/src/sysdeps/gtop.c:424:20: style:inconclusive: Function 'gkrellm_sys_sensors_get_voltage' argument 4 names different: declaration 'inter' definition 'interface'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:304:21: note: Function 'gkrellm_sys_sensors_get_voltage' argument 4 names different: declaration 'inter' definition 'interface'. gkrellm-2.3.11/src/sysdeps/gtop.c:424:20: note: Function 'gkrellm_sys_sensors_get_voltage' argument 4 names different: declaration 'inter' definition 'interface'. gkrellm-2.3.11/src/sysdeps/gtop.c:424:39: style:inconclusive: Function 'gkrellm_sys_sensors_get_voltage' argument 5 names different: declaration 'v' definition 'volt'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:304:36: note: Function 'gkrellm_sys_sensors_get_voltage' argument 5 names different: declaration 'v' definition 'volt'. gkrellm-2.3.11/src/sysdeps/gtop.c:424:39: note: Function 'gkrellm_sys_sensors_get_voltage' argument 5 names different: declaration 'v' definition 'volt'. gkrellm-2.3.11/server/sysdeps-unix.c:127:39: style: Parameter 'id_name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/gtop.c:113:64: style: Parameter 'order' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/gtop.c:409:44: style: Parameter 'device_name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/gtop.c:410:39: style: Parameter 'temp' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/gtop.c:416:36: style: Parameter 'device_name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/gtop.c:417:39: style: Parameter 'fan' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/gtop.c:423:40: style: Parameter 'device_name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/gtop.c:424:39: style: Parameter 'volt' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/server/win32-plugin.c:72:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gkrellm_debugv [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/shared/log.c:141:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_WARNING [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/shared/log.c:201:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_FLAG_FATAL [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/alerts.c:780:41: debug: Function::addArguments found argument 'config_apply_func' with varid 0. [varid0] gkrellm-2.3.11/src/alerts.c:788:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_apply_func [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/alerts.c:1161:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/alerts.c:1630:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/server/main.c:469:12: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] gkrellm-2.3.11/server/main.c:662:14: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] gkrellm-2.3.11/server/main.c:671:14: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] gkrellm-2.3.11/server/main.c:490:25: style: Condition 'cidr_match(sa,salen,allowed)' is always false [knownConditionTrueFalse] gkrellm-2.3.11/server/main.c:490:25: note: Calling function 'cidr_match' returns 0 gkrellm-2.3.11/server/main.c:490:25: note: Condition 'cidr_match(sa,salen,allowed)' is always false gkrellm-2.3.11/server/main.c:242:56: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/server/main.c:339:29: style: Parameter 'sa' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/server/main.c:339:56: style: Parameter 'allowed' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/server/main.c:591:21: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/server/main.c:660:18: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/main.c:669:17: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/main.c:46:7: style: struct member 'addrinfo::ai_flags' is never used. [unusedStructMember] gkrellm-2.3.11/server/main.c:51:8: style: struct member 'addrinfo::ai_canonname' is never used. [unusedStructMember] gkrellm-2.3.11/server/monitor.c:2172:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] gkrellm-2.3.11/server/monitor.c:999:6: style: Condition 'name' is always true [knownConditionTrueFalse] gkrellm-2.3.11/server/monitor.c:1008:6: style: Condition 'name' is always true [knownConditionTrueFalse] gkrellm-2.3.11/server/monitor.c:2093:27: warning: Either the condition '!mon' is redundant or there is possible null pointer dereference: mon. [nullPointerRedundantCheck] gkrellm-2.3.11/server/monitor.c:2096:6: note: Assuming that condition '!mon' is not redundant gkrellm-2.3.11/server/monitor.c:2093:27: note: Null pointer dereference gkrellm-2.3.11/server/monitor.c:74:60: style:inconclusive: Function 'gkrellmd_set_serve_name' argument 2 names different: declaration 'name' definition 'tag'. [funcArgNamesDifferent] gkrellm-2.3.11/server/gkrellmd.h:211:66: note: Function 'gkrellmd_set_serve_name' argument 2 names different: declaration 'name' definition 'tag'. gkrellm-2.3.11/server/monitor.c:74:60: note: Function 'gkrellmd_set_serve_name' argument 2 names different: declaration 'name' definition 'tag'. gkrellm-2.3.11/server/monitor.c:128:37: style:inconclusive: Function 'gkrellm_cpu_set_number_of_cpus' argument 1 names different: declaration 'n_cpus' definition 'n'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:109:42: note: Function 'gkrellm_cpu_set_number_of_cpus' argument 1 names different: declaration 'n_cpus' definition 'n'. gkrellm-2.3.11/server/monitor.c:128:37: note: Function 'gkrellm_cpu_set_number_of_cpus' argument 1 names different: declaration 'n_cpus' definition 'n'. gkrellm-2.3.11/server/monitor.c:148:31: style:inconclusive: Function 'gkrellm_cpu_add_instance' argument 1 names different: declaration 'inst' definition 'instance'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:110:36: note: Function 'gkrellm_cpu_add_instance' argument 1 names different: declaration 'inst' definition 'instance'. gkrellm-2.3.11/server/monitor.c:148:31: note: Function 'gkrellm_cpu_add_instance' argument 1 names different: declaration 'inst' definition 'instance'. gkrellm-2.3.11/server/monitor.c:451:12: style:inconclusive: Function 'gkrellm_disk_assign_data_by_device' argument 3 names different: declaration 'r' definition 'rb'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:163:31: note: Function 'gkrellm_disk_assign_data_by_device' argument 3 names different: declaration 'r' definition 'rb'. gkrellm-2.3.11/server/monitor.c:451:12: note: Function 'gkrellm_disk_assign_data_by_device' argument 3 names different: declaration 'r' definition 'rb'. gkrellm-2.3.11/server/monitor.c:451:24: style:inconclusive: Function 'gkrellm_disk_assign_data_by_device' argument 4 names different: declaration 'w' definition 'wb'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:163:42: note: Function 'gkrellm_disk_assign_data_by_device' argument 4 names different: declaration 'w' definition 'wb'. gkrellm-2.3.11/server/monitor.c:451:24: note: Function 'gkrellm_disk_assign_data_by_device' argument 4 names different: declaration 'w' definition 'wb'. gkrellm-2.3.11/server/monitor.c:478:46: style:inconclusive: Function 'gkrellm_disk_assign_data_nth' argument 2 names different: declaration 'r' definition 'rb'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:164:51: note: Function 'gkrellm_disk_assign_data_nth' argument 2 names different: declaration 'r' definition 'rb'. gkrellm-2.3.11/server/monitor.c:478:46: note: Function 'gkrellm_disk_assign_data_nth' argument 2 names different: declaration 'r' definition 'rb'. gkrellm-2.3.11/server/monitor.c:478:58: style:inconclusive: Function 'gkrellm_disk_assign_data_nth' argument 3 names different: declaration 'w' definition 'wb'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:164:62: note: Function 'gkrellm_disk_assign_data_nth' argument 3 names different: declaration 'w' definition 'wb'. gkrellm-2.3.11/server/monitor.c:478:58: note: Function 'gkrellm_disk_assign_data_nth' argument 3 names different: declaration 'w' definition 'wb'. gkrellm-2.3.11/server/monitor.c:495:12: style:inconclusive: Function 'gkrellm_disk_assign_data_by_name' argument 2 names different: declaration 'r' definition 'rb'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:167:13: note: Function 'gkrellm_disk_assign_data_by_name' argument 2 names different: declaration 'r' definition 'rb'. gkrellm-2.3.11/server/monitor.c:495:12: note: Function 'gkrellm_disk_assign_data_by_name' argument 2 names different: declaration 'r' definition 'rb'. gkrellm-2.3.11/server/monitor.c:495:24: style:inconclusive: Function 'gkrellm_disk_assign_data_by_name' argument 3 names different: declaration 'w' definition 'wb'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:167:24: note: Function 'gkrellm_disk_assign_data_by_name' argument 3 names different: declaration 'w' definition 'wb'. gkrellm-2.3.11/server/monitor.c:495:24: note: Function 'gkrellm_disk_assign_data_by_name' argument 3 names different: declaration 'w' definition 'wb'. gkrellm-2.3.11/server/monitor.c:518:13: style:inconclusive: Function 'gkrellm_disk_subdisk_assign_data_by_name' argument 3 names different: declaration 'r' definition 'rb'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:169:31: note: Function 'gkrellm_disk_subdisk_assign_data_by_name' argument 3 names different: declaration 'r' definition 'rb'. gkrellm-2.3.11/server/monitor.c:518:13: note: Function 'gkrellm_disk_subdisk_assign_data_by_name' argument 3 names different: declaration 'r' definition 'rb'. gkrellm-2.3.11/server/monitor.c:518:25: style:inconclusive: Function 'gkrellm_disk_subdisk_assign_data_by_name' argument 4 names different: declaration 'w' definition 'wb'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:169:42: note: Function 'gkrellm_disk_subdisk_assign_data_by_name' argument 4 names different: declaration 'w' definition 'wb'. gkrellm-2.3.11/server/monitor.c:518:25: note: Function 'gkrellm_disk_subdisk_assign_data_by_name' argument 4 names different: declaration 'w' definition 'wb'. gkrellm-2.3.11/server/monitor.c:648:41: style:inconclusive: Function 'gkrellm_inet_log_tcp_port_data' argument 1 names different: declaration 'tcp' definition 'data'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:186:46: note: Function 'gkrellm_inet_log_tcp_port_data' argument 1 names different: declaration 'tcp' definition 'data'. gkrellm-2.3.11/server/monitor.c:648:41: note: Function 'gkrellm_inet_log_tcp_port_data' argument 1 names different: declaration 'tcp' definition 'data'. gkrellm-2.3.11/server/monitor.c:1382:74: style:inconclusive: Function 'gkrellm_fs_add_to_fstab_list' argument 4 names different: declaration 'options' definition 'opt'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:262:12: note: Function 'gkrellm_fs_add_to_fstab_list' argument 4 names different: declaration 'options' definition 'opt'. gkrellm-2.3.11/server/monitor.c:1382:74: note: Function 'gkrellm_fs_add_to_fstab_list' argument 4 names different: declaration 'options' definition 'opt'. gkrellm-2.3.11/server/monitor.c:1394:41: style:inconclusive: Function 'gkrellm_fs_assign_fsusage_data' argument 1 names different: declaration 'fs' definition 'pointer'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:259:46: note: Function 'gkrellm_fs_assign_fsusage_data' argument 1 names different: declaration 'fs' definition 'pointer'. gkrellm-2.3.11/server/monitor.c:1394:41: note: Function 'gkrellm_fs_assign_fsusage_data' argument 1 names different: declaration 'fs' definition 'pointer'. gkrellm-2.3.11/server/monitor.c:1395:25: style:inconclusive: Function 'gkrellm_fs_assign_fsusage_data' argument 3 names different: declaration 'avail' definition 'bavail'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:260:27: note: Function 'gkrellm_fs_assign_fsusage_data' argument 3 names different: declaration 'avail' definition 'bavail'. gkrellm-2.3.11/server/monitor.c:1395:25: note: Function 'gkrellm_fs_assign_fsusage_data' argument 3 names different: declaration 'avail' definition 'bavail'. gkrellm-2.3.11/server/monitor.c:1395:40: style:inconclusive: Function 'gkrellm_fs_assign_fsusage_data' argument 4 names different: declaration 'free' definition 'bfree'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:260:41: note: Function 'gkrellm_fs_assign_fsusage_data' argument 4 names different: declaration 'free' definition 'bfree'. gkrellm-2.3.11/server/monitor.c:1395:40: note: Function 'gkrellm_fs_assign_fsusage_data' argument 4 names different: declaration 'free' definition 'bfree'. gkrellm-2.3.11/server/monitor.c:1678:47: style:inconclusive: Function 'gkrellm_battery_assign_data' argument 2 names different: declaration 'available' definition 'present'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:279:52: note: Function 'gkrellm_battery_assign_data' argument 2 names different: declaration 'available' definition 'present'. gkrellm-2.3.11/server/monitor.c:1678:47: note: Function 'gkrellm_battery_assign_data' argument 2 names different: declaration 'available' definition 'present'. gkrellm-2.3.11/server/monitor.c:1871:65: style:inconclusive: Function 'gkrellm_sensors_config_migrate_connect' argument 2 names different: declaration 'sysdep_private' definition 'sysdep_version'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:335:45: note: Function 'gkrellm_sensors_config_migrate_connect' argument 2 names different: declaration 'sysdep_private' definition 'sysdep_version'. gkrellm-2.3.11/server/monitor.c:1871:65: note: Function 'gkrellm_sensors_config_migrate_connect' argument 2 names different: declaration 'sysdep_private' definition 'sysdep_version'. gkrellm-2.3.11/server/monitor.c:2024:39: style:inconclusive: Function 'gkrellm_uptime_set_base_uptime' argument 1 names different: declaration 'base_uptime' definition 'base'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:291:44: note: Function 'gkrellm_uptime_set_base_uptime' argument 1 names different: declaration 'base_uptime' definition 'base'. gkrellm-2.3.11/server/monitor.c:2024:39: note: Function 'gkrellm_uptime_set_base_uptime' argument 1 names different: declaration 'base_uptime' definition 'base'. gkrellm-2.3.11/server/monitor.c:2318:27: style:inconclusive: Function 'gkrellmd_client_read' argument 1 names different: declaration 'client_fd' definition 'fd'. [funcArgNamesDifferent] gkrellm-2.3.11/server/gkrellmd-private.h:165:34: note: Function 'gkrellmd_client_read' argument 1 names different: declaration 'client_fd' definition 'fd'. gkrellm-2.3.11/server/monitor.c:2318:27: note: Function 'gkrellmd_client_read' argument 1 names different: declaration 'client_fd' definition 'fd'. gkrellm-2.3.11/server/monitor.c:54:18: style: Variable 'client' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/monitor.c:131:9: style: Variable 'list' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/monitor.c:198:11: style: Variable 'cpu' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/monitor.c:381:12: style: Variable 'disk' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/monitor.c:455:10: style: Variable 'name' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/monitor.c:494:41: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/server/monitor.c:554:12: style: Variable 'disk' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/monitor.c:572:12: style: Variable 'disk' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/monitor.c:653:10: style: Variable 'ap' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/monitor.c:653:15: style: Variable 'aap' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/monitor.c:741:13: style: Variable 'tcp' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/monitor.c:743:33: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/monitor.c:995:39: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/server/monitor.c:1004:40: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/server/monitor.c:1013:39: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/server/monitor.c:1337:31: style: Parameter 'eject_tray' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/server/monitor.c:1337:50: style: Parameter 'close_tray' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/server/monitor.c:1338:11: style: Parameter 'eject_func' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/server/monitor.c:1338:33: style: Parameter 'close_func' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/server/monitor.c:1536:9: style: Variable 'm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/monitor.c:1744:12: style: Variable 'bat' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/monitor.c:1871:51: style: Parameter 'func' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/server/monitor.c:1890:38: style: Parameter 'keyword' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/server/monitor.c:1890:54: style: Parameter 'label' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/server/monitor.c:1890:68: style: Parameter 'func' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/server/monitor.c:1950:12: style: Variable 'sr' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/monitor.c:1977:12: style: Variable 's' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/monitor.c:2077:13: style: Variable 't' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/monitor.c:2091:58: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/server/monitor.c:2091:71: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/server/monitor.c:2253:16: style: Variable 'lc' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/monitor.c:2254:24: style: Variable 'name' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/monitor.c:2324:27: style: Variable 'e' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/server/monitor.c:499:14: style: Variable 'order' is assigned a value that is never used. [unreadVariable] gkrellm-2.3.11/server/monitor.c:1523:10: style: Variable 'gth' is allocated memory that is never used. [unusedAllocatedMemory] gkrellm-2.3.11/server/monitor.c:1865:8: style: Variable 'gth' is allocated memory that is never used. [unusedAllocatedMemory] gkrellm-2.3.11/src/battery.c:1094:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/client.c:164:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/client.c:439:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/client.c:598:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/client.c:715:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/client.c:723:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/client.c:823:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/client.c:1424:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONS_CLOSE [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/client.c:1589:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/client.c:1676:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/client.c:1901:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/client.c:1960:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INPUT_READ [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/alerts.c:1170:15: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/alerts.c:1190:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/alerts.c:1339:11: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/alerts.c:1467:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/alerts.c:1510:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/alerts.c:80:43: style: Parameter 'alert' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/alerts.c:629:42: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/alerts.c:818:55: style: Parameter 'gap' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/alerts.c:838:51: style: Parameter 'gap' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/alerts.c:1386:11: style: Parameter 'mon_keyword' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/alerts.c:1452:52: style: Parameter 'config_line' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/chart.c:1867:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_EXPOSURE_MASK [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/chart.c:2369:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/chart.c:2380:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/chart.c:2395:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/chart.c:2403:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/chart.c:2412:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/chart.c:2562:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/clock.c:590:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/clock.c:726:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/clock.c:745:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/clock.c:544:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/clock.c:506:2: error: Memory leak: chime [memleak] gkrellm-2.3.11/src/clock.c:841:24: style: Redundant assignment of 'monitor_clock.name' to itself. [selfAssignment] gkrellm-2.3.11/src/clock.c:880:22: style: Redundant assignment of 'monitor_cal.name' to itself. [selfAssignment] gkrellm-2.3.11/src/clock.c:141:26: style: Parameter 'color' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/clock.c:154:67: style: Parameter 'alt_color' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/clock.c:198:13: style: Variable 't' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/clock.c:236:51: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'cb_panel_press' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/clock.c:390:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/clock.c:236:51: note: Parameter 'ev' can be declared as pointer to const gkrellm-2.3.11/src/clock.c:539:30: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'load_clock_cal_config' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/clock.c:824:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/clock.c:539:30: note: Parameter 'arg' can be declared as pointer to const gkrellm-2.3.11/src/clock.c:588:25: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'cb_clock_cal' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/clock.c:784:4: note: You might need to cast the function pointer here gkrellm-2.3.11/src/clock.c:588:25: note: Parameter 'widget' can be declared as pointer to const gkrellm-2.3.11/src/clock.c:588:42: style: Parameter 'data' can be declared as pointer to const. However it seems that 'cb_clock_cal' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/clock.c:784:4: note: You might need to cast the function pointer here gkrellm-2.3.11/src/clock.c:588:42: note: Parameter 'data' can be declared as pointer to const gkrellm-2.3.11/src/clock.c:498:11: style: Variable 'gth' is allocated memory that is never used. [unusedAllocatedMemory] gkrellm-2.3.11/src/client.c:1751:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gkrellm-2.3.11/src/client.c:1775:11: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gkrellm-2.3.11/src/client.c:1893:9: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] gkrellm-2.3.11/src/client.c:594:7: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] gkrellm-2.3.11/src/client.c:594:7: warning: %x in format string (no. 3) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] gkrellm-2.3.11/src/client.c:314:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/client.c:506:2: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/client.c:157:36: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:183:8: style: Variable 'cpu' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/client.c:197:9: style: Variable 'list' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/client.c:229:25: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:300:37: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:385:24: style: Parameter 'name' can be declared as pointer to const. However it seems that 'order_from_name' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/client.c:393:51: note: You might need to cast the function pointer here gkrellm-2.3.11/src/client.c:385:24: note: Parameter 'name' can be declared as pointer to const gkrellm-2.3.11/src/client.c:403:26: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:432:36: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:464:43: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:500:42: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:551:25: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:581:10: style: Variable 'ap' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/client.c:581:15: style: Variable 'aap' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/client.c:690:26: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:713:36: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:721:37: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:768:38: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:800:39: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:834:35: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:858:33: style: Parameter 'dir' can be declared as pointer to const. However it seems that 'get_fsusage' is a callback function, if 'dir' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/client.c:912:27: note: You might need to cast the function pointer here gkrellm-2.3.11/src/client.c:858:33: note: Parameter 'dir' can be declared as pointer to const gkrellm-2.3.11/src/client.c:861:9: style: Variable 'm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/client.c:919:24: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:945:37: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:987:26: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:1043:40: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:1069:11: style: Variable 'bat' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/client.c:1088:29: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:1146:24: style: Parameter 'path' can be declared as pointer to const. However it seems that 'get_temperature' is a callback function, if 'path' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/client.c:1215:32: note: You might need to cast the function pointer here gkrellm-2.3.11/src/client.c:1146:24: note: Parameter 'path' can be declared as pointer to const gkrellm-2.3.11/src/client.c:1149:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/client.c:1166:16: style: Parameter 'path' can be declared as pointer to const. However it seems that 'get_fan' is a callback function, if 'path' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/client.c:1215:49: note: You might need to cast the function pointer here gkrellm-2.3.11/src/client.c:1166:16: note: Parameter 'path' can be declared as pointer to const gkrellm-2.3.11/src/client.c:1169:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/client.c:1186:20: style: Parameter 'path' can be declared as pointer to const. However it seems that 'get_voltage' is a callback function, if 'path' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/client.c:1215:58: note: You might need to cast the function pointer here gkrellm-2.3.11/src/client.c:1186:20: note: Parameter 'path' can be declared as pointer to const gkrellm-2.3.11/src/client.c:1189:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/client.c:1263:39: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:1296:37: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:1309:36: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:1365:40: style: Parameter 'key_name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:1389:29: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:1450:36: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:1457:33: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:1465:40: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:1516:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/client.c:1578:30: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:1600:38: style: Parameter 'key_name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/client.c:1859:18: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/client.c:1985:34: style: Parameter 'data' can be declared as pointer to const. However it seems that 'client_mode_connect_thread' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/client.c:2000:44: note: You might need to cast the function pointer here gkrellm-2.3.11/src/client.c:1985:34: note: Parameter 'data' can be declared as pointer to const gkrellm-2.3.11/src/client.c:625:8: error: Uninitialized variables: tcp.state, tcp.new_hit, tcp.is_udp [uninitvar] gkrellm-2.3.11/src/client.c:625:8: error: Uninitialized struct member: tcp.state [uninitStructMember] gkrellm-2.3.11/src/client.c:625:8: error: Uninitialized struct member: tcp.family [uninitStructMember] gkrellm-2.3.11/src/client.c:625:8: error: Uninitialized struct member: tcp.local_port [uninitStructMember] gkrellm-2.3.11/src/client.c:625:8: error: Uninitialized struct member: tcp.remote_addr [uninitStructMember] gkrellm-2.3.11/src/client.c:625:8: error: Uninitialized struct member: tcp.remote_port [uninitStructMember] gkrellm-2.3.11/src/client.c:625:8: error: Uninitialized struct member: tcp.new_hit [uninitStructMember] gkrellm-2.3.11/src/client.c:625:8: error: Uninitialized struct member: tcp.is_udp [uninitStructMember] gkrellm-2.3.11/src/client.c:2000:8: style: Variable 'gth' is allocated memory that is never used. [unusedAllocatedMemory] gkrellm-2.3.11/src/battery.c:1186:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/battery.c:1189:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/battery.c:1214:11: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/battery.c:1235:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/battery.c:921:5: warning:inconclusive: Width 32 given in format string (no. 1) is smaller than destination buffer 'name[512]'. [invalidScanfFormatWidth_smaller] gkrellm-2.3.11/src/battery.c:882:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/battery.c:921:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/battery.c:1289:22: style: Redundant assignment of 'monitor_battery.name' to itself. [selfAssignment] gkrellm-2.3.11/src/battery.c:188:34: style:inconclusive: Function 'gkrellm_battery_assign_data' argument 1 names different: declaration 'id' definition 'n'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:279:39: note: Function 'gkrellm_battery_assign_data' argument 1 names different: declaration 'id' definition 'n'. gkrellm-2.3.11/src/battery.c:188:34: note: Function 'gkrellm_battery_assign_data' argument 1 names different: declaration 'id' definition 'n'. gkrellm-2.3.11/src/battery.c:188:46: style:inconclusive: Function 'gkrellm_battery_assign_data' argument 2 names different: declaration 'available' definition 'present'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:279:52: note: Function 'gkrellm_battery_assign_data' argument 2 names different: declaration 'available' definition 'present'. gkrellm-2.3.11/src/battery.c:188:46: note: Function 'gkrellm_battery_assign_data' argument 2 names different: declaration 'available' definition 'present'. gkrellm-2.3.11/src/battery.c:562:51: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'cb_panel_press' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/battery.c:640:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/battery.c:562:51: note: Parameter 'ev' can be declared as pointer to const gkrellm-2.3.11/src/battery.c:564:18: style: Variable 'd' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/battery.c:603:18: style: Variable 'm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/battery.c:670:12: style: Variable 'bat' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/battery.c:709:13: style: Parameter 'bat' can be declared as pointer to const. However it seems that 'cb_command_process' is a callback function, if 'bat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/battery.c:782:6: note: You might need to cast the function pointer here gkrellm-2.3.11/src/battery.c:709:13: note: Parameter 'bat' can be declared as pointer to const gkrellm-2.3.11/src/battery.c:757:17: style: Variable 'd' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/battery.c:796:11: style: Variable 'bat' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/battery.c:835:11: style: Variable 'bat' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/battery.c:875:28: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'load_battery_config' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/battery.c:1268:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/battery.c:875:28: note: Parameter 'arg' can be declared as pointer to const gkrellm-2.3.11/src/battery.c:960:41: style: Parameter 'button' can be declared as pointer to const. However it seems that 'alert_units_percent_cb' is a callback function, if 'button' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/battery.c:1245:6: note: You might need to cast the function pointer here gkrellm-2.3.11/src/battery.c:960:41: note: Parameter 'button' can be declared as pointer to const gkrellm-2.3.11/src/battery.c:983:37: style: Parameter 'button' can be declared as pointer to const. However it seems that 'cb_enable_estimate' is a callback function, if 'button' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/battery.c:1192:4: note: You might need to cast the function pointer here gkrellm-2.3.11/src/battery.c:983:37: note: Parameter 'button' can be declared as pointer to const gkrellm-2.3.11/src/battery.c:1031:28: style: Parameter 'button' can be declared as pointer to const. However it seems that 'cb_enable' is a callback function, if 'button' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/battery.c:1183:5: note: You might need to cast the function pointer here gkrellm-2.3.11/src/battery.c:1031:28: note: Parameter 'button' can be declared as pointer to const gkrellm-2.3.11/src/battery.c:1156:12: style: Variable 'bat' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/cpu.c:70:6: debug: Scope::checkVariable found variable 'sensor_fan' with varid 0. [varid0] gkrellm-2.3.11/src/config.c:1017:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bg_scroll_gkrellmms_xpm [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/config.c:2363:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/cpu.c:159:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/cpu.c:562:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/cpu.c:1131:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/cpu.c:1197:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/cpu.c:1211:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/cpu.c:1254:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/cpu.c:1285:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/cpu.c:1329:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/cpu.c:1561:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extra_info [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/disk.c:690:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/disk.c:715:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable full_scale [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/disk.c:1186:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/disk.c:1225:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/cpu.c:834:16: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/cpu.c:1436:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/cpu.c:1487:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/cpu.c:1047:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/cpu.c:1068:4: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/cpu.c:1079:4: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/cpu.c:1096:4: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/cpu.c:1106:4: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/cpu.c:1116:4: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/cpu.c:1551:19: style: Redundant assignment of 'monitor_cpu.name' to itself. [selfAssignment] gkrellm-2.3.11/src/cpu.c:149:37: style:inconclusive: Function 'gkrellm_cpu_set_number_of_cpus' argument 1 names different: declaration 'n_cpus' definition 'n'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:109:42: note: Function 'gkrellm_cpu_set_number_of_cpus' argument 1 names different: declaration 'n_cpus' definition 'n'. gkrellm-2.3.11/src/cpu.c:149:37: note: Function 'gkrellm_cpu_set_number_of_cpus' argument 1 names different: declaration 'n_cpus' definition 'n'. gkrellm-2.3.11/src/cpu.c:205:31: style:inconclusive: Function 'gkrellm_cpu_add_instance' argument 1 names different: declaration 'inst' definition 'instance'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:110:36: note: Function 'gkrellm_cpu_add_instance' argument 1 names different: declaration 'inst' definition 'instance'. gkrellm-2.3.11/src/cpu.c:205:31: note: Function 'gkrellm_cpu_add_instance' argument 1 names different: declaration 'inst' definition 'instance'. gkrellm-2.3.11/src/cpu.c:152:9: style: Variable 'list' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/cpu.c:272:10: style: Variable 'cpu' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/cpu.c:427:35: style: Parameter 'sr' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/cpu.c:552:25: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'cb_cpu_extra' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/cpu.c:910:4: note: You might need to cast the function pointer here gkrellm-2.3.11/src/cpu.c:552:25: note: Parameter 'widget' can be declared as pointer to const gkrellm-2.3.11/src/cpu.c:552:49: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'cb_cpu_extra' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/cpu.c:910:4: note: You might need to cast the function pointer here gkrellm-2.3.11/src/cpu.c:552:49: note: Parameter 'ev' can be declared as pointer to const gkrellm-2.3.11/src/cpu.c:594:17: style: Variable 'd' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/cpu.c:616:17: style: Variable 'd' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/cpu.c:727:51: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'cb_panel_press' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/cpu.c:912:4: note: You might need to cast the function pointer here gkrellm-2.3.11/src/cpu.c:727:51: note: Parameter 'ev' can be declared as pointer to const gkrellm-2.3.11/src/cpu.c:976:10: style: Variable 'list' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/cpu.c:1039:24: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'load_cpu_config' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/cpu.c:1533:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/cpu.c:1039:24: note: Parameter 'arg' can be declared as pointer to const gkrellm-2.3.11/src/cpu.c:1128:31: style: Parameter 'ap' can be declared as pointer to const. However it seems that 'cb_alert_config' is a callback function, if 'ap' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/cpu.c:986:42: note: You might need to cast the function pointer here gkrellm-2.3.11/src/cpu.c:1128:31: note: Parameter 'ap' can be declared as pointer to const gkrellm-2.3.11/src/cpu.c:1128:44: style: Parameter 'data' can be declared as pointer to const. However it seems that 'cb_alert_config' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/cpu.c:986:42: note: You might need to cast the function pointer here gkrellm-2.3.11/src/cpu.c:1128:44: note: Parameter 'data' can be declared as pointer to const gkrellm-2.3.11/src/cpu.c:1252:42: style: Parameter 'data' can be declared as pointer to const. However it seems that 'cb_omit_nice' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/cpu.c:1388:5: note: You might need to cast the function pointer here gkrellm-2.3.11/src/cpu.c:1252:42: note: Parameter 'data' can be declared as pointer to const gkrellm-2.3.11/src/cpu.c:1327:48: style: Parameter 'data' can be declared as pointer to const. However it seems that 'cb_config_tracking' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/cpu.c:1400:4: note: You might need to cast the function pointer here gkrellm-2.3.11/src/cpu.c:1327:48: note: Parameter 'data' can be declared as pointer to const gkrellm-2.3.11/src/chart.c:1860:13: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/chart.c:1863:25: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/chart.c:1873:28: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/chart.c:2577:14: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/chart.c:2582:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/chart.c:2651:11: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/chart.c:67:30: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/chart.c:82:42: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/chart.c:281:54: style: Parameter 'cd' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/chart.c:386:50: style: Parameter 'cd_list' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/chart.c:588:22: style: Variable 'cf' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/chart.c:975:20: style: Variable 'cd' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/chart.c:1015:18: style: Variable 't' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/chart.c:1384:25: style: Variable 'cd1' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/chart.c:1549:43: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/chart.c:1626:16: style: Variable 'cp_x' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/chart.c:1686:40: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/chart.c:1730:17: style: Variable 'm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/chart.c:1821:17: style: Variable 'm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/chart.c:2101:61: style: Parameter 'cf' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/chart.c:2200:57: style: Parameter 'cf' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/chart.c:2218:52: style: Parameter 'cf' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/chart.c:2282:46: style: Parameter 'cd' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/chart.c:2701:66: style: Parameter 'mon_keyword' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/chart.c:2702:11: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/chart.c:2705:20: style: Variable 'cd' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/chart.c:2727:62: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/chart.c:2777:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/chart.c:2778:20: style: Variable 'cd' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/chart.c:616:12: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] gkrellm-2.3.11/src/chart.c:622:13: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] gkrellm-2.3.11/src/chart.c:624:13: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] gkrellm-2.3.11/src/chart.c:889:10: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] gkrellm-2.3.11/src/chart.c:1497:27: style: Variable 'h' is assigned a value that is never used. [unreadVariable] gkrellm-2.3.11/src/disk.c:845:17: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/disk.c:876:17: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/disk.c:1493:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/disk.c:986:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/disk.c:993:12: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/disk.c:1571:20: style: Redundant assignment of 'monitor_disk.name' to itself. [selfAssignment] gkrellm-2.3.11/src/disk.c:298:12: style:inconclusive: Function 'gkrellm_disk_assign_data_by_device' argument 3 names different: declaration 'r' definition 'rb'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:163:31: note: Function 'gkrellm_disk_assign_data_by_device' argument 3 names different: declaration 'r' definition 'rb'. gkrellm-2.3.11/src/disk.c:298:12: note: Function 'gkrellm_disk_assign_data_by_device' argument 3 names different: declaration 'r' definition 'rb'. gkrellm-2.3.11/src/disk.c:298:24: style:inconclusive: Function 'gkrellm_disk_assign_data_by_device' argument 4 names different: declaration 'w' definition 'wb'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:163:42: note: Function 'gkrellm_disk_assign_data_by_device' argument 4 names different: declaration 'w' definition 'wb'. gkrellm-2.3.11/src/disk.c:298:24: note: Function 'gkrellm_disk_assign_data_by_device' argument 4 names different: declaration 'w' definition 'wb'. gkrellm-2.3.11/src/disk.c:316:46: style:inconclusive: Function 'gkrellm_disk_assign_data_nth' argument 2 names different: declaration 'r' definition 'rb'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:164:51: note: Function 'gkrellm_disk_assign_data_nth' argument 2 names different: declaration 'r' definition 'rb'. gkrellm-2.3.11/src/disk.c:316:46: note: Function 'gkrellm_disk_assign_data_nth' argument 2 names different: declaration 'r' definition 'rb'. gkrellm-2.3.11/src/disk.c:316:58: style:inconclusive: Function 'gkrellm_disk_assign_data_nth' argument 3 names different: declaration 'w' definition 'wb'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:164:62: note: Function 'gkrellm_disk_assign_data_nth' argument 3 names different: declaration 'w' definition 'wb'. gkrellm-2.3.11/src/disk.c:316:58: note: Function 'gkrellm_disk_assign_data_nth' argument 3 names different: declaration 'w' definition 'wb'. gkrellm-2.3.11/src/disk.c:334:55: style:inconclusive: Function 'gkrellm_disk_assign_data_by_name' argument 2 names different: declaration 'r' definition 'rb'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:167:13: note: Function 'gkrellm_disk_assign_data_by_name' argument 2 names different: declaration 'r' definition 'rb'. gkrellm-2.3.11/src/disk.c:334:55: note: Function 'gkrellm_disk_assign_data_by_name' argument 2 names different: declaration 'r' definition 'rb'. gkrellm-2.3.11/src/disk.c:334:67: style:inconclusive: Function 'gkrellm_disk_assign_data_by_name' argument 3 names different: declaration 'w' definition 'wb'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:167:24: note: Function 'gkrellm_disk_assign_data_by_name' argument 3 names different: declaration 'w' definition 'wb'. gkrellm-2.3.11/src/disk.c:334:67: note: Function 'gkrellm_disk_assign_data_by_name' argument 3 names different: declaration 'w' definition 'wb'. gkrellm-2.3.11/src/disk.c:355:14: style:inconclusive: Function 'gkrellm_disk_subdisk_assign_data_by_name' argument 3 names different: declaration 'r' definition 'rb'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:169:31: note: Function 'gkrellm_disk_subdisk_assign_data_by_name' argument 3 names different: declaration 'r' definition 'rb'. gkrellm-2.3.11/src/disk.c:355:14: note: Function 'gkrellm_disk_subdisk_assign_data_by_name' argument 3 names different: declaration 'r' definition 'rb'. gkrellm-2.3.11/src/disk.c:355:26: style:inconclusive: Function 'gkrellm_disk_subdisk_assign_data_by_name' argument 4 names different: declaration 'w' definition 'wb'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:169:42: note: Function 'gkrellm_disk_subdisk_assign_data_by_name' argument 4 names different: declaration 'w' definition 'wb'. gkrellm-2.3.11/src/disk.c:355:26: note: Function 'gkrellm_disk_subdisk_assign_data_by_name' argument 4 names different: declaration 'w' definition 'wb'. gkrellm-2.3.11/src/disk.c:509:54: style:inconclusive: Function 'gkrellm_disk_temperature_display' argument 2 names different: declaration 'disk_name' definition 'id_name'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:571:63: note: Function 'gkrellm_disk_temperature_display' argument 2 names different: declaration 'disk_name' definition 'id_name'. gkrellm-2.3.11/src/disk.c:509:54: note: Function 'gkrellm_disk_temperature_display' argument 2 names different: declaration 'disk_name' definition 'id_name'. gkrellm-2.3.11/src/disk.c:570:40: style:inconclusive: Function 'gkrellm_disk_temperature_remove' argument 1 names different: declaration 'disk_name' definition 'id_name'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:573:46: note: Function 'gkrellm_disk_temperature_remove' argument 1 names different: declaration 'disk_name' definition 'id_name'. gkrellm-2.3.11/src/disk.c:570:40: note: Function 'gkrellm_disk_temperature_remove' argument 1 names different: declaration 'disk_name' definition 'id_name'. gkrellm-2.3.11/src/disk.c:197:11: style: Variable 'disk' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/disk.c:301:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/disk.c:354:70: style: Parameter 'disk_name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/disk.c:490:26: style: Variable 'd' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/disk.c:680:26: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'cb_disk_extra' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/disk.c:814:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/disk.c:680:26: note: Parameter 'widget' can be declared as pointer to const gkrellm-2.3.11/src/disk.c:680:50: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'cb_disk_extra' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/disk.c:814:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/disk.c:680:50: note: Parameter 'ev' can be declared as pointer to const gkrellm-2.3.11/src/disk.c:740:51: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'cb_panel_press' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/disk.c:816:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/disk.c:740:51: note: Parameter 'ev' can be declared as pointer to const gkrellm-2.3.11/src/disk.c:755:18: style: Variable 'm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/disk.c:914:11: style: Variable 'disk' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/disk.c:975:25: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'load_disk_config' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/disk.c:1553:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/disk.c:975:25: note: Parameter 'arg' can be declared as pointer to const gkrellm-2.3.11/src/disk.c:1318:19: style: Variable 'indices' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/fs.c:179:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable get_fsusage [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/fs.c:194:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable get_fsusage [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/fs.c:207:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable close_cdrom_func [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/fs.c:305:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable get_fstab_list [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/fs.c:505:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable close_cdrom_func [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/fs.c:525:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable close_cdrom_func [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/fs.c:689:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable get_fsusage [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/fs.c:803:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable get_fsusage [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/fs.c:976:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SCROLL_UP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/fs.c:1057:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON1_MASK [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/fs.c:1217:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable close_cdrom_func [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/fs.c:1710:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/fs.c:1737:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/fs.c:1767:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/fs.c:1784:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/fs.c:2018:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/fs.c:2186:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/fs.c:2192:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/fs.c:2378:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_CAN_DEFAULT [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/config.c:1049:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gkrellm-2.3.11/src/config.c:631:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gkrellm-2.3.11/src/config.c:632:25: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gkrellm-2.3.11/src/config.c:1694:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gkrellm-2.3.11/src/config.c:1697:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gkrellm-2.3.11/src/config.c:1638:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/gui.c:57:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/gui.c:100:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/gui.c:248:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_WEIGHT_BOLD [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/gui.c:875:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/gui.c:892:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/gui.c:968:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/gui.c:1376:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/gui.c:1648:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/gui.c:2291:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/config.c:150:33: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/config.c:150:46: style: Parameter 'subdir' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/config.c:205:41: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/config.c:220:40: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/config.c:243:41: style: Parameter 'fontname' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/config.c:259:46: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/config.c:285:39: style: Parameter 'style' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/config.c:375:54: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/config.c:400:22: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/config.c:490:21: style: Parameter 'debug_name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/config.c:610:23: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/config.c:622:31: style: Parameter 'source_line' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/config.c:756:69: style: Parameter 'nm_list' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/config.c:1010:41: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/config.c:1010:54: style: Parameter 'subdir' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/config.c:1160:52: style: Parameter 'area' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/config.c:1160:65: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/config.c:1210:53: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/config.c:1212:9: style: Variable 'n_list' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/config.c:1284:43: style: Parameter 'name_list' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/config.c:1543:46: style: Parameter 'image_name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/config.c:1549:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/config.c:1574:46: style: Parameter 'image_name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/config.c:1580:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/config.c:1603:38: style: Parameter 'int_name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/config.c:1607:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/config.c:1625:37: style: Parameter 'string_name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/config.c:1650:46: style: Parameter 'mon_only' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/config.c:1803:38: style: Parameter 'name_list' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/config.c:1868:16: style: Variable 'style' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/config.c:2354:36: style: Parameter 'subdir' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/config.c:2354:51: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/config.c:2379:38: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/config.c:2473:29: style: Variable 'keyword' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/config.c:2476:13: style: Variable 'end' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/config.c:1049:8: style: Variable 'name' is assigned a value that is never used. [unreadVariable] gkrellm-2.3.11/src/hostname.c:542:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/hostname.c:349:2: error: Memory leak: parts [memleak] gkrellm-2.3.11/src/hostname.c:601:2: error: Memory leak: parts [memleak] gkrellm-2.3.11/src/hostname.c:523:43: style:inconclusive: Function 'gkrellm_gkrellmd_disconnect_cb' argument 1 names different: declaration 'b' definition 'button'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-private.h:386:50: note: Function 'gkrellm_gkrellmd_disconnect_cb' argument 1 names different: declaration 'b' definition 'button'. gkrellm-2.3.11/src/hostname.c:523:43: note: Function 'gkrellm_gkrellmd_disconnect_cb' argument 1 names different: declaration 'b' definition 'button'. gkrellm-2.3.11/src/hostname.c:103:30: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/hostname.c:537:25: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'load_host_config' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/hostname.c:565:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/hostname.c:537:25: note: Parameter 'arg' can be declared as pointer to const gkrellm-2.3.11/src/hostname.c:370:11: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gkrellm-2.3.11/src/hostname.c:542:9: style: Variable 'n' is assigned a value that is never used. [unreadVariable] gkrellm-2.3.11/src/krell.c:210:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GdkRectangle [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/krell.c:616:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_ALIGN_CENTER [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/krell.c:1498:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/krell.c:1528:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_RELEASE [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/krell.c:1555:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_LEAVE_NOTIFY [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/krell.c:1584:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_ENTER_NOTIFY [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/inet.c:140:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/inet.c:704:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/inet.c:795:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/inet.c:983:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable full_scale [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/inet.c:1310:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/inet.c:1707:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/inet.c:1926:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONBOX_END [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/gui.c:65:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/gui.c:105:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/gui.c:386:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/gui.c:405:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/gui.c:552:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/gui.c:588:13: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/gui.c:635:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/gui.c:661:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/gui.c:678:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/gui.c:691:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/gui.c:710:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/gui.c:715:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/gui.c:731:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/gui.c:1067:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/gui.c:1069:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/gui.c:1109:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/gui.c:1318:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gkrellm-2.3.11/src/gui.c:1322:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gkrellm-2.3.11/src/gui.c:1861:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/gui.c:1871:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/gui.c:1899:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/gui.c:1915:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/gui.c:1924:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/gui.c:1936:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/gui.c:1951:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/gui.c:1965:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/gui.c:1979:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/gui.c:2099:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/gui.c:2305:16: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/gui.c:2313:14: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/gui.c:1620:8: style: Condition 's' is always true [knownConditionTrueFalse] gkrellm-2.3.11/src/gui.c:1620:29: style: Condition '*s!='\0'' is always true [knownConditionTrueFalse] gkrellm-2.3.11/src/gui.c:1616:20: warning:inconclusive: Either the condition 's' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] gkrellm-2.3.11/src/gui.c:1620:8: note: Assuming that condition 's' is not redundant gkrellm-2.3.11/src/gui.c:1619:8: note: Assignment to 's=buf' gkrellm-2.3.11/src/gui.c:1616:20: note: Null pointer dereference gkrellm-2.3.11/src/gui.c:1500:16: style: Local variable 'model' shadows outer variable [shadowVariable] gkrellm-2.3.11/src/gui.c:2028:22: note: Shadowed declaration gkrellm-2.3.11/src/gui.c:1500:16: note: Shadow variable gkrellm-2.3.11/src/gui.c:1714:16: style: Local variable 'model' shadows outer variable [shadowVariable] gkrellm-2.3.11/src/gui.c:2028:22: note: Shadowed declaration gkrellm-2.3.11/src/gui.c:1714:16: note: Shadow variable gkrellm-2.3.11/src/gui.c:1850:16: style: Local variable 'model' shadows outer variable [shadowVariable] gkrellm-2.3.11/src/gui.c:2028:22: note: Shadowed declaration gkrellm-2.3.11/src/gui.c:1850:16: note: Shadow variable gkrellm-2.3.11/src/gui.c:2212:16: style: Local variable 'model' shadows outer variable [shadowVariable] gkrellm-2.3.11/src/gui.c:2028:22: note: Shadowed declaration gkrellm-2.3.11/src/gui.c:2212:16: note: Shadow variable gkrellm-2.3.11/src/gui.c:377:38: style: Parameter 'desc' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/gui.c:377:61: style: Parameter 'launch' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/gui.c:685:50: style: Parameter 'category_header' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/gui.c:1267:9: style: Variable 'fontname' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/gui.c:1302:25: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/gui.c:1340:27: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/gui.c:1393:9: style: Variable 'theme' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/gui.c:1394:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/gui.c:1407:22: style: Parameter 'th1' can be declared as pointer to const. However it seems that 'theme_compare' is a callback function, if 'th1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/gui.c:1462:56: note: You might need to cast the function pointer here gkrellm-2.3.11/src/gui.c:1407:22: note: Parameter 'th1' can be declared as pointer to const gkrellm-2.3.11/src/gui.c:1407:34: style: Parameter 'th2' can be declared as pointer to const. However it seems that 'theme_compare' is a callback function, if 'th2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/gui.c:1462:56: note: You might need to cast the function pointer here gkrellm-2.3.11/src/gui.c:1407:34: note: Parameter 'th2' can be declared as pointer to const gkrellm-2.3.11/src/gui.c:1801:35: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'cb_font_entry_activate' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/gui.c:1986:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/gui.c:1801:35: note: Parameter 'widget' can be declared as pointer to const gkrellm-2.3.11/src/gui.c:1810:34: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'cb_font_entry_changed' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/gui.c:1984:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/gui.c:1810:34: note: Parameter 'widget' can be declared as pointer to const gkrellm-2.3.11/src/gui.c:1823:31: style: Parameter 'button' can be declared as pointer to const. However it seems that 'cb_track_gtk' is a callback function, if 'button' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/gui.c:1918:4: note: You might need to cast the function pointer here gkrellm-2.3.11/src/gui.c:1823:31: note: Parameter 'button' can be declared as pointer to const gkrellm-2.3.11/src/mail.c:496:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tooltip [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mail.c:626:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mail.c:656:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mail.c:697:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mail.c:1415:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mail.c:1467:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mail.c:1556:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mail.c:1710:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mail.c:1944:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable full_scale [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mail.c:2041:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mail.c:2296:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mail.c:2356:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tm_sec [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mail.c:2427:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable read_gstring [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mail.c:2707:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mail.c:2879:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mail.c:3397:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mail.c:3589:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mail.c:3672:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mail.c:3681:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mail.c:3699:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mail.c:3725:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mail.c:4150:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONBOX_END [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mail.c:4413:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable command [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/fs.c:1281:18: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/fs.c:1285:23: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/fs.c:2278:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/fs.c:2311:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/fs.c:2313:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/fs.c:2336:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/fs.c:2349:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/fs.c:2370:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/fs.c:2373:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/fs.c:1422:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/fs.c:1454:10: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/fs.c:2621:18: style: Redundant assignment of 'monitor_fs.name' to itself. [selfAssignment] gkrellm-2.3.11/src/fs.c:225:74: style:inconclusive: Function 'gkrellm_fs_add_to_fstab_list' argument 4 names different: declaration 'options' definition 'opt'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:262:12: note: Function 'gkrellm_fs_add_to_fstab_list' argument 4 names different: declaration 'options' definition 'opt'. gkrellm-2.3.11/src/fs.c:225:74: note: Function 'gkrellm_fs_add_to_fstab_list' argument 4 names different: declaration 'options' definition 'opt'. gkrellm-2.3.11/src/fs.c:238:41: style:inconclusive: Function 'gkrellm_fs_assign_fsusage_data' argument 1 names different: declaration 'fs' definition 'fspointer'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:259:46: note: Function 'gkrellm_fs_assign_fsusage_data' argument 1 names different: declaration 'fs' definition 'fspointer'. gkrellm-2.3.11/src/fs.c:238:41: note: Function 'gkrellm_fs_assign_fsusage_data' argument 1 names different: declaration 'fs' definition 'fspointer'. gkrellm-2.3.11/src/fs.c:239:26: style:inconclusive: Function 'gkrellm_fs_assign_fsusage_data' argument 3 names different: declaration 'avail' definition 'bavail'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:260:27: note: Function 'gkrellm_fs_assign_fsusage_data' argument 3 names different: declaration 'avail' definition 'bavail'. gkrellm-2.3.11/src/fs.c:239:26: note: Function 'gkrellm_fs_assign_fsusage_data' argument 3 names different: declaration 'avail' definition 'bavail'. gkrellm-2.3.11/src/fs.c:239:41: style:inconclusive: Function 'gkrellm_fs_assign_fsusage_data' argument 4 names different: declaration 'free' definition 'bfree'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:260:41: note: Function 'gkrellm_fs_assign_fsusage_data' argument 4 names different: declaration 'free' definition 'bfree'. gkrellm-2.3.11/src/fs.c:239:41: note: Function 'gkrellm_fs_assign_fsusage_data' argument 4 names different: declaration 'free' definition 'bfree'. gkrellm-2.3.11/src/fs.c:259:22: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/fs.c:311:9: style: Variable 'm_fs' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/fs.c:311:16: style: Variable 'm_mounted' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/fs.c:359:23: style: Parameter 'fs' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/fs.c:599:32: style: Parameter 'command' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/fs.c:965:38: style: Parameter 'button' can be declared as pointer to const. However it seems that 'cb_drawer_button' is a callback function, if 'button' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/fs.c:1204:6: note: You might need to cast the function pointer here gkrellm-2.3.11/src/fs.c:965:38: note: Parameter 'button' can be declared as pointer to const gkrellm-2.3.11/src/fs.c:965:53: style: Parameter 'fs' can be declared as pointer to const. However it seems that 'cb_drawer_button' is a callback function, if 'fs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/fs.c:1204:6: note: You might need to cast the function pointer here gkrellm-2.3.11/src/fs.c:965:53: note: Parameter 'fs' can be declared as pointer to const gkrellm-2.3.11/src/fs.c:974:28: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'cb_panel_scroll' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/fs.c:1229:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/fs.c:974:28: note: Parameter 'widget' can be declared as pointer to const gkrellm-2.3.11/src/fs.c:974:52: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'cb_panel_scroll' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/fs.c:1229:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/fs.c:974:52: note: Parameter 'ev' can be declared as pointer to const gkrellm-2.3.11/src/fs.c:984:53: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'cb_panel_release' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/fs.c:1227:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/fs.c:984:53: note: Parameter 'ev' can be declared as pointer to const gkrellm-2.3.11/src/fs.c:1008:51: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'cb_panel_press' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/fs.c:1225:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/fs.c:1008:51: note: Parameter 'ev' can be declared as pointer to const gkrellm-2.3.11/src/fs.c:1010:16: style: Variable 'd' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/fs.c:1046:52: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'cb_panel_motion' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/fs.c:1231:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/fs.c:1046:52: note: Parameter 'ev' can be declared as pointer to const gkrellm-2.3.11/src/fs.c:1104:40: style: Parameter 'button' can be declared as pointer to const. However it seems that 'cb_fs_eject_button' is a callback function, if 'button' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/fs.c:1215:4: note: You might need to cast the function pointer here gkrellm-2.3.11/src/fs.c:1104:40: note: Parameter 'button' can be declared as pointer to const gkrellm-2.3.11/src/fs.c:1111:38: style: Parameter 'button' can be declared as pointer to const. However it seems that 'cb_fs_close_tray' is a callback function, if 'button' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/fs.c:1219:7: note: You might need to cast the function pointer here gkrellm-2.3.11/src/fs.c:1111:38: note: Parameter 'button' can be declared as pointer to const gkrellm-2.3.11/src/fs.c:1122:18: style: Variable 'm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/fs.c:1396:18: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/fs.c:1660:42: style: Parameter 'fs' can be declared as pointer to const. However it seems that 'cb_alert_config' is a callback function, if 'fs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/fs.c:1980:44: note: You might need to cast the function pointer here gkrellm-2.3.11/src/fs.c:1660:42: note: Parameter 'fs' can be declared as pointer to const gkrellm-2.3.11/src/fs.c:1850:10: style: Variable 'indices' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/fs.c:2002:21: style: Variable 'indices' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/fs.c:2184:43: style: Parameter 'data' can be declared as pointer to const. However it seems that 'cb_auto_eject' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/fs.c:2551:5: note: You might need to cast the function pointer here gkrellm-2.3.11/src/fs.c:2184:43: note: Parameter 'data' can be declared as pointer to const gkrellm-2.3.11/src/fs.c:2190:45: style: Parameter 'data' can be declared as pointer to const. However it seems that 'cb_binary_units' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/fs.c:2545:4: note: You might need to cast the function pointer here gkrellm-2.3.11/src/fs.c:2190:45: note: Parameter 'data' can be declared as pointer to const gkrellm-2.3.11/src/fs.c:532:10: style: Variable 'gth' is allocated memory that is never used. [unusedAllocatedMemory] gkrellm-2.3.11/src/fs.c:569:10: style: Variable 'gth' is allocated memory that is never used. [unusedAllocatedMemory] gkrellm-2.3.11/src/fs.c:735:4: style: Variable 'w' is assigned a value that is never used. [unreadVariable] gkrellm-2.3.11/src/fs.c:807:12: style: Variable 'gth' is allocated memory that is never used. [unusedAllocatedMemory] gkrellm-2.3.11/src/fs.c:1422:9: style: Variable 'n' is assigned a value that is never used. [unreadVariable] gkrellm-2.3.11/src/krell.c:1114:37: warning: Either the condition '!d' is redundant or there is possible null pointer dereference: d. [nullPointerRedundantCheck] gkrellm-2.3.11/src/krell.c:1115:6: note: Assuming that condition '!d' is not redundant gkrellm-2.3.11/src/krell.c:1114:37: note: Null pointer dereference gkrellm-2.3.11/src/krell.c:503:9: style:inconclusive: Function 'gkrellm_decal_text_nth_inserted_set_offset' argument 3 names different: declaration 'x_off' definition 'x'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:223:20: note: Function 'gkrellm_decal_text_nth_inserted_set_offset' argument 3 names different: declaration 'x_off' definition 'x'. gkrellm-2.3.11/src/krell.c:503:9: note: Function 'gkrellm_decal_text_nth_inserted_set_offset' argument 3 names different: declaration 'x_off' definition 'x'. gkrellm-2.3.11/src/krell.c:503:17: style:inconclusive: Function 'gkrellm_decal_text_nth_inserted_set_offset' argument 4 names different: declaration 'y_off' definition 'y'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:223:32: note: Function 'gkrellm_decal_text_nth_inserted_set_offset' argument 4 names different: declaration 'y_off' definition 'y'. gkrellm-2.3.11/src/krell.c:503:17: note: Function 'gkrellm_decal_text_nth_inserted_set_offset' argument 4 names different: declaration 'y_off' definition 'y'. gkrellm-2.3.11/src/krell.c:523:10: style:inconclusive: Function 'gkrellm_decal_text_nth_inserted_get_offset' argument 3 names different: declaration 'x_off' definition 'x'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:225:21: note: Function 'gkrellm_decal_text_nth_inserted_get_offset' argument 3 names different: declaration 'x_off' definition 'x'. gkrellm-2.3.11/src/krell.c:523:10: note: Function 'gkrellm_decal_text_nth_inserted_get_offset' argument 3 names different: declaration 'x_off' definition 'x'. gkrellm-2.3.11/src/krell.c:523:19: style:inconclusive: Function 'gkrellm_decal_text_nth_inserted_get_offset' argument 4 names different: declaration 'y_off' definition 'y'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:225:34: note: Function 'gkrellm_decal_text_nth_inserted_get_offset' argument 4 names different: declaration 'y_off' definition 'y'. gkrellm-2.3.11/src/krell.c:523:19: note: Function 'gkrellm_decal_text_nth_inserted_get_offset' argument 4 names different: declaration 'y_off' definition 'y'. gkrellm-2.3.11/src/krell.c:1398:42: style:inconclusive: Function 'gkrellm_create_decal_text_with_height' argument 8 names different: declaration 'y_pad' definition 'y_ink'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:204:44: note: Function 'gkrellm_create_decal_text_with_height' argument 8 names different: declaration 'y_pad' definition 'y_ink'. gkrellm-2.3.11/src/krell.c:1398:42: note: Function 'gkrellm_create_decal_text_with_height' argument 8 names different: declaration 'y_pad' definition 'y_ink'. gkrellm-2.3.11/src/krell.c:1486:39: style:inconclusive: Function 'gkrellm_in_button' argument 1 names different: declaration 'button' definition 'b'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:277:48: note: Function 'gkrellm_in_button' argument 1 names different: declaration 'button' definition 'b'. gkrellm-2.3.11/src/krell.c:1486:39: note: Function 'gkrellm_in_button' argument 1 names different: declaration 'button' definition 'b'. gkrellm-2.3.11/src/krell.c:74:36: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/krell.c:174:38: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/krell.c:377:45: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/krell.c:440:72: style: Parameter 'ts' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/krell.c:472:21: style: Parameter 'ts' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/krell.c:526:15: style: Variable 'tx' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/krell.c:685:17: style: Variable 'dcheck' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/krell.c:686:18: style: Variable 'b' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/krell.c:1244:17: style: Variable 'm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/krell.c:1426:40: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/krell.c:1438:32: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/krell.c:1438:51: style: Parameter 'ev' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/krell.c:1550:58: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'cb_decal_button_leave' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/krell.c:1695:16: note: You might need to cast the function pointer here gkrellm-2.3.11/src/krell.c:1550:58: note: Parameter 'ev' can be declared as pointer to const gkrellm-2.3.11/src/krell.c:1579:58: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'cb_decal_button_enter' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/krell.c:1693:16: note: You might need to cast the function pointer here gkrellm-2.3.11/src/krell.c:1579:58: note: Parameter 'ev' can be declared as pointer to const gkrellm-2.3.11/src/krell.c:1829:66: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/krell.c:1833:18: style: Variable 'border' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/krell.c:1834:18: style: Variable 'margin' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/krell.c:1856:66: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/krell.c:1860:18: style: Variable 'border' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/krell.c:1861:18: style: Variable 'margin' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/krell.c:1888:17: style: Variable 'lbl' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/krell.c:1889:18: style: Variable 'm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/krell.c:1891:18: style: Variable 'style_border' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/krell.c:1891:33: style: Variable 'fr_border' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/krell.c:2024:17: style: Variable 'm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/md5c.c:41:33: style:inconclusive: Function 'MD5Init' argument 1 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] gkrellm-2.3.11/src/md5.h:17:33: note: Function 'MD5Init' argument 1 names different: declaration 'context' definition 'ctx'. gkrellm-2.3.11/src/md5c.c:41:33: note: Function 'MD5Init' argument 1 names different: declaration 'context' definition 'ctx'. gkrellm-2.3.11/src/md5c.c:56:35: style:inconclusive: Function 'MD5Update' argument 1 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] gkrellm-2.3.11/src/md5.h:18:35: note: Function 'MD5Update' argument 1 names different: declaration 'context' definition 'ctx'. gkrellm-2.3.11/src/md5c.c:56:35: note: Function 'MD5Update' argument 1 names different: declaration 'context' definition 'ctx'. gkrellm-2.3.11/src/md5c.c:104:60: style:inconclusive: Function 'MD5Final' argument 2 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] gkrellm-2.3.11/src/md5.h:20:60: note: Function 'MD5Final' argument 2 names different: declaration 'context' definition 'ctx'. gkrellm-2.3.11/src/md5c.c:104:60: note: Function 'MD5Final' argument 2 names different: declaration 'context' definition 'ctx'. gkrellm-2.3.11/src/md5c.c:150:12: warning: Size of pointer 'ctx' used instead of size of its data. [pointerSize] gkrellm-2.3.11/src/main.c:562:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON1_MASK [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/main.c:879:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/main.c:1503:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/main.c:1582:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_NONE [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/main.c:1749:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/main.c:2060:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/main.c:2068:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/main.c:2240:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONS_YES_NO [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mem.c:438:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mem.c:631:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON1_MASK [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mem.c:790:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable krell_cache_xpm [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mem.c:1133:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mem.c:1144:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mem.c:1155:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mem.c:1180:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/inet.c:703:13: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] gkrellm-2.3.11/src/inet.c:939:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/inet.c:1912:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/inet.c:1917:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/inet.c:1309:2: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gkrellm-2.3.11/src/inet.c:1309:2: warning: %ld in format string (no. 5) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gkrellm-2.3.11/src/inet.c:1309:2: warning: %ld in format string (no. 6) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gkrellm-2.3.11/src/inet.c:1309:2: warning: %ld in format string (no. 8) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gkrellm-2.3.11/src/inet.c:1341:3: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gkrellm-2.3.11/src/inet.c:1341:3: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gkrellm-2.3.11/src/inet.c:1341:3: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gkrellm-2.3.11/src/inet.c:1341:3: warning: %ld in format string (no. 4) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gkrellm-2.3.11/src/inet.c:1143:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/inet.c:2091:20: style: Redundant assignment of 'monitor_inet.name' to itself. [selfAssignment] gkrellm-2.3.11/src/inet.c:181:41: style:inconclusive: Function 'gkrellm_inet_log_tcp_port_data' argument 1 names different: declaration 'tcp' definition 'data'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:186:46: note: Function 'gkrellm_inet_log_tcp_port_data' argument 1 names different: declaration 'tcp' definition 'data'. gkrellm-2.3.11/src/inet.c:181:41: note: Function 'gkrellm_inet_log_tcp_port_data' argument 1 names different: declaration 'tcp' definition 'data'. gkrellm-2.3.11/src/inet.c:134:10: style: Variable 'ap' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/inet.c:134:15: style: Variable 'aap' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/inet.c:256:39: style: Parameter 'src_string' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/inet.c:261:18: style: Variable 's1' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/inet.c:525:20: style: Variable 'ap' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/inet.c:635:34: style: Parameter 'tcp' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/inet.c:661:20: style: Variable 'hostent' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/inet.c:664:13: style: Variable 'remote_host' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/inet.c:664:27: style: Variable 'udp_note' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/inet.c:785:26: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'cb_inet_extra' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/inet.c:922:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/inet.c:785:26: note: Parameter 'widget' can be declared as pointer to const gkrellm-2.3.11/src/inet.c:785:50: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'cb_inet_extra' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/inet.c:922:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/inet.c:785:50: note: Parameter 'ev' can be declared as pointer to const gkrellm-2.3.11/src/inet.c:817:51: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'cb_panel_press' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/inet.c:997:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/inet.c:817:51: note: Parameter 'ev' can be declared as pointer to const gkrellm-2.3.11/src/inet.c:931:16: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/inet.c:933:17: style: Variable 'm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/inet.c:1045:20: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/inet.c:1068:10: style: Variable 'l0' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/inet.c:1068:15: style: Variable 'l1' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/inet.c:1134:25: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'load_inet_config' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/inet.c:2075:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/inet.c:1134:25: note: Parameter 'arg' can be declared as pointer to const gkrellm-2.3.11/src/inet.c:1217:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/inet.c:1319:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/inet.c:1690:24: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'cb_drag_end' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/inet.c:1960:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/inet.c:1690:24: note: Parameter 'widget' can be declared as pointer to const gkrellm-2.3.11/src/inet.c:1690:48: style: Parameter 'context' can be declared as pointer to const. However it seems that 'cb_drag_end' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/inet.c:1960:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/inet.c:1690:48: note: Parameter 'context' can be declared as pointer to const gkrellm-2.3.11/src/inet.c:1690:66: style: Parameter 'data' can be declared as pointer to const. However it seems that 'cb_drag_end' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/inet.c:1960:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/inet.c:1690:66: note: Parameter 'data' can be declared as pointer to const gkrellm-2.3.11/src/inet.c:752:8: style: Variable 'gth' is allocated memory that is never used. [unusedAllocatedMemory] gkrellm-2.3.11/src/inet.c:1143:9: style: Variable 'n' is assigned a value that is never used. [unreadVariable] gkrellm-2.3.11/src/net.c:212:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_REGEX_ANCHORED [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/net.c:307:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/net.c:320:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/net.c:771:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/net.c:1178:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable full_scale [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/net.c:1466:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/net.c:1722:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/net.c:1872:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/net.c:2316:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable decal_net_leds_xpm [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/net.c:2659:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/net.c:2669:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/net.c:2790:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/net.c:2800:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/net.c:2827:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/net.c:2843:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/net.c:2950:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/mail.c:1433:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gkrellm-2.3.11/src/mail.c:1434:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gkrellm-2.3.11/src/mail.c:1834:3: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] gkrellm-2.3.11/src/mail.c:2120:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gkrellm-2.3.11/src/mail.c:2153:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gkrellm-2.3.11/src/mail.c:3953:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/mail.c:3969:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/mail.c:3986:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/mail.c:4003:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/mail.c:4015:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/mail.c:4021:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/mail.c:4027:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/mail.c:4036:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/mail.c:4045:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/mail.c:4055:11: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/mail.c:4057:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/mail.c:4139:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/mail.c:4147:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/mail.c:4215:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/mail.c:4254:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/mail.c:566:25: style: Redundant condition: The condition '*fieldstart != 0' is redundant since '*fieldstart == ' '' is sufficient. [redundantCondition] gkrellm-2.3.11/src/mail.c:2149:34: style: Condition '!strcmp(s,"seen")' is always false [knownConditionTrueFalse] gkrellm-2.3.11/src/mail.c:1214:10: warning:inconclusive: Width 127 given in format string (no. 1) is smaller than destination buffer 'line[256]'. [invalidScanfFormatWidth_smaller] gkrellm-2.3.11/src/mail.c:2785:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/mail.c:3066:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/main.c:1658:30: style:inconclusive: Boolean expression 'w!=w_prev' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] gkrellm-2.3.11/src/main.c:1659:34: style:inconclusive: Boolean expression 'x!=x_prev' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] gkrellm-2.3.11/src/mail.c:1434:15: style: Variable 'tok' is reassigned a value before the old one has been used. [redundantAssignment] gkrellm-2.3.11/src/mail.c:1433:7: note: tok is assigned gkrellm-2.3.11/src/mail.c:1434:15: note: tok is overwritten gkrellm-2.3.11/src/main.c:332:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] gkrellm-2.3.11/src/main.c:823:13: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/main.c:860:13: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/main.c:1516:15: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/main.c:1521:20: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/main.c:1526:22: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/main.c:1531:20: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/main.c:1534:22: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/main.c:1540:20: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/main.c:1543:23: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/main.c:1548:21: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/main.c:1551:22: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/main.c:1956:28: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/main.c:1957:34: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/main.c:1958:23: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/main.c:1959:37: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/main.c:2124:25: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] gkrellm-2.3.11/src/mail.c:2149:31: style: Same expression on both sides of '||'. [duplicateExpression] gkrellm-2.3.11/src/mail.c:4367:20: style: Redundant assignment of 'monitor_mail.name' to itself. [selfAssignment] gkrellm-2.3.11/src/mail.c:427:15: style: Variable 'account' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/mail.c:519:36: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/mail.c:634:23: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/mail.c:680:23: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/mail.c:680:36: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/mail.c:704:55: style: Parameter 'match' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/mail.c:714:62: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/mail.c:789:32: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/mail.c:902:25: style: Parameter 'password' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/mail.c:903:18: style: Parameter 'challenge' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/mail.c:949:35: style: Parameter 'command' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/mail.c:949:66: style: Parameter 'strip' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/mail.c:1084:16: style: Variable 'account' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/mail.c:1128:10: style: Variable 'key' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/mail.c:1260:16: style: Variable 'account' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/mail.c:1265:22: style: Variable 'ss' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/mail.c:1412:16: style: Variable 'tok' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/mail.c:1507:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/mail.c:1550:20: style: Variable 's' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/mail.c:1551:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/mail.c:1609:18: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/mail.c:1623:22: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/mail.c:1664:26: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/main.c:1393:53: style:inconclusive: Function 'gkrellm_spacers_set_types' argument 2 names different: declaration 'top' definition 'top_type'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:364:59: note: Function 'gkrellm_spacers_set_types' argument 2 names different: declaration 'top' definition 'top_type'. gkrellm-2.3.11/src/main.c:1393:53: note: Function 'gkrellm_spacers_set_types' argument 2 names different: declaration 'top' definition 'top_type'. gkrellm-2.3.11/src/main.c:1393:68: style:inconclusive: Function 'gkrellm_spacers_set_types' argument 3 names different: declaration 'bot' definition 'bot_type'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:364:69: note: Function 'gkrellm_spacers_set_types' argument 3 names different: declaration 'bot' definition 'bot_type'. gkrellm-2.3.11/src/main.c:1393:68: note: Function 'gkrellm_spacers_set_types' argument 3 names different: declaration 'bot' definition 'bot_type'. gkrellm-2.3.11/src/mail.c:1865:18: style: Variable 'm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/mail.c:2109:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/mail.c:2193:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/mail.c:2650:51: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'cb_panel_press' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/mail.c:2954:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/mail.c:2650:51: note: Parameter 'ev' can be declared as pointer to const gkrellm-2.3.11/src/mail.c:2652:16: style: Variable 'd' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/mail.c:2776:24: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/mail.c:2963:29: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/mail.c:2995:12: style: Variable 'mp' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/mail.c:2997:10: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/mail.c:2997:16: style: Variable 'qq' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/mail.c:3056:25: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'load_mail_config' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/mail.c:4345:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/mail.c:3056:25: note: Parameter 'arg' can be declared as pointer to const gkrellm-2.3.11/src/mail.c:3064:14: style: Variable 'authtype' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/mail.c:3216:14: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/mail.c:3255:30: style: Variable 'default_port' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/mail.c:3395:10: style: Variable 'default_port' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/mail.c:3688:35: style: Parameter 'button' can be declared as pointer to const. However it seems that 'toggle_button_cb' is a callback function, if 'button' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/mail.c:4007:6: note: You might need to cast the function pointer here gkrellm-2.3.11/src/mail.c:3688:35: note: Parameter 'button' can be declared as pointer to const gkrellm-2.3.11/src/main.c:322:14: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/main.c:322:21: style: Variable 'pPrev' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/main.c:443:36: style: Parameter 'effect_string' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/main.c:493:63: style: Parameter 'margin' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/main.c:554:51: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'gkrellm_motion' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/main.c:2314:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/main.c:554:51: note: Parameter 'ev' can be declared as pointer to const gkrellm-2.3.11/src/main.c:620:35: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'top_frame_button_press' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/main.c:2310:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/main.c:620:35: note: Parameter 'widget' can be declared as pointer to const gkrellm-2.3.11/src/main.c:976:59: style: Parameter 'border' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/main.c:1008:60: style: Parameter 'border' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/main.c:1046:18: style: Variable 'm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/main.c:1580:53: style: Parameter 'event' can be declared as pointer to const. However it seems that 'cb_client_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/main.c:2305:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/main.c:1580:53: note: Parameter 'event' can be declared as pointer to const gkrellm-2.3.11/src/main.c:1596:29: style: Parameter 'w' can be declared as pointer to const. However it seems that 'cb_size_allocate' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/main.c:2303:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/main.c:1596:29: note: Parameter 'w' can be declared as pointer to const gkrellm-2.3.11/src/main.c:1596:47: style: Parameter 'size' can be declared as pointer to const. However it seems that 'cb_size_allocate' is a callback function, if 'size' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/main.c:2303:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/main.c:1596:47: note: Parameter 'size' can be declared as pointer to const gkrellm-2.3.11/src/main.c:1596:62: style: Parameter 'data' can be declared as pointer to const. However it seems that 'cb_size_allocate' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/main.c:2303:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/main.c:1596:62: note: Parameter 'data' can be declared as pointer to const gkrellm-2.3.11/src/main.c:1766:28: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'cb_delete_event' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/main.c:2295:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/main.c:1766:28: note: Parameter 'widget' can be declared as pointer to const gkrellm-2.3.11/src/main.c:1766:46: style: Parameter 'event' can be declared as pointer to const. However it seems that 'cb_delete_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/main.c:2295:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/main.c:1766:46: note: Parameter 'event' can be declared as pointer to const gkrellm-2.3.11/src/main.c:1766:62: style: Parameter 'data' can be declared as pointer to const. However it seems that 'cb_delete_event' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/main.c:2295:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/main.c:1766:62: note: Parameter 'data' can be declared as pointer to const gkrellm-2.3.11/src/main.c:2018:11: style: Variable 'fault' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/main.c:2019:7: style: Variable 'state' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/main.c:2022:18: style: Variable 'mon' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/mail.c:2200:9: style: Variable 's' is assigned a value that is never used. [unreadVariable] gkrellm-2.3.11/src/mail.c:3577:22: style: Variable 'default_port' is assigned a value that is never used. [unreadVariable] gkrellm-2.3.11/src/mem.c:963:21: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/mem.c:1316:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/mem.c:1330:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/mem.c:1373:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/mem.c:1396:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/mem.c:468:37: style: Condition 'GK.second_tick' is always true [knownConditionTrueFalse] gkrellm-2.3.11/src/mem.c:240:12: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gkrellm-2.3.11/src/mem.c:243:12: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gkrellm-2.3.11/src/mem.c:247:13: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gkrellm-2.3.11/src/mem.c:251:12: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gkrellm-2.3.11/src/mem.c:255:13: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gkrellm-2.3.11/src/mem.c:260:13: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gkrellm-2.3.11/src/mem.c:264:13: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gkrellm-2.3.11/src/mem.c:268:13: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gkrellm-2.3.11/src/mem.c:1045:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/mem.c:1083:8: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/mem.c:1476:19: style: Redundant assignment of 'monitor_mem.name' to itself. [selfAssignment] gkrellm-2.3.11/src/mem.c:208:14: style: Variable 'label' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/mem.c:434:45: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'cb_extra' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/mem.c:728:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/mem.c:434:45: note: Parameter 'ev' can be declared as pointer to const gkrellm-2.3.11/src/mem.c:569:53: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'cb_panel_release' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/mem.c:745:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/mem.c:569:53: note: Parameter 'ev' can be declared as pointer to const gkrellm-2.3.11/src/mem.c:590:27: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'cb_panel_press' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/mem.c:743:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/mem.c:590:27: note: Parameter 'widget' can be declared as pointer to const gkrellm-2.3.11/src/mem.c:621:52: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'cb_panel_motion' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/mem.c:747:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/mem.c:621:52: note: Parameter 'ev' can be declared as pointer to const gkrellm-2.3.11/src/mem.c:1039:28: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'load_meminfo_config' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/mem.c:1460:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/mem.c:1039:28: note: Parameter 'arg' can be declared as pointer to const gkrellm-2.3.11/src/mem.c:515:4: style: Variable 'w' is assigned a value that is never used. [unreadVariable] gkrellm-2.3.11/src/pixops.c:77:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/pixops.c:103:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/pixops.c:115:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_RGB_DITHER_NORMAL [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/pixops.c:126:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/pixops.c:217:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/pixops.c:334:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/pixops.c:406:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_RGB_DITHER_NORMAL [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/pixops.c:424:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_NEAREST [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/pixops.c:439:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/pixops.c:688:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/panel.c:164:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_SCALE [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/panel.c:331:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/panel.c:440:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_EXPOSURE_MASK [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/panel.c:573:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/panel.c:661:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_ALIGN_CENTER [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/plugins.c:1197:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/plugins.c:1243:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/plugins.c:1322:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GtkWidget [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/plugins.c:1372:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/plugins.c:1511:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/plugins.c:1758:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONBOX_START [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/pixops.c:594:71: style: Parameter 'border' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/proc.c:53:6: debug: Scope::checkVariable found variable 'sensor_fan' with varid 0. [varid0] gkrellm-2.3.11/src/proc.c:322:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/proc.c:355:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable full_scale [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/proc.c:809:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/proc.c:831:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/panel.c:435:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/panel.c:807:19: style: Condition 'x<=0' is always true [knownConditionTrueFalse] gkrellm-2.3.11/src/panel.c:801:11: note: Assuming that condition 'x>0' is not redundant gkrellm-2.3.11/src/panel.c:807:19: note: Condition 'x<=0' is always true gkrellm-2.3.11/src/panel.c:823:19: style: Condition 'y<=0' is always true [knownConditionTrueFalse] gkrellm-2.3.11/src/panel.c:819:11: note: Assuming that condition 'y>0' is not redundant gkrellm-2.3.11/src/panel.c:823:19: note: Condition 'y<=0' is always true gkrellm-2.3.11/src/panel.c:63:50: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/panel.c:96:48: style: Parameter 'style' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/panel.c:119:16: style: Variable 'd' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/panel.c:245:18: style: Variable 'm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/panel.c:246:12: style: Variable 's' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/panel.c:525:40: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/panel.c:250:10: style: Variable 's' is assigned a value that is never used. [unreadVariable] gkrellm-2.3.11/src/plugins.c:816:31: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/plugins.c:817:37: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/plugins.c:818:26: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/plugins.c:819:40: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/plugins.c:1519:15: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/plugins.c:1523:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/plugins.c:1551:11: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/plugins.c:1578:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/plugins.c:837:18: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gkrellm-2.3.11/src/plugins.c:891:30: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gkrellm-2.3.11/src/plugins.c:896:17: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gkrellm-2.3.11/src/plugins.c:903:17: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gkrellm-2.3.11/src/plugins.c:937:60: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gkrellm-2.3.11/src/plugins.c:950:50: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gkrellm-2.3.11/src/plugins.c:960:50: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gkrellm-2.3.11/src/plugins.c:1217:55: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gkrellm-2.3.11/src/plugins.c:1249:45: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gkrellm-2.3.11/src/plugins.c:1257:18: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gkrellm-2.3.11/src/plugins.c:105:34: style: Parameter 'style' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/plugins.c:118:60: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/plugins.c:134:42: style: Parameter 'ts' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/plugins.c:253:38: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/plugins.c:265:38: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/plugins.c:593:64: style: Parameter 'mon_name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/plugins.c:626:45: style: Parameter 'mon_plugin' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/plugins.c:646:51: style: Parameter 'mon' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/plugins.c:714:33: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/plugins.c:731:40: style: Parameter 'style_name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/plugins.c:751:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/plugins.c:774:18: style: Variable 'mon' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/plugins.c:775:22: style: Variable 'plugin_name' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/plugins.c:809:18: style: Variable 'mon' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/plugins.c:1071:19: style: Variable 'builtin' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/plugins.c:1072:21: style: Variable 'mp' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/plugins.c:1134:18: style: Variable 'm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/plugins.c:1160:22: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/plugins.c:1160:37: style: Parameter 'suffix' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/plugins.c:1366:18: style: Variable 'mon' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/plugins.c:1404:45: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'place_plugin_window_delete_event' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/plugins.c:1512:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/plugins.c:1404:45: note: Parameter 'widget' can be declared as pointer to const gkrellm-2.3.11/src/plugins.c:1404:63: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'place_plugin_window_delete_event' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/plugins.c:1512:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/plugins.c:1404:63: note: Parameter 'ev' can be declared as pointer to const gkrellm-2.3.11/src/plugins.c:1404:75: style: Parameter 'data' can be declared as pointer to const. However it seems that 'place_plugin_window_delete_event' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/plugins.c:1512:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/plugins.c:1404:75: note: Parameter 'data' can be declared as pointer to const gkrellm-2.3.11/src/plugins.c:1474:27: style: Parameter 'button' can be declared as pointer to const. However it seems that 'cb_place' is a callback function, if 'button' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/plugins.c:1574:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/plugins.c:1474:27: note: Parameter 'button' can be declared as pointer to const gkrellm-2.3.11/src/plugins.c:1474:44: style: Parameter 'data' can be declared as pointer to const. However it seems that 'cb_place' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/plugins.c:1574:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/plugins.c:1474:44: note: Parameter 'data' can be declared as pointer to const gkrellm-2.3.11/src/proc.c:929:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/proc.c:936:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/proc.c:943:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/proc.c:718:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/proc.c:738:8: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/sensors.c:2568:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sensors.c:2577:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sensors.c:2595:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sensors.c:2611:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/proc.c:1036:20: style: Redundant assignment of 'monitor_proc.name' to itself. [selfAssignment] gkrellm-2.3.11/src/proc.c:246:36: style: Parameter 'sr' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/proc.c:320:50: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'cb_proc_extra' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/proc.c:592:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/proc.c:320:50: note: Parameter 'ev' can be declared as pointer to const gkrellm-2.3.11/src/proc.c:392:17: style: Variable 'd' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/proc.c:414:17: style: Variable 'd' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/proc.c:526:51: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'cb_panel_press' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/proc.c:594:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/proc.c:526:51: note: Parameter 'ev' can be declared as pointer to const gkrellm-2.3.11/src/proc.c:713:25: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'load_proc_config' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/proc.c:1018:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/proc.c:713:25: note: Parameter 'arg' can be declared as pointer to const gkrellm-2.3.11/src/proc.c:807:48: style: Parameter 'data' can be declared as pointer to const. However it seems that 'cb_sensor_separate' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/proc.c:926:6: note: You might need to cast the function pointer here gkrellm-2.3.11/src/proc.c:807:48: note: Parameter 'data' can be declared as pointer to const gkrellm-2.3.11/src/sysdeps/bsd-common.c:63:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFF_UP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/bsd-common.c:278:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MNT_NOWAIT [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/bsd-common.c:344:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/bsd-common.c:340:24: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/darwin.c:87:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROCESSOR_CPU_LOAD_INFO [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/darwin.c:113:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROCESSOR_CPU_LOAD_INFO [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/darwin.c:238:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kinfo_proc [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/darwin.c:247:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/darwin.c:300:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MACH_PORT_NULL [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/darwin.c:312:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kCFNumberSInt64Type [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/darwin.c:327:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kCFStringEncodingUTF8 [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/darwin.c:344:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/darwin.c:435:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kIOServicePlane [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/darwin.c:484:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MACH_PORT_NULL [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/darwin.c:519:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/darwin.c:566:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/darwin.c:669:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_VM_INFO_COUNT [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/dragonfly.c:46:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/dragonfly.c:114:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cp_user [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/dragonfly.c:202:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kinfo_proc [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/dragonfly.c:213:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/dragonfly.c:279:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DS_SELECT_ONLY [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/dragonfly.c:310:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable devinfo [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/dragonfly.c:350:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INP_IPV4 [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/dragonfly.c:440:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/dragonfly.c:470:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTL_MAXNAME [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/darwin.c:709:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] gkrellm-2.3.11/src/sysdeps/darwin.c:246:20: style: Variable 'utmpx_entry' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/darwin.c:403:10: style: Parameter 'order' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/darwin.c:560:16: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/darwin.c:562:24: style: Variable 'oxig' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/darwin.c:563:18: style: Variable 'so' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/darwin.c:666:17: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/darwin.c:758:44: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/darwin.c:759:39: style: Parameter 'temp' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/darwin.c:766:36: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/darwin.c:767:39: style: Parameter 'fan' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/darwin.c:773:40: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/darwin.c:774:39: style: Parameter 'volt' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/darwin.c:671:74: error: Uninitialized variable: vm_info [uninitvar] gkrellm-2.3.11/src/sysdeps/darwin.c:487:26: style: Variable 'service' is assigned a value that is never used. [unreadVariable] gkrellm-2.3.11/src/sysdeps/freebsd.c:65:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/freebsd.c:117:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPUSTATES [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/freebsd.c:198:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPUSTATES [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/freebsd.c:336:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable n_type [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/freebsd.c:370:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/freebsd.c:461:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable n_type [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/freebsd.c:614:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable n_type [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/freebsd.c:830:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/freebsd.c:996:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable n_value [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/freebsd.c:1140:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable n_type [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/dragonfly.c:309:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gkrellm-2.3.11/src/sysdeps/dragonfly.c:311:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gkrellm-2.3.11/src/sysdeps/dragonfly.c:602:5: warning: %llu in format string (no. 1) requires 'unsigned long long *' but the argument type is 'unsigned long *'. [invalidScanfArgType_int] gkrellm-2.3.11/src/sysdeps/dragonfly.c:602:5: warning: %llu in format string (no. 2) requires 'unsigned long long *' but the argument type is 'unsigned long *'. [invalidScanfArgType_int] gkrellm-2.3.11/src/sysdeps/dragonfly.c:366:16: style: Variable 'so_begin' is reassigned a value before the old one has been used. [redundantAssignment] gkrellm-2.3.11/src/sysdeps/dragonfly.c:363:11: note: so_begin is assigned gkrellm-2.3.11/src/sysdeps/dragonfly.c:366:16: note: so_begin is overwritten gkrellm-2.3.11/src/sysdeps/dragonfly.c:366:30: style: Variable 'so_end' is reassigned a value before the old one has been used. [redundantAssignment] gkrellm-2.3.11/src/sysdeps/dragonfly.c:364:9: note: so_end is assigned gkrellm-2.3.11/src/sysdeps/dragonfly.c:366:30: note: so_end is overwritten gkrellm-2.3.11/src/sysdeps/dragonfly.c:363:2: style:inconclusive: Statements following 'goto' will never be executed. [unreachableCode] gkrellm-2.3.11/src/sysdeps/dragonfly.c:92:6: style: Local variable 'ncpus' shadows outer variable [shadowVariable] gkrellm-2.3.11/src/sysdeps/dragonfly.c:85:13: note: Shadowed declaration gkrellm-2.3.11/src/sysdeps/dragonfly.c:92:6: note: Shadow variable gkrellm-2.3.11/src/sysdeps/dragonfly.c:249:10: style: Parameter 'order' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/dragonfly.c:255:41: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/dragonfly.c:339:18: style: Variable 'so' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/dragonfly.c:1149:44: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/dragonfly.c:1150:39: style: Parameter 'temp' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/dragonfly.c:1157:36: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/dragonfly.c:1158:39: style: Parameter 'fan' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/dragonfly.c:1164:40: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/dragonfly.c:1165:39: style: Parameter 'volt' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/dragonfly.c:578:8: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] gkrellm-2.3.11/src/sysdeps/dragonfly.c:580:9: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] gkrellm-2.3.11/src/sysdeps/dragonfly.c:582:7: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] gkrellm-2.3.11/src/sysdeps/dragonfly.c:586:9: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] gkrellm-2.3.11/src/sysdeps/freebsd.c:345:38: style: Condition '(nforked=nextpid-curpid)<0' is always false [knownConditionTrueFalse] gkrellm-2.3.11/src/sysdeps/freebsd.c:894:3: error: Memory leak: sw [memleak] gkrellm-2.3.11/src/sysdeps/freebsd.c:894:3: error: Memory leak: perdev [memleak] gkrellm-2.3.11/src/sysdeps/freebsd.c:897:3: error: Memory leak: perdev [memleak] gkrellm-2.3.11/src/sysdeps/freebsd.c:980:7: style: Variable 'used' is reassigned a value before the old one has been used. [redundantAssignment] gkrellm-2.3.11/src/sysdeps/freebsd.c:969:8: note: used is assigned gkrellm-2.3.11/src/sysdeps/freebsd.c:980:7: note: used is overwritten gkrellm-2.3.11/src/sysdeps/freebsd.c:349:13: style: Redundant assignment of 'n_forks' to itself. [selfAssignment] gkrellm-2.3.11/src/sysdeps/freebsd.c:343:16: style: Checking if unsigned expression 'curpid' is less than zero. [unsignedLessThanZero] gkrellm-2.3.11/src/sysdeps/freebsd.c:275:15: style: Variable 'name' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/freebsd.c:276:15: style: Variable 'vname' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/freebsd.c:277:15: style: Variable 'rname' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/freebsd.c:376:16: style: Variable 'utmp' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/freebsd.c:432:10: style: Parameter 'order' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/freebsd.c:801:8: style: Variable 'header' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/freebsd.c:1747:44: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/freebsd.c:1748:39: style: Parameter 'temp' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/freebsd.c:1755:36: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/freebsd.c:1756:39: style: Parameter 'fan' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/freebsd.c:1762:40: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/freebsd.c:1763:39: style: Parameter 'volt' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/freebsd.c:979:11: style: int result is assigned to long long variable. If the variable is long long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] gkrellm-2.3.11/src/sysdeps/freebsd.c:450:10: style: Unused variable: list [unusedVariable] gkrellm-2.3.11/src/sysdeps/freebsd.c:955:9: style: Variable 'header' is assigned a value that is never used. [unreadVariable] gkrellm-2.3.11/src/sysdeps/freebsd.c:956:6: style: Variable 'div' is assigned a value that is never used. [unreadVariable] gkrellm-2.3.11/src/sysdeps/freebsd.c:813:16: style: Unused variable: swapptr [unusedVariable] gkrellm-2.3.11/src/sysdeps/netbsd.c:52:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/netbsd.c:78:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPUSTATES [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/netbsd.c:138:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTL_KERN [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/netbsd.c:169:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_UTMP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/netbsd.c:210:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTL_VM [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/netbsd.c:250:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTL_VM [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/netbsd.c:327:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENVSYS_GTREDATA [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/netbsd.c:346:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENVSYS_GTREDATA [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/netbsd.c:364:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENVSYS_GTREDATA [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/netbsd.c:400:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/netbsd.c:508:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/netbsd.c:596:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/netbsd.c:701:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable disk_sysctl [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/netbsd.c:714:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable disk_sysctl [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/netbsd.c:512:47: error: Resource leak: fd [resourceLeak] gkrellm-2.3.11/src/sysdeps/netbsd.c:513:44: error: Resource leak: fd [resourceLeak] gkrellm-2.3.11/src/sysdeps/netbsd.c:469:3: error: Common realloc mistake: 'battery_acpi_data' nulled but not freed upon failure [memleakOnRealloc] gkrellm-2.3.11/src/sysdeps/netbsd.c:110:6: style: Local variable 'ncpus' shadows outer variable [shadowVariable] gkrellm-2.3.11/src/sysdeps/netbsd.c:70:13: note: Shadowed declaration gkrellm-2.3.11/src/sysdeps/netbsd.c:110:6: note: Shadow variable gkrellm-2.3.11/src/sysdeps/netbsd.c:746:10: style: Parameter 'order' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/netbsd.c:572:8: style: Unused variable: r [unusedVariable] gkrellm-2.3.11/src/sysdeps/openbsd.c:51:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/openbsd.c:73:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPUSTATES [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/openbsd.c:133:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kinfo_proc [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/openbsd.c:160:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_UTMP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/openbsd.c:216:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable n_type [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/openbsd.c:402:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable n_type [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/openbsd.c:442:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable n_type [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/openbsd.c:277:44: style: Parameter 'device_name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/openbsd.c:278:39: style: Parameter 'temp' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/openbsd.c:284:36: style: Parameter 'device_name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/openbsd.c:285:39: style: Parameter 'fan' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/openbsd.c:291:40: style: Parameter 'device_name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/openbsd.c:292:39: style: Parameter 'volt' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/openbsd.c:380:10: style: Parameter 'order' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/openbsd.c:229:11: style: Variable 'x_used' is assigned a value that is never used. [unreadVariable] gkrellm-2.3.11/src/sysdeps/linux.c:172:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:493:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:686:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAMDISK_MAJOR [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:817:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:865:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_UTMP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:920:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:1148:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:1182:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:1262:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_level [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:1293:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:1318:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:1652:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_level [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:1681:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_level [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:1753:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_level [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:1950:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_level [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:2060:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_level [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:2130:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_level [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:2156:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_level [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:2298:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GKRELLM_BATTERY_COMPOSITE_ID [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:2340:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable use_acpi_battery [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:2462:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_level [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:3096:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SENSOR_TEMPERATURE [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:3121:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_level [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:3284:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HDDTEMP_INTERFACE [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:3440:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MBMON_INTERFACE [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:3490:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MBMON_INTERFACE [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:3702:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_level [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:3798:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_level [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:3841:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_level [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:3867:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SENSOR_TEMPERATURE [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:3935:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/sensors-common.c:88:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SENSORS [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/sensors-common.c:142:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mbmon_port [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/sensors-common.c:220:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mbmon_port [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/sensors-common.c:317:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SENSORS [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/sensors-common.c:389:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable time_now [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/sensors-common.c:97:21: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/sensors-common.c:253:15: style: Variable 'mb' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/sensors-common.c:282:23: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/sensors-common.c:399:17: style: Variable 'hdd' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/solaris.c:116:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPU_USER [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/solaris.c:169:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOADAVG_NSTATS [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/solaris.c:305:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kstat_io_t [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/solaris.c:444:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DINFOCPYALL [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/solaris.c:508:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KSTAT_TYPE_IO [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/solaris.c:577:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/solaris.c:849:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second_tick [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/solaris.c:930:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFSTAB [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/solaris.c:951:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MNTTAB [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/solaris.c:348:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gkrellm-2.3.11/src/sysdeps/solaris.c:352:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gkrellm-2.3.11/src/sysdeps/solaris.c:466:23: warning: Either the condition '(fd=open(devices_path,O_RDONLY))==-1' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] gkrellm-2.3.11/src/sysdeps/solaris.c:464:49: note: Assuming that condition '(fd=open(devices_path,O_RDONLY))==-1' is not redundant gkrellm-2.3.11/src/sysdeps/solaris.c:466:23: note: Invalid argument gkrellm-2.3.11/src/sysdeps/solaris.c:475:23: warning: Either the condition '(fd=open(devices_path,O_RDONLY))==-1' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] gkrellm-2.3.11/src/sysdeps/solaris.c:464:49: note: Assuming that condition '(fd=open(devices_path,O_RDONLY))==-1' is not redundant gkrellm-2.3.11/src/sysdeps/solaris.c:475:23: note: Invalid argument gkrellm-2.3.11/src/sysdeps/solaris.c:99:25: style: Local variable 'kc' shadows outer variable [shadowVariable] gkrellm-2.3.11/src/sysdeps/solaris.c:40:14: note: Shadowed declaration gkrellm-2.3.11/src/sysdeps/solaris.c:99:25: note: Shadow variable gkrellm-2.3.11/src/sysdeps/solaris.c:131:25: style: Local variable 'kc' shadows outer variable [shadowVariable] gkrellm-2.3.11/src/sysdeps/solaris.c:40:14: note: Shadowed declaration gkrellm-2.3.11/src/sysdeps/solaris.c:131:25: note: Shadow variable gkrellm-2.3.11/src/sysdeps/solaris.c:172:25: style: Local variable 'kc' shadows outer variable [shadowVariable] gkrellm-2.3.11/src/sysdeps/solaris.c:40:14: note: Shadowed declaration gkrellm-2.3.11/src/sysdeps/solaris.c:172:25: note: Shadow variable gkrellm-2.3.11/src/sysdeps/solaris.c:176:19: style: Local variable 'kd' shadows outer variable [shadowVariable] gkrellm-2.3.11/src/sysdeps/solaris.c:41:8: note: Shadowed declaration gkrellm-2.3.11/src/sysdeps/solaris.c:176:19: note: Shadow variable gkrellm-2.3.11/src/sysdeps/solaris.c:177:25: style: Local variable 'nl' shadows outer variable [shadowVariable] gkrellm-2.3.11/src/sysdeps/solaris.c:43:14: note: Shadowed declaration gkrellm-2.3.11/src/sysdeps/solaris.c:177:25: note: Shadow variable gkrellm-2.3.11/src/sysdeps/solaris.c:290:25: style: Local variable 'kc' shadows outer variable [shadowVariable] gkrellm-2.3.11/src/sysdeps/solaris.c:40:14: note: Shadowed declaration gkrellm-2.3.11/src/sysdeps/solaris.c:290:25: note: Shadow variable gkrellm-2.3.11/src/sysdeps/solaris.c:526:25: style: Local variable 'kc' shadows outer variable [shadowVariable] gkrellm-2.3.11/src/sysdeps/solaris.c:40:14: note: Shadowed declaration gkrellm-2.3.11/src/sysdeps/solaris.c:526:25: note: Shadow variable gkrellm-2.3.11/src/sysdeps/solaris.c:704:25: style: Local variable 'kc' shadows outer variable [shadowVariable] gkrellm-2.3.11/src/sysdeps/solaris.c:40:14: note: Shadowed declaration gkrellm-2.3.11/src/sysdeps/solaris.c:704:25: note: Shadow variable gkrellm-2.3.11/src/sysdeps/solaris.c:843:25: style: Local variable 'kc' shadows outer variable [shadowVariable] gkrellm-2.3.11/src/sysdeps/solaris.c:40:14: note: Shadowed declaration gkrellm-2.3.11/src/sysdeps/solaris.c:843:25: note: Shadow variable gkrellm-2.3.11/src/sysdeps/solaris.c:1029:25: style: Local variable 'kc' shadows outer variable [shadowVariable] gkrellm-2.3.11/src/sysdeps/solaris.c:40:14: note: Shadowed declaration gkrellm-2.3.11/src/sysdeps/solaris.c:1029:25: note: Shadow variable gkrellm-2.3.11/src/sysdeps/solaris.c:213:25: style: Variable 'utmpp' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/solaris.c:273:10: style: Parameter 'order' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/solaris.c:326:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/solaris.c:326:18: style: Variable 'maj' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/solaris.c:573:27: style: Variable 'tea' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/solaris.c:980:28: style: Parameter 'device' can be declared as pointer to const. However it seems that 'eject_solaris_cdrom' is a callback function, if 'device' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/sysdeps/solaris.c:994:37: note: You might need to cast the function pointer here gkrellm-2.3.11/src/sysdeps/solaris.c:980:28: note: Parameter 'device' can be declared as pointer to const gkrellm-2.3.11/src/sysdeps/solaris.c:1070:44: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/solaris.c:1070:91: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/solaris.c:1076:36: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/solaris.c:1076:83: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/solaris.c:1082:40: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/solaris.c:1082:87: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:47:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_MAP_READ [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:93:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:198:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SENSOR_TEMPERATURE [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:223:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:267:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MBM_INTERFACE [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:340:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:382:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:477:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:524:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CT_INTERFACE [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:579:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SENSOR_TEMPERATURE [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:610:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPUZ_INTERFACE [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:660:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sensors.c:1584:15: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/sensors.c:1588:14: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/sensors.c:1592:15: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/sensors.c:2728:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/sensors.c:2730:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/sensors.c:2806:8: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/sensors.c:2885:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/sensors.c:1840:10: warning:inconclusive: Width 63 given in format string (no. 1) is smaller than destination buffer 'id_name[512]'. [invalidScanfFormatWidth_smaller] gkrellm-2.3.11/src/sensors.c:1840:10: warning:inconclusive: Width 64 given in format string (no. 2) is smaller than destination buffer 'item1[512]'. [invalidScanfFormatWidth_smaller] gkrellm-2.3.11/src/sensors.c:1847:7: warning:inconclusive: Width 63 given in format string (no. 1) is smaller than destination buffer 'id_name[512]'. [invalidScanfFormatWidth_smaller] gkrellm-2.3.11/src/sensors.c:1866:10: warning:inconclusive: Width 63 given in format string (no. 1) is smaller than destination buffer 'id_name[512]'. [invalidScanfFormatWidth_smaller] gkrellm-2.3.11/src/sensors.c:1819:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/sensors.c:1847:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/sensors.c:1866:10: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/sensors.c:1882:14: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/sensors.c:1655:23: style: Redundant assignment of 'monitor_sensors.name' to itself. [selfAssignment] gkrellm-2.3.11/src/sensors.c:2959:33: style: Redundant assignment of 'monitor_config_sensors.name' to itself. [selfAssignment] gkrellm-2.3.11/src/sensors.c:239:28: style: Parameter 's1' can be declared as pointer to const. However it seems that 'strcmp_sensor_path' is a callback function, if 's1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/sensors.c:2958:56: note: You might need to cast the function pointer here gkrellm-2.3.11/src/sensors.c:239:28: note: Parameter 's1' can be declared as pointer to const gkrellm-2.3.11/src/sensors.c:239:40: style: Parameter 's2' can be declared as pointer to const. However it seems that 'strcmp_sensor_path' is a callback function, if 's2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/sensors.c:2958:56: note: You might need to cast the function pointer here gkrellm-2.3.11/src/sensors.c:239:40: note: Parameter 's2' can be declared as pointer to const gkrellm-2.3.11/src/sensors.c:315:18: style: Variable 'm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sensors.c:366:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sensors.c:416:21: style: Parameter 'sr' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sensors.c:416:32: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sensors.c:442:12: style: Parameter 'sensor' can be declared as pointer to const. However it seems that 'cb_command_process' is a callback function, if 'sensor' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/sensors.c:1715:50: note: You might need to cast the function pointer here gkrellm-2.3.11/src/sensors.c:442:12: note: Parameter 'sensor' can be declared as pointer to const gkrellm-2.3.11/src/sensors.c:444:17: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sensors.c:737:32: style: Parameter 'pname' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sensors.c:885:17: style: Variable 'd' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sensors.c:908:17: style: Variable 'b' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sensors.c:910:16: style: Variable 'dv' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sensors.c:971:18: style: Variable 'b' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sensors.c:974:22: style: Variable 'dn' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sensors.c:1041:17: style: Variable 'm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sensors.c:1120:58: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sensors.c:1229:18: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sensors.c:1301:51: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'cb_panel_press' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/sensors.c:1511:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/sensors.c:1301:51: note: Parameter 'ev' can be declared as pointer to const gkrellm-2.3.11/src/sensors.c:1316:17: style: Variable 'margin' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sensors.c:1369:18: style: Variable 'm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sensors.c:1431:17: style: Variable 'm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sensors.c:1737:16: style: Variable 'so' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sensors.c:1805:28: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'load_sensors_config' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/sensors.c:2938:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/sensors.c:1805:28: note: Parameter 'arg' can be declared as pointer to const gkrellm-2.3.11/src/sensors.c:2124:43: style: Parameter 'sr' can be declared as pointer to const. However it seems that 'cb_alert_config' is a callback function, if 'sr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/sensors.c:1716:41: note: You might need to cast the function pointer here gkrellm-2.3.11/src/sensors.c:2124:43: note: Parameter 'sr' can be declared as pointer to const gkrellm-2.3.11/src/sensors.c:2165:10: style: Variable 'src_indices' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sensors.c:2165:24: style: Variable 'dst_indices' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sensors.c:2270:33: style: Parameter 'sensor' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sensors.c:2272:10: style: Variable 'sr' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sensors.c:2376:34: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sensors.c:2606:32: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'cb_voltages_display' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/sensors.c:2845:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/sensors.c:2606:32: note: Parameter 'entry' can be declared as pointer to const gkrellm-2.3.11/src/sensors.c:2606:48: style: Parameter 'data' can be declared as pointer to const. However it seems that 'cb_voltages_display' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/sensors.c:2845:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/sensors.c:2606:48: note: Parameter 'data' can be declared as pointer to const gkrellm-2.3.11/src/sensors.c:2633:9: style: Variable 'str' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sensors.c:2655:41: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'mbmon_port_entry_activate_cb' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/sensors.c:2901:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/sensors.c:2655:41: note: Parameter 'widget' can be declared as pointer to const gkrellm-2.3.11/src/sensors.c:2655:58: style: Parameter 'data' can be declared as pointer to const. However it seems that 'mbmon_port_entry_activate_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/sensors.c:2901:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/sensors.c:2655:58: note: Parameter 'data' can be declared as pointer to const gkrellm-2.3.11/src/sensors.c:2661:28: style: Parameter 'data' can be declared as pointer to const. However it seems that 'cb_config_deleted' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/sensors.c:2748:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/sensors.c:2661:28: note: Parameter 'data' can be declared as pointer to const gkrellm-2.3.11/src/sensors.c:2694:32: style: Parameter 'w' can be declared as pointer to const. However it seems that 'sensors_tab_destroy' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/sensors.c:2723:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/sensors.c:2694:32: note: Parameter 'w' can be declared as pointer to const gkrellm-2.3.11/src/sensors.c:2694:44: style: Parameter 'data' can be declared as pointer to const. However it seems that 'sensors_tab_destroy' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/sensors.c:2723:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/sensors.c:2694:44: note: Parameter 'data' can be declared as pointer to const gkrellm-2.3.11/src/sensors.c:232:8: style: Variable 'gth' is allocated memory that is never used. [unusedAllocatedMemory] gkrellm-2.3.11/src/sensors.c:372:9: style: Variable 's' is assigned a value that is never used. [unreadVariable] gkrellm-2.3.11/src/sensors.c:373:5: style: Variable 's' is assigned a value that is never used. [unreadVariable] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:470:17: style: Checking if unsigned expression 'core_index' is less than zero. [unsignedLessThanZero] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:470:54: style: Checking if unsigned expression 'cpu_index' is less than zero. [unsignedLessThanZero] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:212:19: style: Variable 'sensor' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:502:25: style: Variable 'data' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:624:22: style: Variable 'sensor' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:146:13: style: struct member '_MBMSharedIndex::iType' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:155:7: style: struct member '_MBMSharedSensor::sspadding1' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:157:9: style: struct member '_MBMSharedSensor::ssLow' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:158:9: style: struct member '_MBMSharedSensor::ssHigh' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:159:7: style: struct member '_MBMSharedSensor::ssCount' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:160:7: style: struct member '_MBMSharedSensor::sspadding2' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:161:14: style: struct member '_MBMSharedSensor::ssTotal' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:162:7: style: struct member '_MBMSharedSensor::sspadding3' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:163:9: style: struct member '_MBMSharedSensor::ssAlarm1' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:164:9: style: struct member '_MBMSharedSensor::ssAlarm2' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:170:8: style: struct member '_MBMSharedInfo::siSMB_Base' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:171:10: style: struct member '_MBMSharedInfo::siSMB_Type' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:172:10: style: struct member '_MBMSharedInfo::siSMB_Code' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:173:7: style: struct member '_MBMSharedInfo::siSMB_Addr' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:174:16: style: struct member '_MBMSharedInfo::siSMB_Name' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:175:8: style: struct member '_MBMSharedInfo::siISA_Base' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:176:6: style: struct member '_MBMSharedInfo::siChipType' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:177:7: style: struct member '_MBMSharedInfo::siVoltageSubType' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:183:9: style: struct member '_MBMSharedData::sdVersion' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:186:16: style: struct member '_MBMSharedData::sdInfo' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:187:16: style: struct member '_MBMSharedData::sdStart' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:188:16: style: struct member '_MBMSharedData::sdCurrent' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:189:16: style: struct member '_MBMSharedData::sdPath' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:310:21: style: struct member '_SFSharedMemory::version' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:311:21: style: struct member '_SFSharedMemory::flags' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:312:21: style: struct member '_SFSharedMemory::MemSize' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:313:21: style: struct member '_SFSharedMemory::handle' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:446:16: style: struct member '_CORE_TEMP_SHARED_DATA::uiLoad' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:451:16: style: struct member '_CORE_TEMP_SHARED_DATA::fVID' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:452:16: style: struct member '_CORE_TEMP_SHARED_DATA::fCPUSpeed' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:453:16: style: struct member '_CORE_TEMP_SHARED_DATA::fFSBSpeed' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:454:16: style: struct member '_CORE_TEMP_SHARED_DATA::fMultipier' is never used. [unusedStructMember] gkrellm-2.3.11/src/sysdeps/win32-sensors.c:455:16: style: struct member '_CORE_TEMP_SHARED_DATA::sCPUName' is never used. [unusedStructMember] gkrellm-2.3.11/src/uptime.c:243:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/uptime.c:223:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/uptime.c:323:22: style: Redundant assignment of 'monitor_uptime.name' to itself. [selfAssignment] gkrellm-2.3.11/src/uptime.c:72:39: style:inconclusive: Function 'gkrellm_uptime_set_base_uptime' argument 1 names different: declaration 'base_uptime' definition 'base'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-sysdeps.h:291:44: note: Function 'gkrellm_uptime_set_base_uptime' argument 1 names different: declaration 'base_uptime' definition 'base'. gkrellm-2.3.11/src/uptime.c:72:39: note: Function 'gkrellm_uptime_set_base_uptime' argument 1 names different: declaration 'base_uptime' definition 'base'. gkrellm-2.3.11/src/uptime.c:164:18: style: Variable 'm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/uptime.c:218:27: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'load_uptime_config' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/uptime.c:307:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/uptime.c:218:27: note: Parameter 'arg' can be declared as pointer to const gkrellm-2.3.11/src/sysdeps/win32.c:180:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FORMAT_MESSAGE_ALLOCATE_BUFFER [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:237:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:257:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:277:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:304:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PDH_MAX_COUNTER_NAME [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:432:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:458:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:501:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:566:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:604:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:632:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:644:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:670:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:718:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:765:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:786:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:808:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:871:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:905:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:923:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:946:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:989:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:1083:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfLELS [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:1157:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PDH_MAX_COUNTER_NAME [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:1245:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:1288:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:1342:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pZwQSI [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:1398:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:1441:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:1464:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:1489:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:1510:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:1537:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:1554:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:1588:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:1625:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:1666:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:1689:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:1705:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:1841:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SYSDEP [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:1850:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PDH_MAX_COUNTER_NAME [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:1890:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pGNSI [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/utils.c:230:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/utils.c:378:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_SCALE [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/utils.c:414:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_SCALE [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/utils.c:430:70: style:inconclusive: Function 'gkrellm_gdk_draw_string' argument 2 names different: declaration 'font' definition 'font_desc'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:621:28: note: Function 'gkrellm_gdk_draw_string' argument 2 names different: declaration 'font' definition 'font_desc'. gkrellm-2.3.11/src/utils.c:430:70: note: Function 'gkrellm_gdk_draw_string' argument 2 names different: declaration 'font' definition 'font_desc'. gkrellm-2.3.11/src/utils.c:444:26: style:inconclusive: Function 'gkrellm_gdk_draw_string_markup' argument 2 names different: declaration 'font' definition 'font_desc'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:624:28: note: Function 'gkrellm_gdk_draw_string_markup' argument 2 names different: declaration 'font' definition 'font_desc'. gkrellm-2.3.11/src/utils.c:444:26: note: Function 'gkrellm_gdk_draw_string_markup' argument 2 names different: declaration 'font' definition 'font_desc'. gkrellm-2.3.11/src/utils.c:457:68: style:inconclusive: Function 'gkrellm_gdk_draw_text' argument 2 names different: declaration 'font' definition 'font_desc'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:627:28: note: Function 'gkrellm_gdk_draw_text' argument 2 names different: declaration 'font' definition 'font_desc'. gkrellm-2.3.11/src/utils.c:457:68: note: Function 'gkrellm_gdk_draw_text' argument 2 names different: declaration 'font' definition 'font_desc'. gkrellm-2.3.11/src/utils.c:472:26: style:inconclusive: Function 'gkrellm_gdk_draw_text_markup' argument 2 names different: declaration 'font' definition 'font_desc'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:630:28: note: Function 'gkrellm_gdk_draw_text_markup' argument 2 names different: declaration 'font' definition 'font_desc'. gkrellm-2.3.11/src/utils.c:472:26: note: Function 'gkrellm_gdk_draw_text_markup' argument 2 names different: declaration 'font' definition 'font_desc'. gkrellm-2.3.11/src/utils.c:496:35: style:inconclusive: Function 'gkrellm_locale_dup_string' argument 1 names different: declaration 'dst' definition 'dst_utf8'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:550:44: note: Function 'gkrellm_locale_dup_string' argument 1 names different: declaration 'dst' definition 'dst_utf8'. gkrellm-2.3.11/src/utils.c:496:35: note: Function 'gkrellm_locale_dup_string' argument 1 names different: declaration 'dst' definition 'dst_utf8'. gkrellm-2.3.11/src/utils.c:496:65: style:inconclusive: Function 'gkrellm_locale_dup_string' argument 3 names different: declaration 'locale' definition 'dst_locale'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:550:69: note: Function 'gkrellm_locale_dup_string' argument 3 names different: declaration 'locale' definition 'dst_locale'. gkrellm-2.3.11/src/utils.c:496:65: note: Function 'gkrellm_locale_dup_string' argument 3 names different: declaration 'locale' definition 'dst_locale'. gkrellm-2.3.11/src/utils.c:142:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/utils.c:179:44: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/utils.c:192:53: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/utils.c:275:22: style: Parameter 'tbl' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/utils.c:537:25: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/win32-libgkrellm.c:1418:52: debug: Function::addArguments found argument 'config_done_func' with varid 0. [varid0] gkrellm-2.3.11/src/win32-libgkrellm.c:1421:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_done_func [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/win32.c:628:53: style: Parameter 'total' can be declared as pointer to const. However it seems that 'gkrellm_sys_cpu_add_cb' is a callback function, if 'total' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/sysdeps/win32.c:654:6: note: You might need to cast the function pointer here gkrellm-2.3.11/src/sysdeps/win32.c:628:53: note: Parameter 'total' can be declared as pointer to const gkrellm-2.3.11/src/sysdeps/win32.c:628:74: style: Parameter 'sys' can be declared as pointer to const. However it seems that 'gkrellm_sys_cpu_add_cb' is a callback function, if 'sys' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/sysdeps/win32.c:654:6: note: You might need to cast the function pointer here gkrellm-2.3.11/src/sysdeps/win32.c:628:74: note: Parameter 'sys' can be declared as pointer to const gkrellm-2.3.11/src/sysdeps/win32.c:751:33: style: Parameter 'name' can be declared as pointer to const. However it seems that 'gkrellm_sys_net_add_cb' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/sysdeps/win32.c:794:6: note: You might need to cast the function pointer here gkrellm-2.3.11/src/sysdeps/win32.c:751:33: note: Parameter 'name' can be declared as pointer to const gkrellm-2.3.11/src/sysdeps/win32.c:751:53: style: Parameter 'recv' can be declared as pointer to const. However it seems that 'gkrellm_sys_net_add_cb' is a callback function, if 'recv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/sysdeps/win32.c:794:6: note: You might need to cast the function pointer here gkrellm-2.3.11/src/sysdeps/win32.c:751:53: note: Parameter 'recv' can be declared as pointer to const gkrellm-2.3.11/src/sysdeps/win32.c:751:73: style: Parameter 'send' can be declared as pointer to const. However it seems that 'gkrellm_sys_net_add_cb' is a callback function, if 'send' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/sysdeps/win32.c:794:6: note: You might need to cast the function pointer here gkrellm-2.3.11/src/sysdeps/win32.c:751:73: note: Parameter 'send' can be declared as pointer to const gkrellm-2.3.11/src/sysdeps/win32.c:847:11: style: Variable 'disk' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/win32.c:891:39: style: Parameter 'name' can be declared as pointer to const. However it seems that 'gkrellm_sys_disk_add_cb' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/sysdeps/win32.c:931:6: note: You might need to cast the function pointer here gkrellm-2.3.11/src/sysdeps/win32.c:891:39: note: Parameter 'name' can be declared as pointer to const gkrellm-2.3.11/src/sysdeps/win32.c:891:59: style: Parameter 'read' can be declared as pointer to const. However it seems that 'gkrellm_sys_disk_add_cb' is a callback function, if 'read' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/sysdeps/win32.c:931:6: note: You might need to cast the function pointer here gkrellm-2.3.11/src/sysdeps/win32.c:891:59: note: Parameter 'read' can be declared as pointer to const gkrellm-2.3.11/src/sysdeps/win32.c:891:79: style: Parameter 'write' can be declared as pointer to const. However it seems that 'gkrellm_sys_disk_add_cb' is a callback function, if 'write' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/sysdeps/win32.c:931:6: note: You might need to cast the function pointer here gkrellm-2.3.11/src/sysdeps/win32.c:891:79: note: Parameter 'write' can be declared as pointer to const gkrellm-2.3.11/src/sysdeps/win32.c:1506:31: style: Parameter 'device' can be declared as pointer to const. However it seems that 'eject_win32_cdrom' is a callback function, if 'device' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/sysdeps/win32.c:1540:37: note: You might need to cast the function pointer here gkrellm-2.3.11/src/sysdeps/win32.c:1506:31: note: Parameter 'device' can be declared as pointer to const gkrellm-2.3.11/src/sysdeps/win32.c:1701:14: style: Variable 'tcprow' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/win32-libgkrellm.c:477:65: style:inconclusive: Function 'gkrellm_create_decal_text' argument 2 names different: declaration 'string' definition 'a'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:196:65: note: Function 'gkrellm_create_decal_text' argument 2 names different: declaration 'string' definition 'a'. gkrellm-2.3.11/src/win32-libgkrellm.c:477:65: note: Function 'gkrellm_create_decal_text' argument 2 names different: declaration 'string' definition 'a'. gkrellm-2.3.11/src/win32-libgkrellm.c:478:25: style:inconclusive: Function 'gkrellm_create_decal_text' argument 3 names different: declaration 'ts' definition 'b'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:197:25: note: Function 'gkrellm_create_decal_text' argument 3 names different: declaration 'ts' definition 'b'. gkrellm-2.3.11/src/win32-libgkrellm.c:478:25: note: Function 'gkrellm_create_decal_text' argument 3 names different: declaration 'ts' definition 'b'. gkrellm-2.3.11/src/win32-libgkrellm.c:478:42: style:inconclusive: Function 'gkrellm_create_decal_text' argument 4 names different: declaration 'style' definition 'c'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:197:43: note: Function 'gkrellm_create_decal_text' argument 4 names different: declaration 'style' definition 'c'. gkrellm-2.3.11/src/win32-libgkrellm.c:478:42: note: Function 'gkrellm_create_decal_text' argument 4 names different: declaration 'style' definition 'c'. gkrellm-2.3.11/src/win32-libgkrellm.c:478:50: style:inconclusive: Function 'gkrellm_create_decal_text' argument 5 names different: declaration 'x' definition 'd'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:198:12: note: Function 'gkrellm_create_decal_text' argument 5 names different: declaration 'x' definition 'd'. gkrellm-2.3.11/src/win32-libgkrellm.c:478:50: note: Function 'gkrellm_create_decal_text' argument 5 names different: declaration 'x' definition 'd'. gkrellm-2.3.11/src/win32-libgkrellm.c:478:58: style:inconclusive: Function 'gkrellm_create_decal_text' argument 6 names different: declaration 'y' definition 'e'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:198:20: note: Function 'gkrellm_create_decal_text' argument 6 names different: declaration 'y' definition 'e'. gkrellm-2.3.11/src/win32-libgkrellm.c:478:58: note: Function 'gkrellm_create_decal_text' argument 6 names different: declaration 'y' definition 'e'. gkrellm-2.3.11/src/win32-libgkrellm.c:478:66: style:inconclusive: Function 'gkrellm_create_decal_text' argument 7 names different: declaration 'w' definition 'f'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:198:28: note: Function 'gkrellm_create_decal_text' argument 7 names different: declaration 'w' definition 'f'. gkrellm-2.3.11/src/win32-libgkrellm.c:478:66: note: Function 'gkrellm_create_decal_text' argument 7 names different: declaration 'w' definition 'f'. gkrellm-2.3.11/src/win32-libgkrellm.c:866:41: style:inconclusive: Function 'gkrellm_reset_alert' argument 1 names different: declaration 'alert' definition 'a'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:380:41: note: Function 'gkrellm_reset_alert' argument 1 names different: declaration 'alert' definition 'a'. gkrellm-2.3.11/src/win32-libgkrellm.c:866:41: note: Function 'gkrellm_reset_alert' argument 1 names different: declaration 'alert' definition 'a'. gkrellm-2.3.11/src/win32-libgkrellm.c:918:48: style:inconclusive: Function 'gkrellm_alert_set_triggers' argument 1 names different: declaration 'alert' definition 'a'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:404:48: note: Function 'gkrellm_alert_set_triggers' argument 1 names different: declaration 'alert' definition 'a'. gkrellm-2.3.11/src/win32-libgkrellm.c:918:48: note: Function 'gkrellm_alert_set_triggers' argument 1 names different: declaration 'alert' definition 'a'. gkrellm-2.3.11/src/win32-libgkrellm.c:918:58: style:inconclusive: Function 'gkrellm_alert_set_triggers' argument 2 names different: declaration 'high_alarm' definition 'b'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:405:14: note: Function 'gkrellm_alert_set_triggers' argument 2 names different: declaration 'high_alarm' definition 'b'. gkrellm-2.3.11/src/win32-libgkrellm.c:918:58: note: Function 'gkrellm_alert_set_triggers' argument 2 names different: declaration 'high_alarm' definition 'b'. gkrellm-2.3.11/src/win32-libgkrellm.c:918:68: style:inconclusive: Function 'gkrellm_alert_set_triggers' argument 3 names different: declaration 'high_warn' definition 'c'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:405:33: note: Function 'gkrellm_alert_set_triggers' argument 3 names different: declaration 'high_warn' definition 'c'. gkrellm-2.3.11/src/win32-libgkrellm.c:918:68: note: Function 'gkrellm_alert_set_triggers' argument 3 names different: declaration 'high_warn' definition 'c'. gkrellm-2.3.11/src/win32-libgkrellm.c:919:14: style:inconclusive: Function 'gkrellm_alert_set_triggers' argument 4 names different: declaration 'low_warn' definition 'd'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:406:14: note: Function 'gkrellm_alert_set_triggers' argument 4 names different: declaration 'low_warn' definition 'd'. gkrellm-2.3.11/src/win32-libgkrellm.c:919:14: note: Function 'gkrellm_alert_set_triggers' argument 4 names different: declaration 'low_warn' definition 'd'. gkrellm-2.3.11/src/win32-libgkrellm.c:919:24: style:inconclusive: Function 'gkrellm_alert_set_triggers' argument 5 names different: declaration 'low_alarm' definition 'e'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:406:31: note: Function 'gkrellm_alert_set_triggers' argument 5 names different: declaration 'low_alarm' definition 'e'. gkrellm-2.3.11/src/win32-libgkrellm.c:919:24: note: Function 'gkrellm_alert_set_triggers' argument 5 names different: declaration 'low_alarm' definition 'e'. gkrellm-2.3.11/src/win32-libgkrellm.c:1210:44: style:inconclusive: Function 'gkrellm_locale_dup_string' argument 1 names different: declaration 'dst' definition 'a'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:550:44: note: Function 'gkrellm_locale_dup_string' argument 1 names different: declaration 'dst' definition 'a'. gkrellm-2.3.11/src/win32-libgkrellm.c:1210:44: note: Function 'gkrellm_locale_dup_string' argument 1 names different: declaration 'dst' definition 'a'. gkrellm-2.3.11/src/win32-libgkrellm.c:1210:54: style:inconclusive: Function 'gkrellm_locale_dup_string' argument 2 names different: declaration 'src' definition 'b'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:550:56: note: Function 'gkrellm_locale_dup_string' argument 2 names different: declaration 'src' definition 'b'. gkrellm-2.3.11/src/win32-libgkrellm.c:1210:54: note: Function 'gkrellm_locale_dup_string' argument 2 names different: declaration 'src' definition 'b'. gkrellm-2.3.11/src/win32-libgkrellm.c:1210:65: style:inconclusive: Function 'gkrellm_locale_dup_string' argument 3 names different: declaration 'locale' definition 'c'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:550:69: note: Function 'gkrellm_locale_dup_string' argument 3 names different: declaration 'locale' definition 'c'. gkrellm-2.3.11/src/win32-libgkrellm.c:1210:65: note: Function 'gkrellm_locale_dup_string' argument 3 names different: declaration 'locale' definition 'c'. gkrellm-2.3.11/src/win32-libgkrellm.c:1317:40: style:inconclusive: Function 'gkrellm_alert_dup' argument 1 names different: declaration 'a_dst' definition 'ap'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:377:40: note: Function 'gkrellm_alert_dup' argument 1 names different: declaration 'a_dst' definition 'ap'. gkrellm-2.3.11/src/win32-libgkrellm.c:1317:40: note: Function 'gkrellm_alert_dup' argument 1 names different: declaration 'a_dst' definition 'ap'. gkrellm-2.3.11/src/win32-libgkrellm.c:1387:43: style:inconclusive: Function 'gkrellm_create_decal_text_with_height' argument 8 names different: declaration 'y_pad' definition 'y_baseline'. [funcArgNamesDifferent] gkrellm-2.3.11/src/gkrellm-public-proto.h:204:44: note: Function 'gkrellm_create_decal_text_with_height' argument 8 names different: declaration 'y_pad' definition 'y_baseline'. gkrellm-2.3.11/src/win32-libgkrellm.c:1387:43: note: Function 'gkrellm_create_decal_text_with_height' argument 8 names different: declaration 'y_pad' definition 'y_baseline'. gkrellm-2.3.11/src/sysdeps/win32.c:1528:8: style: Variable 'err' is assigned a value that is never used. [unreadVariable] gkrellm-2.3.11/src/sysdeps/win32.c:1698:26: style: Variable 'pTcpTable' is assigned a value that is never used. [unreadVariable] gkrellm-2.3.11/src/sysdeps/linux.c:455:20: warning: Either the condition 'i>=512' is redundant or the array 'disk_name_map[45]' is accessed at index 511, which is out of bounds. [arrayIndexOutOfBoundsCond] gkrellm-2.3.11/src/sysdeps/linux.c:453:9: note: Assuming that condition 'i>=512' is not redundant gkrellm-2.3.11/src/sysdeps/linux.c:455:20: note: Array index out of bounds gkrellm-2.3.11/src/sysdeps/linux.c:221:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gkrellm-2.3.11/src/sysdeps/linux.c:258:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gkrellm-2.3.11/src/sysdeps/linux.c:1023:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gkrellm-2.3.11/src/sysdeps/linux.c:1052:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gkrellm-2.3.11/src/sysdeps/linux.c:1055:31: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gkrellm-2.3.11/src/sysdeps/linux.c:1130:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gkrellm-2.3.11/src/sysdeps/linux.c:1139:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gkrellm-2.3.11/src/sysdeps/linux.c:1241:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gkrellm-2.3.11/src/sysdeps/linux.c:1258:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gkrellm-2.3.11/src/sysdeps/linux.c:1696:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] gkrellm-2.3.11/src/sysdeps/linux.c:1710:16: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] gkrellm-2.3.11/src/sysdeps/linux.c:2161:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] gkrellm-2.3.11/src/sysdeps/linux.c:917:4: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] gkrellm-2.3.11/src/sysdeps/linux.c:917:4: warning: %x in format string (no. 3) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] gkrellm-2.3.11/src/sysdeps/linux.c:917:4: warning: %x in format string (no. 4) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] gkrellm-2.3.11/src/sysdeps/linux.c:2283:2: warning: %x in format string (no. 3) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] gkrellm-2.3.11/src/sysdeps/linux.c:2283:2: warning: %x in format string (no. 4) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] gkrellm-2.3.11/src/sysdeps/linux.c:2283:2: warning: %x in format string (no. 5) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] gkrellm-2.3.11/src/sysdeps/linux.c:2303:4: warning: %x in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] gkrellm-2.3.11/src/sysdeps/linux.c:2303:4: warning: %x in format string (no. 3) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] gkrellm-2.3.11/src/sysdeps/linux.c:219:11: style: Local variable 'rblk' shadows outer variable [shadowVariable] gkrellm-2.3.11/src/sysdeps/linux.c:152:10: note: Shadowed declaration gkrellm-2.3.11/src/sysdeps/linux.c:219:11: note: Shadow variable gkrellm-2.3.11/src/sysdeps/linux.c:219:17: style: Local variable 'wblk' shadows outer variable [shadowVariable] gkrellm-2.3.11/src/sysdeps/linux.c:152:19: note: Shadowed declaration gkrellm-2.3.11/src/sysdeps/linux.c:219:17: note: Shadow variable gkrellm-2.3.11/src/sysdeps/linux.c:509:25: style: Variable 'dm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/linux.c:535:25: style: Variable 'dm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/linux.c:535:30: style: Variable 'dm_next' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/linux.c:573:25: style: Variable 'dm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/linux.c:860:16: style: Variable 'ut' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/linux.c:904:23: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/linux.c:1291:30: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/linux.c:1499:53: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/linux.c:1502:17: style: Variable 'mnt' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/linux.c:1568:26: style: Parameter 'device' can be declared as pointer to const. However it seems that 'eject_linux_cdrom' is a callback function, if 'device' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/sysdeps/linux.c:1598:5: note: You might need to cast the function pointer here gkrellm-2.3.11/src/sysdeps/linux.c:1568:26: note: Parameter 'device' can be declared as pointer to const gkrellm-2.3.11/src/sysdeps/linux.c:1631:30: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/linux.c:1631:42: style: Parameter 'subdir' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/linux.c:1631:57: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/linux.c:2153:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/linux.c:2240:41: style: Parameter 'units' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/linux.c:2432:31: style: Parameter 'current_name' can be declared as pointer to const. However it seems that 'sensors_config_migrate' is a callback function, if 'current_name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/sysdeps/linux.c:3673:42: note: You might need to cast the function pointer here gkrellm-2.3.11/src/sysdeps/linux.c:2432:31: note: Parameter 'current_name' can be declared as pointer to const gkrellm-2.3.11/src/sysdeps/linux.c:2432:52: style: Parameter 'config_name' can be declared as pointer to const. However it seems that 'sensors_config_migrate' is a callback function, if 'config_name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/sysdeps/linux.c:3673:42: note: You might need to cast the function pointer here gkrellm-2.3.11/src/sysdeps/linux.c:2432:52: note: Parameter 'config_name' can be declared as pointer to const gkrellm-2.3.11/src/sysdeps/linux.c:2435:13: style: Variable 'config_map' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/linux.c:2437:10: style: Variable 'p0' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/linux.c:2437:15: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/linux.c:3073:26: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/linux.c:3088:35: style: Parameter 'smi' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/linux.c:3298:14: style: Variable 'smi' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/linux.c:3354:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/linux.c:3536:25: style: Parameter 'chip_name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/linux.c:3614:28: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/sysdeps/linux.c:3652:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/linux.c:3652:18: style: Variable 'bus_name' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/linux.c:3653:34: style: Variable 'd' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/sysdeps/linux.c:3827:26: style: Variable 's' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/winops-gtk-mac.c:58:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/winops-gtk-mac.c:96:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/winops-gtk-mac.c:102:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/winops-gtk-mac.c:108:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/winops-gtk-mac.c:114:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/sysdeps/linux.c:3226:12: style: Variable 'n' is assigned a value that is never used. [unreadVariable] gkrellm-2.3.11/src/winops-gtk-mac.c:147:36: style: Parameter 'geom' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/winops-gtk-mac.c:184:68: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/winops-gtk-mac.c:190:68: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/winops-gtk-mac.c:125:10: style: Variable 'n' is assigned a value that is never used. [unreadVariable] gkrellm-2.3.11/src/win32-plugin.c:456:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gkrellm_debugv [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/winops-win32.c:54:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_TYPE_HINT_UTILITY [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/winops-win32.c:139:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/winops-win32.c:191:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SOLID [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/winops-win32.c:260:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/winops-x11.c:64:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/winops-x11.c:121:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SmcCallbacks [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/winops-x11.c:226:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/winops-x11.c:282:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/winops-x11.c:341:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/winops-x11.c:397:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/winops-x11.c:451:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/winops-x11.c:482:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YNegative [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/winops-x11.c:499:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MotionNotify [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/winops-x11.c:508:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/winops-x11.c:546:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/winops-x11.c:613:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/winops-x11.c:703:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] gkrellm-2.3.11/src/winops-win32.c:65:36: style: Parameter 'geom' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/winops-x11.c:149:13: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] gkrellm-2.3.11/src/winops-x11.c:113:17: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/winops-x11.c:275:32: style: Variable 'display' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/winops-x11.c:543:17: style: Variable 'm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/net.c:781:14: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/net.c:1560:15: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/net.c:2386:22: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/net.c:2390:14: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/net.c:3087:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/net.c:3113:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/net.c:3117:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/net.c:3128:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gkrellm-2.3.11/src/net.c:3151:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/net.c:3172:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/net.c:3227:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/net.c:3231:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gkrellm-2.3.11/src/net.c:210:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/net.c:2549:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/net.c:2580:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellm-2.3.11/src/net.c:3323:22: style: Redundant assignment of 'monitor_net.name' to itself. [selfAssignment] gkrellm-2.3.11/src/net.c:3358:24: style: Redundant assignment of 'monitor_timer.name' to itself. [selfAssignment] gkrellm-2.3.11/src/net.c:175:39: style: Parameter 'net2' can be declared as pointer to const. However it seems that 'strcmp_net_name' is a callback function, if 'net2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/net.c:252:20: note: You might need to cast the function pointer here gkrellm-2.3.11/src/net.c:175:39: note: Parameter 'net2' can be declared as pointer to const gkrellm-2.3.11/src/net.c:260:19: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/net.c:420:10: style: Variable 'net' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/net.c:703:69: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'net_stats_window_configure_cb' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/net.c:776:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/net.c:703:69: note: Parameter 'ev' can be declared as pointer to const gkrellm-2.3.11/src/net.c:704:13: style: Parameter 'data' can be declared as pointer to const. However it seems that 'net_stats_window_configure_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/net.c:776:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/net.c:704:13: note: Parameter 'data' can be declared as pointer to const gkrellm-2.3.11/src/net.c:976:25: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/net.c:976:44: style: Parameter 'ev' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/net.c:1149:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/net.c:1241:18: style: Variable 's1' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/net.c:1520:51: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'cb_panel_press' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/net.c:1626:3: note: You might need to cast the function pointer here gkrellm-2.3.11/src/net.c:1520:51: note: Parameter 'ev' can be declared as pointer to const gkrellm-2.3.11/src/net.c:1532:11: style: Variable 'net' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/net.c:1695:37: style: Parameter 'tm' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/net.c:1711:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/net.c:1712:11: style: Variable 'net' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/net.c:1763:75: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gkrellm-2.3.11/src/net.c:1861:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/net.c:2002:18: style: Variable 'm' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/net.c:2003:18: style: Variable 'tb' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/net.c:2261:13: style: Variable 'tt' can be declared as pointer to const [constVariablePointer] gkrellm-2.3.11/src/net.c:2541:24: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'load_net_config' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/net.c:3275:2: note: You might need to cast the function pointer here gkrellm-2.3.11/src/net.c:2541:24: note: Parameter 'arg' can be declared as pointer to const gkrellm-2.3.11/src/net.c:2948:55: style: Parameter 'data' can be declared as pointer to const. However it seems that 'cb_net_enabled_as_default' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellm-2.3.11/src/net.c:3247:4: note: You might need to cast the function pointer here gkrellm-2.3.11/src/net.c:2948:55: note: Parameter 'data' can be declared as pointer to const diff: DONE