2026-05-03 04:26 ftp://ftp.de.debian.org/debian/pool/main/libg/libglade2/libglade2_2.6.4.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --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.12.85+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.70 compiler: g++ (20250906) 15.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 93 93 elapsed-time: 0.9 0.8 head-timing-info: old-timing-info: head results: libglade-2.6.4/glade/glade-gtk.c:173:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_CALENDAR_DISPLAY_OPTIONS [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-gtk.c:196:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_SELECTION_MODE [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-gtk.c:206:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_SHADOW_TYPE [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-gtk.c:226:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_SELECTION_MODE [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-gtk.c:235:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_TREE_VIEW_MODE [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-gtk.c:251:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_SELECTION_MODE [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-gtk.c:313:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_METRIC_TYPE [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-gtk.c:376:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-gtk.c:482:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-gtk.c:524:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable child [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-gtk.c:588:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable child [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-gtk.c:621:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable child [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-gtk.c:660:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable child [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-gtk.c:693:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_PREVIEW_COLOR [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-gtk.c:722:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable child [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-gtk.c:760:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable child [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-gtk.c:820:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-gtk.c:941:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-gtk.c:982:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable child [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-gtk.c:1014:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vbox [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-gtk.c:1046:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vscrollbar [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-gtk.c:1057:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vbox [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-gtk.c:1074:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vbox [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-gtk.c:1093:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vbox [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-gtk.c:1136:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_WIDGET [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-gtk.c:49:24: style: Parameter 'xml' can be declared as pointer to const. However it seems that 'custom_noop' is a callback function, if 'xml' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libglade-2.6.4/glade/glade-gtk.c:1144:66: note: You might need to cast the function pointer here libglade-2.6.4/glade/glade-gtk.c:49:24: note: Parameter 'xml' can be declared as pointer to const libglade-2.6.4/glade/glade-gtk.c:49:40: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'custom_noop' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libglade-2.6.4/glade/glade-gtk.c:1144:66: note: You might need to cast the function pointer here libglade-2.6.4/glade/glade-gtk.c:49:40: note: Parameter 'widget' can be declared as pointer to const libglade-2.6.4/glade/glade-gtk.c:1010:38: style: Parameter 'xml' can be declared as pointer to const. However it seems that 'dialog_find_internal_child' is a callback function, if 'xml' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libglade-2.6.4/glade/glade-gtk.c:1224:34: note: You might need to cast the function pointer here libglade-2.6.4/glade/glade-gtk.c:1010:38: note: Parameter 'xml' can be declared as pointer to const libglade-2.6.4/glade/glade-gtk.c:1042:47: style: Parameter 'xml' can be declared as pointer to const. However it seems that 'scrolled_window_find_internal_child' is a callback function, if 'xml' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libglade-2.6.4/glade/glade-gtk.c:1307:7: note: You might need to cast the function pointer here libglade-2.6.4/glade/glade-gtk.c:1042:47: note: Parameter 'xml' can be declared as pointer to const libglade-2.6.4/glade/glade-init.c:184:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLADE_LIBDIR [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-init.c:207:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MODULE_BIND_LAZY [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-parser.c:212:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROP_NONE [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-parser.c:369:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-parser.c:478:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROP_NONE [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-parser.c:556:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROP_NONE [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-parser.c:1078:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_WARNING [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-parser.c:1088:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-parser.c:1098:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_ERROR [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-parser.c:1203:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-parser.c:493:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libglade-2.6.4/glade/glade-parser.c:495:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libglade-2.6.4/glade/glade-parser.c:286:1: error: Memory leak: info.action_name [memleak] libglade-2.6.4/glade/glade-parser.c:280:2: error: Memory leak: info.description [memleak] libglade-2.6.4/glade/glade-parser.c:339:2: error: Memory leak: info.object [memleak] libglade-2.6.4/glade/glade-parser.c:1049:1: error: Memory leak: prop.value [memleak] libglade-2.6.4/glade/glade-parser.c:1067:42: style: Parameter 'state' can be declared as pointer to const. However it seems that 'glade_parser_get_entity' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libglade-2.6.4/glade/glade-parser.c:1108:23: note: You might need to cast the function pointer here libglade-2.6.4/glade/glade-parser.c:1067:42: note: Parameter 'state' can be declared as pointer to const libglade-2.6.4/glade/glade-xml.c:61:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable finalize [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-xml.c:80:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLADE_TYPE_XML [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-xml.c:259:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-xml.c:292:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-xml.c:474:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-xml.c:582:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-xml.c:686:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GladeDeferredProperty [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-xml.c:727:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GladeSignalData [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-xml.c:810:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GladeDeferredProperty [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-xml.c:837:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ACCEL_VISIBLE [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-xml.c:852:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-xml.c:934:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable glade_xml_parent_class [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-xml.c:960:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GtkWidget [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-xml.c:1011:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-xml.c:1218:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_WIDGET [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-xml.c:1272:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_CONTAINER [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-xml.c:1386:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INVALID [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-xml.c:1491:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_TYPE_COLOR [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-xml.c:1601:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GParameter [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-xml.c:1742:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable child [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-xml.c:1841:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INVALID [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-xml.c:1932:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-xml.c:2078:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_class [valueFlowBailoutIncompleteVar] libglade-2.6.4/glade/glade-xml.c:63:5: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] libglade-2.6.4/glade/glade-xml.c:2073:9: style: Condition 'data' is always true [knownConditionTrueFalse] libglade-2.6.4/glade/glade-xml.c:1160:37: style:inconclusive: Function 'glade_xml_build_interface' argument 1 names different: declaration 'xml' definition 'self'. [funcArgNamesDifferent] libglade-2.6.4/glade/glade-xml.c:53:49: note: Function 'glade_xml_build_interface' argument 1 names different: declaration 'xml' definition 'self'. libglade-2.6.4/glade/glade-xml.c:1160:37: note: Function 'glade_xml_build_interface' argument 1 names different: declaration 'xml' definition 'self'. libglade-2.6.4/glade/glade-xml.c:538:35: style: Parameter 'name' can be declared as pointer to const. However it seems that 'widget_prefix_add_to_list' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libglade-2.6.4/glade/glade-xml.c:554:15: note: You might need to cast the function pointer here libglade-2.6.4/glade/glade-xml.c:538:35: note: Parameter 'name' can be declared as pointer to const libglade-2.6.4/glade/glade-xml.c:571:35: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] libglade-2.6.4/glade/glade-xml.c:678:16: style: Variable 'value_widget' can be declared as pointer to const [constVariablePointer] libglade-2.6.4/glade/glade-xml.c:1011:8: style: Variable 'name' can be declared as pointer to const [constVariablePointer] libglade-2.6.4/glade/glade-xml.c:1050:17: style: Variable 'ev' can be declared as pointer to const [constVariablePointer] libglade-2.6.4/glade/glade-xml.c:1103:19: style: Variable 'fv' can be declared as pointer to const [constVariablePointer] libglade-2.6.4/glade/glade-xml.c:1165:16: style: Variable 'w' can be declared as pointer to const [constVariablePointer] libglade-2.6.4/glade/glade-xml.c:1367:33: style: Variable 'parent_info' can be declared as pointer to const [constVariablePointer] libglade-2.6.4/glade/glade-xml.c:1597:36: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] libglade-2.6.4/glade/glade-xml.c:1675:17: style: Variable 'prop' can be declared as pointer to const [constVariablePointer] libglade-2.6.4/glade/glade-xml.c:2012:12: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] libglade-2.6.4/glade/glade-xml.c:2094:37: style: Parameter 'self' can be declared as pointer to const. However it seems that 'glade_xml_real_lookup_type' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libglade-2.6.4/glade/glade-xml.c:65:26: note: You might need to cast the function pointer here libglade-2.6.4/glade/glade-xml.c:2094:37: note: Parameter 'self' can be declared as pointer to const libglade-2.6.4/glade/glade-xml.c:1174:4: style: Variable 'w' is assigned a value that is never used. [unreadVariable] libglade-2.6.4/glade/glade-xml.c:1178:8: style: Variable 'w' is assigned a value that is never used. [unreadVariable] libglade-2.6.4/glade/glade-xml.c:1841:16: style: Variable 'type' is assigned a value that is never used. [unreadVariable] libglade-2.6.4/test-libglade.c:114:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] libglade-2.6.4/tests/test-libglade-gtk.c:20:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_FATAL_MASK [valueFlowBailoutIncompleteVar] libglade-2.6.4/tests/test-libglade-gtk.c:9:19: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] libglade-2.6.4/tests/test-libglade-gtk.c:9:29: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] libglade-2.6.4/tests/test-libglade-gtk.c:9:58: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] libglade-2.6.4/tests/test-value-parse.c:15:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_ANCHOR_TYPE [valueFlowBailoutIncompleteVar] diff: DONE