2025-05-09 01:15 ftp://ftp.de.debian.org/debian/pool/main/x/xfce4-dict/xfce4-dict_0.8.8.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=motif --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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 66c9938 (2025-05-08 13:55:11 +0200) count: 122 122 elapsed-time: 0.4 0.4 head-timing-info: old-timing-info: head results: xfce4-dict-0.8.8/lib/common.c:372:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XFCE_RESOURCE_CONFIG [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/common.c:451:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XFCE_RESOURCE_CONFIG [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/common.c:577:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/common.c:590:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_PRIMARY [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/common.c:620:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BUS_TYPE_SESSION [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/dbus.c:191:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRV [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/dbus.c:238:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/dbus.c:426:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/dbus.c:485:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/dbus.c:553:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dict_proxy_parent_class [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/dbus.c:589:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GValue [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/dbus.c:706:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/dbus.c:796:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/dbus.c:903:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VALUE_INIT [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/dbus.c:958:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VALUE_INIT [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/dbus.c:992:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VALUE_INIT [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/dbus.c:1050:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_PROPERTY_INFO_FLAGS_READABLE [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/dbus.c:1091:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dict_skeleton_parent_class [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/dictd.c:63:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/dictd.c:199:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_UNDERLINE_SINGLE [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/dictd.c:673:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_RESTART [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/dictd.c:765:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/dbus.c:334:41: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] xfce4-dict-0.8.8/lib/dbus.c:372:31: style: Parameter 'iface' can be declared as pointer to const [constParameterPointer] xfce4-dict-0.8.8/lib/dbus.c:557:40: style: Parameter 'object' can be declared as pointer to const. However it seems that 'dict_proxy_get_property' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-dict-0.8.8/lib/dbus.c:662:33: note: You might need to cast the function pointer here xfce4-dict-0.8.8/lib/dbus.c:557:40: note: Parameter 'object' can be declared as pointer to const xfce4-dict-0.8.8/lib/dbus.c:559:17: style: Parameter 'value' can be declared as pointer to const. However it seems that 'dict_proxy_get_property' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-dict-0.8.8/lib/dbus.c:662:33: note: You might need to cast the function pointer here xfce4-dict-0.8.8/lib/dbus.c:559:17: note: Parameter 'value' can be declared as pointer to const xfce4-dict-0.8.8/lib/dbus.c:560:17: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'dict_proxy_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-dict-0.8.8/lib/dbus.c:662:33: note: You might need to cast the function pointer here xfce4-dict-0.8.8/lib/dbus.c:560:17: note: Parameter 'pspec' can be declared as pointer to const xfce4-dict-0.8.8/lib/dbus.c:565:40: style: Parameter 'object' can be declared as pointer to const. However it seems that 'dict_proxy_set_property' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-dict-0.8.8/lib/dbus.c:663:33: note: You might need to cast the function pointer here xfce4-dict-0.8.8/lib/dbus.c:565:40: note: Parameter 'object' can be declared as pointer to const xfce4-dict-0.8.8/lib/dbus.c:568:17: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'dict_proxy_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-dict-0.8.8/lib/dbus.c:663:33: note: You might need to cast the function pointer here xfce4-dict-0.8.8/lib/dbus.c:568:17: note: Parameter 'pspec' can be declared as pointer to const xfce4-dict-0.8.8/lib/dbus.c:596:30: style: Variable 'arg_info' can be declared as pointer to const [constVariablePointer] xfce4-dict-0.8.8/lib/dbus.c:623:31: style: Variable 'info' can be declared as pointer to const [constVariablePointer] xfce4-dict-0.8.8/lib/dbus.c:675:35: style: Parameter 'iface' can be declared as pointer to const [constParameterPointer] xfce4-dict-0.8.8/lib/dbus.c:925:30: style: Variable 'arg_info' can be declared as pointer to const [constVariablePointer] xfce4-dict-0.8.8/lib/dbus.c:959:15: style: Variable 'pspec' can be declared as pointer to const [constVariablePointer] xfce4-dict-0.8.8/lib/dbus.c:993:15: style: Variable 'pspec' can be declared as pointer to const [constVariablePointer] xfce4-dict-0.8.8/lib/dbus.c:1026:64: style: Parameter 'skeleton' can be declared as pointer to const. However it seems that 'dict_skeleton_dbus_interface_get_info' is a callback function, if 'skeleton' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-dict-0.8.8/lib/dbus.c:1117:30: note: You might need to cast the function pointer here xfce4-dict-0.8.8/lib/dbus.c:1026:64: note: Parameter 'skeleton' can be declared as pointer to const xfce4-dict-0.8.8/lib/dbus.c:1032:66: style: Parameter 'skeleton' can be declared as pointer to const. However it seems that 'dict_skeleton_dbus_interface_get_vtable' is a callback function, if 'skeleton' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-dict-0.8.8/lib/dbus.c:1120:32: note: You might need to cast the function pointer here xfce4-dict-0.8.8/lib/dbus.c:1032:66: note: Parameter 'skeleton' can be declared as pointer to const xfce4-dict-0.8.8/lib/dbus.c:1049:26: style: Variable 'info' can be declared as pointer to const [constVariablePointer] xfce4-dict-0.8.8/lib/dbus.c:1067:61: style: Parameter '_skeleton' can be declared as pointer to const. However it seems that 'dict_skeleton_dbus_interface_flush' is a callback function, if '_skeleton' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-dict-0.8.8/lib/dbus.c:1119:27: note: You might need to cast the function pointer here xfce4-dict-0.8.8/lib/dbus.c:1067:61: note: Parameter '_skeleton' can be declared as pointer to const xfce4-dict-0.8.8/lib/dbus.c:1128:38: style: Parameter 'iface' can be declared as pointer to const [constParameterPointer] xfce4-dict-0.8.8/lib/dbus.c:96:16: style: struct member '_ExtendedGDBusInterfaceInfo::hyphen_name' is never used. [unusedStructMember] xfce4-dict-0.8.8/lib/dbus.c:101:37: style: struct member 'ChangedProperty::info' is never used. [unusedStructMember] xfce4-dict-0.8.8/lib/dbus.c:102:9: style: struct member 'ChangedProperty::prop_id' is never used. [unusedStructMember] xfce4-dict-0.8.8/lib/common.c:524:65: style:inconclusive: Function 'dict_drag_data_received' argument 2 names different: declaration 'drag_context' definition 'context'. [funcArgNamesDifferent] xfce4-dict-0.8.8/lib/common.h:143:65: note: Function 'dict_drag_data_received' argument 2 names different: declaration 'drag_context' definition 'context'. xfce4-dict-0.8.8/lib/common.c:524:65: note: Function 'dict_drag_data_received' argument 2 names different: declaration 'drag_context' definition 'context'. xfce4-dict-0.8.8/lib/common.c:88:9: style: Variable 'start' can be declared as pointer to const [constVariablePointer] xfce4-dict-0.8.8/lib/gui.c:107:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TEXT_WINDOW_TEXT [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/gui.c:145:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_RELEASE [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/gui.c:217:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TEXT_WINDOW_WIDGET [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/gui.c:239:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TEXT_WINDOW_WIDGET [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/gui.c:265:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TEXT_WINDOW_WIDGET [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/gui.c:318:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/gui.c:362:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/gui.c:392:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TEXT_WINDOW_TEXT [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/gui.c:411:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TEXT_WINDOW_WIDGET [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/gui.c:462:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TEXT_SEARCH_TEXT_ONLY [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/gui.c:591:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_BUTTON [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/gui.c:679:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/gui.c:758:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/gui.c:978:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XFCE_LICENSE_GPL [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/gui.c:990:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_STATE_MAXIMIZED [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/gui.c:117:77: style: Parameter 'event' can be declared as pointer to const. However it seems that 'textview_key_press_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-dict-0.8.8/lib/gui.c:903:3: note: You might need to cast the function pointer here xfce4-dict-0.8.8/lib/gui.c:117:77: note: Parameter 'event' can be declared as pointer to const xfce4-dict-0.8.8/lib/gui.c:407:24: style: Variable 'tagp' can be declared as pointer to const [constVariablePointer] xfce4-dict-0.8.8/lib/gui.c:418:15: style: Variable 'tag' can be declared as pointer to const [constVariablePointer] xfce4-dict-0.8.8/lib/gui.c:455:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] xfce4-dict-0.8.8/lib/gui.c:523:19: style: Parameter 'event' can be declared as pointer to const. However it seems that 'entry_icon_release_cb' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-dict-0.8.8/lib/gui.c:795:2: note: You might need to cast the function pointer here xfce4-dict-0.8.8/lib/gui.c:523:19: note: Parameter 'event' can be declared as pointer to const xfce4-dict-0.8.8/lib/gui.c:556:43: style: Parameter 'editable' can be declared as pointer to const. However it seems that 'entry_changed_cb' is a callback function, if 'editable' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-dict-0.8.8/lib/gui.c:793:2: note: You might need to cast the function pointer here xfce4-dict-0.8.8/lib/gui.c:556:43: note: Parameter 'editable' can be declared as pointer to const xfce4-dict-0.8.8/lib/gui.c:556:63: style: Parameter 'dd' can be declared as pointer to const. However it seems that 'entry_changed_cb' is a callback function, if 'dd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-dict-0.8.8/lib/gui.c:793:2: note: You might need to cast the function pointer here xfce4-dict-0.8.8/lib/gui.c:556:63: note: Parameter 'dd' can be declared as pointer to const xfce4-dict-0.8.8/lib/gui.c:569:74: style: Parameter 'event' can be declared as pointer to const. However it seems that 'entry_button_press_cb' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-dict-0.8.8/lib/gui.c:796:2: note: You might need to cast the function pointer here xfce4-dict-0.8.8/lib/gui.c:569:74: note: Parameter 'event' can be declared as pointer to const xfce4-dict-0.8.8/lib/prefs.c:226:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_BUTTON [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/prefs.c:267:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/resources.c:9:69: style: union member 'Anonymous0::alignment' is never used. [unusedStructMember] xfce4-dict-0.8.8/lib/resources.c:9:93: style: union member 'Anonymous0::ptr' is never used. [unusedStructMember] xfce4-dict-0.8.8/lib/dictd.c:470:62: style: Condition 'dd->query_status!=NOTHING_FOUND' is always true [knownConditionTrueFalse] xfce4-dict-0.8.8/lib/dictd.c:578:35: style: Condition 'strncmp(ec,"500",3)==0' is always false [knownConditionTrueFalse] xfce4-dict-0.8.8/lib/dictd.c:579:29: style: Condition 'strncmp(ec,"501",3)==0' is always false [knownConditionTrueFalse] xfce4-dict-0.8.8/lib/dictd.c:695:3: error: Return value of allocation function 'g_thread_new' is not stored. [leakReturnValNotUsed] xfce4-dict-0.8.8/lib/dictd.c:488:28: warning: Either the condition 'lines==NULL' is redundant or there is possible null pointer dereference: lines. [nullPointerRedundantCheck] xfce4-dict-0.8.8/lib/dictd.c:489:12: note: Assuming that condition 'lines==NULL' is not redundant xfce4-dict-0.8.8/lib/dictd.c:488:28: note: Null pointer dereference xfce4-dict-0.8.8/lib/dictd.c:869:28: warning: Either the condition 'lines==NULL' is redundant or there is possible null pointer dereference: lines. [nullPointerRedundantCheck] xfce4-dict-0.8.8/lib/dictd.c:870:12: note: Assuming that condition 'lines==NULL' is not redundant xfce4-dict-0.8.8/lib/dictd.c:869:28: note: Null pointer dereference xfce4-dict-0.8.8/lib/dictd.c:453:23: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xfce4-dict-0.8.8/lib/dictd.c:99:38: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] xfce4-dict-0.8.8/lib/dictd.c:147:9: style: Variable 'start' can be declared as pointer to const [constVariablePointer] xfce4-dict-0.8.8/lib/dictd.c:148:9: style: Variable 'end' can be declared as pointer to const [constVariablePointer] xfce4-dict-0.8.8/lib/dictd.c:233:9: style: Variable 'start' can be declared as pointer to const [constVariablePointer] xfce4-dict-0.8.8/lib/dictd.c:234:9: style: Variable 'end' can be declared as pointer to const [constVariablePointer] xfce4-dict-0.8.8/lib/dictd.c:372:9: style: Variable 'label' can be declared as pointer to const [constVariablePointer] xfce4-dict-0.8.8/lib/dictd.c:402:9: style: Variable 'answer' can be declared as pointer to const [constVariablePointer] xfce4-dict-0.8.8/lib/dictd.c:801:9: style: Variable 'buffer' can be declared as pointer to const [constVariablePointer] xfce4-dict-0.8.8/lib/prefs.c:67:69: style: Parameter 'dd' can be declared as pointer to const. However it seems that 'show_panel_entry_toggled' is a callback function, if 'dd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-dict-0.8.8/lib/prefs.c:407:4: note: You might need to cast the function pointer here xfce4-dict-0.8.8/lib/prefs.c:67:69: note: Parameter 'dd' can be declared as pointer to const xfce4-dict-0.8.8/lib/prefs.c:193:53: style: Parameter 'dd' can be declared as pointer to const [constParameterPointer] xfce4-dict-0.8.8/lib/speedreader.c:92:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xfd_speed_reader_parent_class [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/speedreader.c:275:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/speedreader.c:388:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_SCALE [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/speedreader.c:471:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/speedreader.c:489:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CLOSE [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/speedreader.c:529:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/speedreader.c:572:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/speedreader.c:601:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CLOSE [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/spell.c:84:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/spell.c:154:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/spell.c:238:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/panel-plugin/xfce4-dict-plugin.c:84:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XFCE_PANEL_PLUGIN_MODE_VERTICAL [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/panel-plugin/xfce4-dict-plugin.c:325:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STYLE_PROVIDER_PRIORITY_APPLICATION [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/panel-plugin/xfce4-dict-plugin.c:228:19: style: Parameter 'event' can be declared as pointer to const. However it seems that 'entry_icon_release_cb' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-dict-0.8.8/panel-plugin/xfce4-dict-plugin.c:357:2: note: You might need to cast the function pointer here xfce4-dict-0.8.8/panel-plugin/xfce4-dict-plugin.c:228:19: note: Parameter 'event' can be declared as pointer to const xfce4-dict-0.8.8/panel-plugin/xfce4-dict-plugin.c:247:72: style: Parameter 'event' can be declared as pointer to const. However it seems that 'entry_buttonpress_cb' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-dict-0.8.8/panel-plugin/xfce4-dict-plugin.c:359:2: note: You might need to cast the function pointer here xfce4-dict-0.8.8/panel-plugin/xfce4-dict-plugin.c:247:72: note: Parameter 'event' can be declared as pointer to const xfce4-dict-0.8.8/panel-plugin/xfce4-dict-plugin.c:269:43: style: Parameter 'editable' can be declared as pointer to const. However it seems that 'entry_changed_cb' is a callback function, if 'editable' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-dict-0.8.8/panel-plugin/xfce4-dict-plugin.c:360:2: note: You might need to cast the function pointer here xfce4-dict-0.8.8/panel-plugin/xfce4-dict-plugin.c:269:43: note: Parameter 'editable' can be declared as pointer to const xfce4-dict-0.8.8/panel-plugin/xfce4-dict-plugin.c:269:68: style: Parameter 'dpd' can be declared as pointer to const. However it seems that 'entry_changed_cb' is a callback function, if 'dpd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-dict-0.8.8/panel-plugin/xfce4-dict-plugin.c:360:2: note: You might need to cast the function pointer here xfce4-dict-0.8.8/panel-plugin/xfce4-dict-plugin.c:269:68: note: Parameter 'dpd' can be declared as pointer to const xfce4-dict-0.8.8/lib/speedreader.c:110:19: style: Variable 'list' can be declared as pointer to const [constVariablePointer] xfce4-dict-0.8.8/lib/speedreader.c:248:17: style: Variable 'state_str' can be declared as pointer to const [constVariablePointer] xfce4-dict-0.8.8/lib/speedreader.c:248:29: style: Variable 'name' can be declared as pointer to const [constVariablePointer] xfce4-dict-0.8.8/lib/speedreader.c:744:44: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] xfce4-dict-0.8.8/src/xfce4-dict.c:90:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DICT_FLAGS_FOCUS_PANEL_ENTRY [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/src/xfce4-dict.c:127:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] xfce4-dict-0.8.8/lib/spell.c:64:2: error: Returning/dereferencing 'ioc' after it is deallocated / released [deallocret] xfce4-dict-0.8.8/lib/spell.c:62:2: note: Returning/dereferencing 'ioc' after it is deallocated / released xfce4-dict-0.8.8/lib/spell.c:64:2: note: Returning/dereferencing 'ioc' after it is deallocated / released xfce4-dict-0.8.8/lib/spell.c:237:4: error: Return value of allocation function 'set_up_io_channel' is not stored. [leakReturnValNotUsed] xfce4-dict-0.8.8/lib/spell.c:238:4: error: Return value of allocation function 'set_up_io_channel' is not stored. [leakReturnValNotUsed] xfce4-dict-0.8.8/lib/spell.c:239:4: error: Return value of allocation function 'set_up_io_channel' is not stored. [leakReturnValNotUsed] xfce4-dict-0.8.8/lib/spell.c:109:25: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xfce4-dict-0.8.8/lib/spell.c:125:27: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xfce4-dict-0.8.8/lib/spell.c:137:25: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xfce4-dict-0.8.8/lib/spell.c:50:89: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] xfce4-dict-0.8.8/lib/spell.c:258:50: style: Parameter 'dicts' can be declared as pointer to const [constParameterPointer] xfce4-dict-0.8.8/lib/spell.c:341:44: style: Parameter 'dd' can be declared as pointer to const [constParameterPointer] diff: 2.17.0 xfce4-dict-0.8.8/lib/common.c:114:18: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] xfce4-dict-0.8.8/lib/common.c:109:26: note: Assuming allocation function fails xfce4-dict-0.8.8/lib/common.c:109:26: note: Assignment 'str=g_string_sized_new(strlen(haystack))', assigned value is 0 xfce4-dict-0.8.8/lib/common.c:114:18: note: Null pointer dereference 2.17.0 xfce4-dict-0.8.8/lib/common.c:115:18: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] xfce4-dict-0.8.8/lib/common.c:109:26: note: Assuming allocation function fails xfce4-dict-0.8.8/lib/common.c:109:26: note: Assignment 'str=g_string_sized_new(strlen(haystack))', assigned value is 0 xfce4-dict-0.8.8/lib/common.c:115:18: note: Null pointer dereference head xfce4-dict-0.8.8/lib/dbus.c:1049:26: style: Variable 'info' can be declared as pointer to const [constVariablePointer] head xfce4-dict-0.8.8/lib/dictd.c:488:28: warning: Either the condition 'lines==NULL' is redundant or there is possible null pointer dereference: lines. [nullPointerRedundantCheck] xfce4-dict-0.8.8/lib/dictd.c:489:12: note: Assuming that condition 'lines==NULL' is not redundant xfce4-dict-0.8.8/lib/dictd.c:488:28: note: Null pointer dereference head xfce4-dict-0.8.8/lib/dictd.c:869:28: warning: Either the condition 'lines==NULL' is redundant or there is possible null pointer dereference: lines. [nullPointerRedundantCheck] xfce4-dict-0.8.8/lib/dictd.c:870:12: note: Assuming that condition 'lines==NULL' is not redundant xfce4-dict-0.8.8/lib/dictd.c:869:28: note: Null pointer dereference 2.17.0 xfce4-dict-0.8.8/lib/spell.c:266:13: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] xfce4-dict-0.8.8/lib/spell.c:261:18: note: Assuming allocation function fails xfce4-dict-0.8.8/lib/spell.c:261:18: note: Assignment 'result=g_strchomp(g_strchug(g_strdup(str)))', assigned value is 0 xfce4-dict-0.8.8/lib/spell.c:266:13: note: Null pointer dereference head xfce4-dict-0.8.8/lib/spell.c:50:89: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] 2.17.0 xfce4-dict-0.8.8/src/xfce4-dict.c:109:19: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] xfce4-dict-0.8.8/src/xfce4-dict.c:104:35: note: Assuming allocation function fails xfce4-dict-0.8.8/src/xfce4-dict.c:104:35: note: Assignment 'str=g_string_sized_new(128)', assigned value is 0 xfce4-dict-0.8.8/src/xfce4-dict.c:109:19: note: Null pointer dereference DONE