2026-01-09 02:30 ftp://ftp.de.debian.org/debian/pool/main/e/etherape/etherape_0.9.21.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=cairo --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 -j1 platform: Linux-6.8.0-90-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.19.0 head-info: 1019e7a (2026-01-08 20:55:13 +0100) count: 225 225 elapsed-time: 3.9 4.0 head-timing-info: old-timing-info: head results: etherape-0.9.21/src/common.h:134:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/appdata.c:43:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_LIVE [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/appdata.c:62:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_LIVE [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/appdata.c:79:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLADEDIR [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/appdata.c:86:5: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] etherape-0.9.21/src/callbacks.c:28:42: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] etherape-0.9.21/src/callbacks.c:29:46: style: Parameter 'allocation' can be declared as pointer to const [constParameterPointer] etherape-0.9.21/src/callbacks.c:29:67: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] etherape-0.9.21/src/callbacks.c:43:49: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] etherape-0.9.21/src/callbacks.c:44:54: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] etherape-0.9.21/src/callbacks.c:45:47: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] etherape-0.9.21/src/capture/cap-util.c:46:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/cap-util.c:62:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/cap-util.c:79:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/cap-util.c:83:22: warning: Uninitialized variable: status [uninitvar] etherape-0.9.21/src/capture/cap-util.c:80:13: note: Assuming condition is false etherape-0.9.21/src/capture/cap-util.c:83:22: note: Uninitialized variable: status etherape-0.9.21/src/capture/capctl.c:77:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_LIVE [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/capctl.c:131:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/capctl.c:148:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/capctl.c:173:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/capctl.c:283:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable now [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/capctl.c:295:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable interface [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/capctl.c:352:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable now [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/capctl.c:410:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/capctl.c:416:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/capctl.c:440:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/capctl.c:518:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/capctl.c:529:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/capctl.c:559:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/capctl.c:656:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/capctl.c:678:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/capctl.c:696:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/capctl.c:750:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/capctl.c:763:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/capctl.c:139:8: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] etherape-0.9.21/src/capture/capctl.c:581:5: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] etherape-0.9.21/src/capture/capctl.c:637:5: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] etherape-0.9.21/src/capture/capctl.c:407:46: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'filecap_timeout_destroy' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.21/src/capture/capctl.c:521:41: note: You might need to cast the function pointer here etherape-0.9.21/src/capture/capctl.c:407:46: note: Parameter 'unused' can be declared as pointer to const etherape-0.9.21/src/capture/capture.c:85:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/capture.c:93:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/capture.c:148:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/capture.c:184:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/capture.c:327:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/capture.c:352:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/capture.c:385:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/capture.c:419:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/capture/capture.c:147:14: style: Variable 'dev' can be declared as pointer to const [constVariablePointer] etherape-0.9.21/src/datastructs.c:245:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/datastructs.c:385:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/datastructs.c:382:17: portability: Non reentrant function 'getservent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservent_r'. [prohibitedgetserventCalled] etherape-0.9.21/src/datastructs.c:280:5: warning: If memory allocation fails, then there is a possible null pointer dereference: compacted [nullPointerOutOfMemory] etherape-0.9.21/src/datastructs.c:276:21: note: Assuming allocation function fails etherape-0.9.21/src/datastructs.c:276:21: note: Assignment 'compacted=malloc(sizeof(char*)*(g_list_length(work)+1))', assigned value is 0 etherape-0.9.21/src/datastructs.c:280:5: note: Null pointer dereference etherape-0.9.21/src/datastructs.c:283:3: warning: If memory allocation fails, then there is a possible null pointer dereference: compacted [nullPointerOutOfMemory] etherape-0.9.21/src/datastructs.c:276:21: note: Assuming allocation function fails etherape-0.9.21/src/datastructs.c:276:21: note: Assignment 'compacted=malloc(sizeof(char*)*(g_list_length(work)+1))', assigned value is 0 etherape-0.9.21/src/datastructs.c:283:3: note: Null pointer dereference etherape-0.9.21/src/datastructs.c:319:74: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'services_port_cmp' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.21/src/datastructs.c:380:34: note: You might need to cast the function pointer here etherape-0.9.21/src/datastructs.c:319:74: note: Parameter 'unused' can be declared as pointer to const etherape-0.9.21/src/datastructs.c:334:74: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'services_name_cmp' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.21/src/datastructs.c:378:35: note: You might need to cast the function pointer here etherape-0.9.21/src/datastructs.c:334:74: note: Parameter 'unused' can be declared as pointer to const etherape-0.9.21/src/datastructs.c:345:58: style: Parameter 'value' can be declared as pointer to const. However it seems that 'services_port_trv' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.21/src/datastructs.c:397:32: note: You might need to cast the function pointer here etherape-0.9.21/src/datastructs.c:345:58: note: Parameter 'value' can be declared as pointer to const etherape-0.9.21/src/datastructs.c:299:13: style: Variable 'cur' is assigned a value that is never used. [unreadVariable] etherape-0.9.21/src/diagram.c:280:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/diagram.c:325:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STYLE_PROVIDER_PRIORITY_APPLICATION [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/diagram.c:410:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXDOUBLE [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/diagram.c:1035:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_FILE [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/diagram.c:1096:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/diagram.c:1212:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/diagram.c:1323:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/diagram.c:1425:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/diagram.c:1460:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/diagram.c:1762:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/diagram.c:1953:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/diagram.c:2037:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/diagram.c:1839:18: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] etherape-0.9.21/src/diagram.c:1885:18: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] etherape-0.9.21/src/diagram.c:576:3: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] etherape-0.9.21/src/diagram.c:257:30: style:inconclusive: Function 'ask_reposition' argument 1 names different: declaration 'refresh_font' definition 'r_font'. [funcArgNamesDifferent] etherape-0.9.21/src/diagram.h:36:30: note: Function 'ask_reposition' argument 1 names different: declaration 'refresh_font' definition 'r_font'. etherape-0.9.21/src/diagram.c:257:30: note: Function 'ask_reposition' argument 1 names different: declaration 'refresh_font' definition 'r_font'. etherape-0.9.21/src/diagram.c:920:47: style:inconclusive: Function 'canvas_node_delete' argument 1 names different: declaration 'cn' definition 'canvas_node'. [funcArgNamesDifferent] etherape-0.9.21/src/diagram.c:86:47: note: Function 'canvas_node_delete' argument 1 names different: declaration 'cn' definition 'canvas_node'. etherape-0.9.21/src/diagram.c:920:47: note: Function 'canvas_node_delete' argument 1 names different: declaration 'cn' definition 'canvas_node'. etherape-0.9.21/src/diagram.c:1307:43: style:inconclusive: Function 'canvas_node_update' argument 1 names different: declaration 'ether_addr' definition 'node_id'. [funcArgNamesDifferent] etherape-0.9.21/src/diagram.c:87:44: note: Function 'canvas_node_update' argument 1 names different: declaration 'ether_addr' definition 'node_id'. etherape-0.9.21/src/diagram.c:1307:43: note: Function 'canvas_node_update' argument 1 names different: declaration 'ether_addr' definition 'node_id'. etherape-0.9.21/src/diagram.c:1456:65: style:inconclusive: Function 'add_ordered_node' argument 2 names different: declaration 'canvas_node' definition 'node'. [funcArgNamesDifferent] etherape-0.9.21/src/diagram.c:197:45: note: Function 'add_ordered_node' argument 2 names different: declaration 'canvas_node' definition 'node'. etherape-0.9.21/src/diagram.c:1456:65: note: Function 'add_ordered_node' argument 2 names different: declaration 'canvas_node' definition 'node'. etherape-0.9.21/src/diagram.c:1578:61: style:inconclusive: Function 'reposition_canvas_nodes_prep' argument 3 names different: declaration 'data' definition 'rdata'. [funcArgNamesDifferent] etherape-0.9.21/src/diagram.c:207:61: note: Function 'reposition_canvas_nodes_prep' argument 3 names different: declaration 'data' definition 'rdata'. etherape-0.9.21/src/diagram.c:1578:61: note: Function 'reposition_canvas_nodes_prep' argument 3 names different: declaration 'data' definition 'rdata'. etherape-0.9.21/src/diagram.c:285:40: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] etherape-0.9.21/src/diagram.c:285:55: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] etherape-0.9.21/src/diagram.c:384:64: style: Parameter 'node' can be declared as pointer to const. However it seems that 'find_bounds' is a callback function, if 'node' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.21/src/diagram.c:416:47: note: You might need to cast the function pointer here etherape-0.9.21/src/diagram.c:384:64: note: Parameter 'node' can be declared as pointer to const etherape-0.9.21/src/diagram.c:554:18: style: Variable 'clicked_node' can be declared as pointer to const [constVariablePointer] etherape-0.9.21/src/diagram.c:561:18: style: Variable 'clicked_link' can be declared as pointer to const [constVariablePointer] etherape-0.9.21/src/diagram.c:580:18: style: Variable 'hovered_link' can be declared as pointer to const [constVariablePointer] etherape-0.9.21/src/diagram.c:590:67: style: Parameter 'rect' can be declared as pointer to const [constParameterPointer] etherape-0.9.21/src/diagram.c:1551:39: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] etherape-0.9.21/src/diagram.c:1985:42: style: Parameter 'dummy' can be declared as pointer to const. However it seems that 'canvas_node_compare' is a callback function, if 'dummy' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.21/src/diagram.c:305:52: note: You might need to cast the function pointer here etherape-0.9.21/src/diagram.c:1985:42: note: Parameter 'dummy' can be declared as pointer to const etherape-0.9.21/src/diagram.c:1993:42: style: Parameter 'dummy' can be declared as pointer to const. However it seems that 'canvas_link_compare' is a callback function, if 'dummy' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.21/src/diagram.c:307:52: note: You might need to cast the function pointer here etherape-0.9.21/src/diagram.c:1993:42: note: Parameter 'dummy' can be declared as pointer to const etherape-0.9.21/src/export.c:44:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_FILE [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/export.c:73:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/export.c:50:11: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] etherape-0.9.21/src/export.c:98:22: style: Parameter 'ofile' can be declared as pointer to const [constParameterPointer] etherape-0.9.21/src/info_windows.c:203:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/info_windows.c:112:5: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] etherape-0.9.21/src/info_windows.c:121:5: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] etherape-0.9.21/src/info_windows.c:805:5: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] etherape-0.9.21/src/info_windows.c:625:62: style:inconclusive: Function 'on_delete_protocol_window' argument 2 names different: declaration 'e' definition 'evt'. [funcArgNamesDifferent] etherape-0.9.21/src/info_windows.h:37:62: note: Function 'on_delete_protocol_window' argument 2 names different: declaration 'e' definition 'evt'. etherape-0.9.21/src/info_windows.c:625:62: note: Function 'on_delete_protocol_window' argument 2 names different: declaration 'e' definition 'evt'. etherape-0.9.21/src/info_windows.c:655:75: style:inconclusive: Function 'on_prot_list_select_row' argument 3 names different: declaration 'ud' definition 'user_data'. [funcArgNamesDifferent] etherape-0.9.21/src/info_windows.h:36:43: note: Function 'on_prot_list_select_row' argument 3 names different: declaration 'ud' definition 'user_data'. etherape-0.9.21/src/info_windows.c:655:75: note: Function 'on_prot_list_select_row' argument 3 names different: declaration 'ud' definition 'user_data'. etherape-0.9.21/src/info_windows.c:923:53: style:inconclusive: Function 'update_node_protocols_window' argument 1 names different: declaration 'node_window' definition 'window'. [funcArgNamesDifferent] etherape-0.9.21/src/info_windows.c:82:53: note: Function 'update_node_protocols_window' argument 1 names different: declaration 'node_window' definition 'window'. etherape-0.9.21/src/info_windows.c:923:53: note: Function 'update_node_protocols_window' argument 1 names different: declaration 'node_window' definition 'window'. etherape-0.9.21/src/info_windows.c:517:10: style: Variable 'item' can be declared as pointer to const [constVariablePointer] etherape-0.9.21/src/info_windows.c:625:47: style: Parameter 'wdg' can be declared as pointer to const [constParameterPointer] etherape-0.9.21/src/info_windows.c:625:62: style: Parameter 'evt' can be declared as pointer to const [constParameterPointer] etherape-0.9.21/src/info_windows.c:625:76: style: Parameter 'ud' can be declared as pointer to const [constParameterPointer] etherape-0.9.21/src/main.c:178:34: error: There is an unknown macro here somewhere. Configuration is required. If PIXMAPS_DIR is a macro then please configure it. [unknownMacro] etherape-0.9.21/src/menus.c:364:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [syntaxError] etherape-0.9.21/src/names/ares_resolve.c:83:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/names/ares_resolve.c:98:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARES_LIB_INIT_ALL [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/names/ares_resolve.c:123:79: style: Parameter 'hostent' can be declared as pointer to const. However it seems that 'rdns_ares_cb' is a callback function, if 'hostent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.21/src/names/ares_resolve.c:168:22: note: You might need to cast the function pointer here etherape-0.9.21/src/names/ares_resolve.c:123:79: note: Parameter 'hostent' can be declared as pointer to const etherape-0.9.21/src/names/dns.c:56:35: style:inconclusive: Function 'dns_lookup' argument 1 names different: declaration 'address' definition 'addr'. [funcArgNamesDifferent] etherape-0.9.21/src/names/dns.h:31:35: note: Function 'dns_lookup' argument 1 names different: declaration 'address' definition 'addr'. etherape-0.9.21/src/names/dns.c:56:35: note: Function 'dns_lookup' argument 1 names different: declaration 'address' definition 'addr'. etherape-0.9.21/src/names/eth_resolv.c:95:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/names/ip-cache.c:117:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name_res [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/names/ip-cache.c:41:69: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'addr_tree_cmp' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.21/src/names/ip-cache.c:96:34: note: You might need to cast the function pointer here etherape-0.9.21/src/names/ip-cache.c:41:69: note: Parameter 'unused' can be declared as pointer to const etherape-0.9.21/src/names/names.c:203:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable node_id_t [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/names/names.c:274:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name_res [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/names/names.c:285:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINK6 [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/names/names.c:302:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_FDDI [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/names/names.c:337:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/names/names.c:350:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/names/names.c:370:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/names/names.c:403:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name_res [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/names/names.c:429:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/names/names.c:512:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXDNAME [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/names/names.c:560:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXDNAME [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/names/names.c:628:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable node_name_id_compare [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/names/names.c:535:19: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] etherape-0.9.21/src/names/names.c:590:19: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] etherape-0.9.21/src/names/names.c:609:35: style:inconclusive: Function 'add_name' argument 1 names different: declaration 'numeric' definition 'numeric_name'. [funcArgNamesDifferent] etherape-0.9.21/src/names/names.c:117:35: note: Function 'add_name' argument 1 names different: declaration 'numeric' definition 'numeric_name'. etherape-0.9.21/src/names/names.c:609:35: note: Function 'add_name' argument 1 names different: declaration 'numeric' definition 'numeric_name'. etherape-0.9.21/src/names/names.c:609:62: style:inconclusive: Function 'add_name' argument 2 names different: declaration 'resolved' definition 'resolved_name'. [funcArgNamesDifferent] etherape-0.9.21/src/names/names.c:117:57: note: Function 'add_name' argument 2 names different: declaration 'resolved' definition 'resolved_name'. etherape-0.9.21/src/names/names.c:609:62: note: Function 'add_name' argument 2 names different: declaration 'resolved' definition 'resolved_name'. etherape-0.9.21/src/names/names.c:268:38: style: Parameter 'nt' can be declared as pointer to const [constParameterPointer] etherape-0.9.21/src/names/names.c:394:38: style: Parameter 'nt' can be declared as pointer to const [constParameterPointer] etherape-0.9.21/src/names/names.c:613:10: style: Variable 'name_item' can be declared as pointer to const [constVariablePointer] etherape-0.9.21/src/names/names.c:583:9: style: Variable 'len' is assigned a value that is never used. [unreadVariable] etherape-0.9.21/src/names/names_netbios.c:223:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXDNAME [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/names/names_netbios.c:190:62: style:inconclusive: Function 'process_netbios_name' argument 2 names different: declaration 'name_ret' definition 'outname'. [funcArgNamesDifferent] etherape-0.9.21/src/names/names_netbios.c:91:62: note: Function 'process_netbios_name' argument 2 names different: declaration 'name_ret' definition 'outname'. etherape-0.9.21/src/names/names_netbios.c:190:62: note: Function 'process_netbios_name' argument 2 names different: declaration 'name_ret' definition 'outname'. etherape-0.9.21/src/names/names_netbios.c:190:78: style:inconclusive: Function 'process_netbios_name' argument 3 names different: declaration 'maxname' definition 'outname_size'. [funcArgNamesDifferent] etherape-0.9.21/src/names/names_netbios.c:91:79: note: Function 'process_netbios_name' argument 3 names different: declaration 'maxname' definition 'outname_size'. etherape-0.9.21/src/names/names_netbios.c:190:78: note: Function 'process_netbios_name' argument 3 names different: declaration 'maxname' definition 'outname_size'. etherape-0.9.21/src/names/thread_resolve.c:153:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/names/thread_resolve.c:206:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_CREATE_DETACHED [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/names/thread_resolve.c:112:9: style: Condition '!request_stop_thread' is always true [knownConditionTrueFalse] etherape-0.9.21/src/names/thread_resolve.c:109:10: note: Assuming that condition '!request_stop_thread' is not redundant etherape-0.9.21/src/names/thread_resolve.c:112:9: note: Condition '!request_stop_thread' is always true etherape-0.9.21/src/names/thread_resolve.c:309:38: style:inconclusive: Function 'thread_lookup' argument 1 names different: declaration 'address' definition 'ip'. [funcArgNamesDifferent] etherape-0.9.21/src/names/thread_resolve.h:27:38: note: Function 'thread_lookup' argument 1 names different: declaration 'address' definition 'ip'. etherape-0.9.21/src/names/thread_resolve.c:309:38: note: Function 'thread_lookup' argument 1 names different: declaration 'address' definition 'ip'. etherape-0.9.21/src/names/thread_resolve.c:103:20: style: Variable 'saptr' can be declared as pointer to const [constVariablePointer] etherape-0.9.21/src/names/thread_resolve.c:250:44: style: Parameter 'ip' can be declared as pointer to const [constParameterPointer] etherape-0.9.21/src/node_windows.c:54:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/node_windows.c:407:14: style: Local variable 'nodes_check' shadows outer variable [shadowVariable] etherape-0.9.21/src/node_windows.c:43:26: note: Shadowed declaration etherape-0.9.21/src/node_windows.c:407:14: note: Shadow variable etherape-0.9.21/src/node_windows.c:100:42: style: Parameter 'data' can be declared as pointer to const. However it seems that 'nodes_table_compare' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.21/src/node_windows.c:233:37: note: You might need to cast the function pointer here etherape-0.9.21/src/node_windows.c:100:42: note: Parameter 'data' can be declared as pointer to const etherape-0.9.21/src/node_windows.c:312:60: style: Parameter 'value' can be declared as pointer to const. However it seems that 'nodes_table_iterate' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.21/src/node_windows.c:375:25: note: You might need to cast the function pointer here etherape-0.9.21/src/node_windows.c:312:60: note: Parameter 'value' can be declared as pointer to const etherape-0.9.21/src/node_windows.c:391:47: style: Parameter 'wdg' can be declared as pointer to const [constParameterPointer] etherape-0.9.21/src/node_windows.c:391:62: style: Parameter 'evt' can be declared as pointer to const [constParameterPointer] etherape-0.9.21/src/node_windows.c:391:76: style: Parameter 'ud' can be declared as pointer to const [constParameterPointer] etherape-0.9.21/src/pref_dialog.c:144:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/pref_dialog.c:86:17: style: Variable 'model' can be declared as pointer to const [constVariablePointer] etherape-0.9.21/src/pref_dialog.c:361:43: style: Parameter 'button' can be declared as pointer to const [constParameterPointer] etherape-0.9.21/src/pref_dialog.c:361:60: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] etherape-0.9.21/src/pref_dialog.c:383:45: style: Parameter 'button' can be declared as pointer to const [constParameterPointer] etherape-0.9.21/src/pref_dialog.c:383:62: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] etherape-0.9.21/src/pref_dialog.c:499:8: style: Unused variable: isadd [unusedVariable] etherape-0.9.21/src/preferences.c:364:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/preferences.c:279:7: error: Memory leak: gkey [memleak] etherape-0.9.21/src/preferences.c:387:38: style:inconclusive: Function 'free_config' argument 1 names different: declaration 't' definition 'p'. [funcArgNamesDifferent] etherape-0.9.21/src/preferences.h:102:38: note: Function 'free_config' argument 1 names different: declaration 't' definition 'p'. etherape-0.9.21/src/preferences.c:387:38: note: Function 'free_config' argument 1 names different: declaration 't' definition 'p'. etherape-0.9.21/src/stats/basic_stats.c:137:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable total_mem_packets [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/basic_stats.c:160:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable now [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/basic_stats.c:184:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable now [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/basic_stats.c:239:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable now [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/conversations.c:125:10: style: Variable 'item' can be declared as pointer to const [constVariablePointer] etherape-0.9.21/src/stats/decode_proto.c:192:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/decode_proto.c:265:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable now [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/decode_proto.c:375:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_LOOP [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/decode_proto.c:408:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_ENABLED [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/decode_proto.c:982:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/decode_proto.c:1232:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/decode_proto.c:1249:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/decode_proto.c:1336:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/decode_proto.c:1582:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/decode_proto.c:1584:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] etherape-0.9.21/src/stats/decode_proto.c:1587:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] etherape-0.9.21/src/stats/decode_proto.c:1591:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] etherape-0.9.21/src/stats/decode_proto.c:1597:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] etherape-0.9.21/src/stats/decode_proto.c:1593:16: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] etherape-0.9.21/src/stats/decode_proto.c:1599:16: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] etherape-0.9.21/src/stats/decode_proto.c:248:30: style:inconclusive: Function 'packet_acquired' argument 1 names different: declaration 'packet' definition 'cap_bytes'. [funcArgNamesDifferent] etherape-0.9.21/src/stats/decode_proto.h:27:30: note: Function 'packet_acquired' argument 1 names different: declaration 'packet' definition 'cap_bytes'. etherape-0.9.21/src/stats/decode_proto.c:248:30: note: Function 'packet_acquired' argument 1 names different: declaration 'packet' definition 'cap_bytes'. etherape-0.9.21/src/stats/decode_proto.c:248:47: style:inconclusive: Function 'packet_acquired' argument 2 names different: declaration 'raw_size' definition 'cap_size'. [funcArgNamesDifferent] etherape-0.9.21/src/stats/decode_proto.h:27:44: note: Function 'packet_acquired' argument 2 names different: declaration 'raw_size' definition 'cap_size'. etherape-0.9.21/src/stats/decode_proto.c:248:47: note: Function 'packet_acquired' argument 2 names different: declaration 'raw_size' definition 'cap_size'. etherape-0.9.21/src/stats/decode_proto.c:248:63: style:inconclusive: Function 'packet_acquired' argument 3 names different: declaration 'pkt_size' definition 'orig_size'. [funcArgNamesDifferent] etherape-0.9.21/src/stats/decode_proto.h:27:60: note: Function 'packet_acquired' argument 3 names different: declaration 'pkt_size' definition 'orig_size'. etherape-0.9.21/src/stats/decode_proto.c:248:63: note: Function 'packet_acquired' argument 3 names different: declaration 'pkt_size' definition 'orig_size'. etherape-0.9.21/src/stats/links.c:212:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable proto_link_timeout_time [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/links.c:280:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_ENABLED [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/links.c:161:17: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] etherape-0.9.21/src/stats/links.c:199:55: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'gfunc_remove_link' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.21/src/stats/links.c:358:31: note: You might need to cast the function pointer here etherape-0.9.21/src/stats/links.c:199:55: note: Parameter 'user_data' can be declared as pointer to const etherape-0.9.21/src/stats/links.c:250:78: style: Parameter 'dummy' can be declared as pointer to const. However it seems that 'links_catalog_compare' is a callback function, if 'dummy' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.21/src/stats/links.c:259:31: note: You might need to cast the function pointer here etherape-0.9.21/src/stats/links.c:250:78: note: Parameter 'dummy' can be declared as pointer to const etherape-0.9.21/src/stats/links.c:379:54: style: Parameter 'value' can be declared as pointer to const. However it seems that 'link_dump_tvs' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.21/src/stats/links.c:399:25: note: You might need to cast the function pointer here etherape-0.9.21/src/stats/links.c:379:54: note: Parameter 'value' can be declared as pointer to const etherape-0.9.21/src/stats/node.c:106:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFO_ENABLED [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/node.c:130:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFO_ENABLED [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/node.c:224:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable proto_node_timeout_time [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/node.c:279:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/node.c:301:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_ENABLED [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/node.c:412:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/node.c:543:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/node.c:623:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/node.c:706:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NS_HOSTNAME [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/node.c:742:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NS_HOSTNAME [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/node.c:167:17: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] etherape-0.9.21/src/stats/node.c:661:45: style:inconclusive: Function 'parse_nodeset_spec_list' argument 1 names different: declaration 's' definition 'orig_s'. [funcArgNamesDifferent] etherape-0.9.21/src/stats/node.h:81:45: note: Function 'parse_nodeset_spec_list' argument 1 names different: declaration 's' definition 'orig_s'. etherape-0.9.21/src/stats/node.c:661:45: note: Function 'parse_nodeset_spec_list' argument 1 names different: declaration 's' definition 'orig_s'. etherape-0.9.21/src/stats/node.c:442:78: style: Parameter 'dummy' can be declared as pointer to const. However it seems that 'nodes_catalog_compare' is a callback function, if 'dummy' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.21/src/stats/node.c:451:31: note: You might need to cast the function pointer here etherape-0.9.21/src/stats/node.c:442:78: note: Parameter 'dummy' can be declared as pointer to const etherape-0.9.21/src/stats/node.c:517:55: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'gfunc_remove_node' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.21/src/stats/node.c:538:31: note: You might need to cast the function pointer here etherape-0.9.21/src/stats/node.c:517:55: note: Parameter 'user_data' can be declared as pointer to const etherape-0.9.21/src/stats/node.c:546:54: style: Parameter 'value' can be declared as pointer to const. However it seems that 'node_dump_tvs' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.21/src/stats/node.c:566:25: note: You might need to cast the function pointer here etherape-0.9.21/src/stats/node.c:546:54: note: Parameter 'value' can be declared as pointer to const etherape-0.9.21/src/stats/node.c:605:10: style: Variable 'pfxlen_str' can be declared as pointer to const [constVariablePointer] etherape-0.9.21/src/stats/node_id.c:35:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APEMODE_DEFAULT [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/node_id.c:237:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_ENABLED [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/node_id.c:40:39: style:inconclusive: Function 'node_id_compare' argument 1 names different: declaration 'a' definition 'na'. [funcArgNamesDifferent] etherape-0.9.21/src/stats/node_id.h:38:39: note: Function 'node_id_compare' argument 1 names different: declaration 'a' definition 'na'. etherape-0.9.21/src/stats/node_id.c:40:39: note: Function 'node_id_compare' argument 1 names different: declaration 'a' definition 'na'. etherape-0.9.21/src/stats/node_id.c:40:60: style:inconclusive: Function 'node_id_compare' argument 2 names different: declaration 'b' definition 'nb'. [funcArgNamesDifferent] etherape-0.9.21/src/stats/node_id.h:38:59: note: Function 'node_id_compare' argument 2 names different: declaration 'b' definition 'nb'. etherape-0.9.21/src/stats/node_id.c:40:60: note: Function 'node_id_compare' argument 2 names different: declaration 'b' definition 'nb'. etherape-0.9.21/src/stats/protocols.c:56:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/protocols.c:148:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/protocols.c:197:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable now [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/protocols.c:263:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/protocols.c:536:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable proto_timeout_time [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/protocols.c:611:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable averaging_time [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/protocols.c:303:11: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] etherape-0.9.21/src/stats/protocols.c:346:40: warning: Possible null pointer dereference: msg_level [nullPointer] etherape-0.9.21/src/stats/protocols.c:328:17: note: Assignment 'msg_level=NULL', assigned value is 0 etherape-0.9.21/src/stats/protocols.c:329:12: note: Assuming condition is false etherape-0.9.21/src/stats/protocols.c:346:40: note: Null pointer dereference etherape-0.9.21/src/stats/protocols.c:161:53: style:inconclusive: Function 'protocol_stack_avg' argument 2 names different: declaration 'avg_usecs' definition 'avgtime'. [funcArgNamesDifferent] etherape-0.9.21/src/stats/protocols.h:57:53: note: Function 'protocol_stack_avg' argument 2 names different: declaration 'avg_usecs' definition 'avgtime'. etherape-0.9.21/src/stats/protocols.c:161:53: note: Function 'protocol_stack_avg' argument 2 names different: declaration 'avg_usecs' definition 'avgtime'. etherape-0.9.21/src/stats/protocols.c:257:15: style: Variable 'protocol' can be declared as pointer to const [constVariablePointer] etherape-0.9.21/src/stats/protocols.c:594:65: style: Parameter 'value' can be declared as pointer to const. However it seems that 'protosum_accumulate_link' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.21/src/stats/protocols.c:609:25: note: You might need to cast the function pointer here etherape-0.9.21/src/stats/protocols.c:594:65: note: Parameter 'value' can be declared as pointer to const etherape-0.9.21/src/stats/traffic_stats.c:119:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable now [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/traffic_stats.c:134:5: warning: Return value of function g_queue_pop_tail() is not used. [ignoredReturnValue] etherape-0.9.21/src/stats/traffic_stats.c:164:65: style:inconclusive: Function 'traffic_stats_update' argument 2 names different: declaration 'pkt_expire_time' definition 'avg_time'. [funcArgNamesDifferent] etherape-0.9.21/src/stats/traffic_stats.h:42:65: note: Function 'traffic_stats_update' argument 2 names different: declaration 'pkt_expire_time' definition 'avg_time'. etherape-0.9.21/src/stats/traffic_stats.c:164:65: note: Function 'traffic_stats_update' argument 2 names different: declaration 'pkt_expire_time' definition 'avg_time'. etherape-0.9.21/src/stats/util.c:282:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/stats/util.c:310:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable now [valueFlowBailoutIncompleteVar] etherape-0.9.21/src/ui_utils.c:146:11: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] etherape-0.9.21/src/ui_utils.c:42:33: style:inconclusive: Function 'update_gtklabel' argument 1 names different: declaration 'wnd' definition 'window'. [funcArgNamesDifferent] etherape-0.9.21/src/ui_utils.h:42:33: note: Function 'update_gtklabel' argument 1 names different: declaration 'wnd' definition 'window'. etherape-0.9.21/src/ui_utils.c:42:33: note: Function 'update_gtklabel' argument 1 names different: declaration 'wnd' definition 'window'. etherape-0.9.21/src/ui_utils.c:53:29: style:inconclusive: Function 'show_widget' argument 1 names different: declaration 'wnd' definition 'window'. [funcArgNamesDifferent] etherape-0.9.21/src/ui_utils.h:45:29: note: Function 'show_widget' argument 1 names different: declaration 'wnd' definition 'window'. etherape-0.9.21/src/ui_utils.c:53:29: note: Function 'show_widget' argument 1 names different: declaration 'wnd' definition 'window'. etherape-0.9.21/src/ui_utils.c:58:29: style:inconclusive: Function 'hide_widget' argument 1 names different: declaration 'wnd' definition 'window'. [funcArgNamesDifferent] etherape-0.9.21/src/ui_utils.h:46:29: note: Function 'hide_widget' argument 1 names different: declaration 'wnd' definition 'window'. etherape-0.9.21/src/ui_utils.c:58:29: note: Function 'hide_widget' argument 1 names different: declaration 'wnd' definition 'window'. etherape-0.9.21/src/ui_utils.c:132:9: style: Variable 'env_value' can be declared as pointer to const [constVariablePointer] diff: DONE