Task #91028 - fixed.err
back to task #91028download
Error: COMPILER_WARNING (CWE-670):
gtk-4.20.2/demos/gtk-demo/main.c: scope_hint: In function ‘activate_about’
gtk-4.20.2/demos/gtk-demo/main.c:198:74: warning[-Wduplicated-branches]: this condition has identical branches
# 198 | g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "",
# | ^
# 196| PACKAGE_VERSION,
# 197| g_strcmp0 (PROFILE, "devel") == 0 ? "-" : "",
# 198|-> g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "",
# 199| gtk_get_major_version (),
# 200| gtk_get_minor_version (),
Error: COMPILER_WARNING (CWE-670):
gtk-4.20.2/demos/gtk-demo/main.c: scope_hint: In function ‘main’
gtk-4.20.2/demos/gtk-demo/main.c:1144:59: warning[-Wduplicated-branches]: this condition has identical branches
# 1144 | g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "");
# | ^
# 1142| PACKAGE_VERSION,
# 1143| g_strcmp0 (PROFILE, "devel") == 0 ? "-" : "",
# 1144|-> g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "");
# 1145|
# 1146| g_application_set_version (G_APPLICATION (app), version);
Error: COMPILER_WARNING (CWE-670):
gtk-4.20.2/demos/node-editor/node-editor-application.c: scope_hint: In function ‘activate_about’
gtk-4.20.2/demos/node-editor/node-editor-application.c:106:74: warning[-Wduplicated-branches]: this condition has identical branches
# 106 | g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "",
# | ^
# 104| PACKAGE_VERSION,
# 105| g_strcmp0 (PROFILE, "devel") == 0 ? "-" : "",
# 106|-> g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "",
# 107| gtk_get_major_version (),
# 108| gtk_get_minor_version (),
Error: COMPILER_WARNING (CWE-670):
gtk-4.20.2/demos/node-editor/node-editor-application.c: scope_hint: In function ‘node_editor_application_new’
gtk-4.20.2/demos/node-editor/node-editor-application.c:303:59: warning[-Wduplicated-branches]: this condition has identical branches
# 303 | g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "");
# | ^
# 301| PACKAGE_VERSION,
# 302| g_strcmp0 (PROFILE, "devel") == 0 ? "-" : "",
# 303|-> g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "");
# 304|
# 305| app = g_object_new (NODE_EDITOR_APPLICATION_TYPE,
Error: COMPILER_WARNING (CWE-670):
gtk-4.20.2/demos/print-editor/print-editor.c: scope_hint: In function ‘activate_about’
gtk-4.20.2/demos/print-editor/print-editor.c:614:74: warning[-Wduplicated-branches]: this condition has identical branches
# 614 | g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "",
# | ^
# 612| PACKAGE_VERSION,
# 613| g_strcmp0 (PROFILE, "devel") == 0 ? "-" : "",
# 614|-> g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "",
# 615| gtk_get_major_version (),
# 616| gtk_get_minor_version (),
Error: COMPILER_WARNING (CWE-670):
gtk-4.20.2/demos/print-editor/print-editor.c: scope_hint: In function ‘main’
gtk-4.20.2/demos/print-editor/print-editor.c:903:59: warning[-Wduplicated-branches]: this condition has identical branches
# 903 | g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "");
# | ^
# 901| PACKAGE_VERSION,
# 902| g_strcmp0 (PROFILE, "devel") == 0 ? "-" : "",
# 903|-> g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "");
# 904|
# 905| g_application_set_version (G_APPLICATION (app), version);
Error: COMPILER_WARNING (CWE-670):
gtk-4.20.2/demos/widget-factory/widget-factory.c: scope_hint: In function ‘activate_about’
gtk-4.20.2/demos/widget-factory/widget-factory.c:344:74: warning[-Wduplicated-branches]: this condition has identical branches
# 344 | g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "",
# | ^
# 342| PACKAGE_VERSION,
# 343| g_strcmp0 (PROFILE, "devel") == 0 ? "-" : "",
# 344|-> g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "",
# 345| gtk_get_major_version (),
# 346| gtk_get_minor_version (),
Error: COMPILER_WARNING (CWE-670):
gtk-4.20.2/demos/widget-factory/widget-factory.c: scope_hint: In function ‘main’
gtk-4.20.2/demos/widget-factory/widget-factory.c:2702:59: warning[-Wduplicated-branches]: this condition has identical branches
# 2702 | g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "");
# | ^
# 2700| PACKAGE_VERSION,
# 2701| g_strcmp0 (PROFILE, "devel") == 0 ? "-" : "",
# 2702|-> g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "");
# 2703| g_application_set_version (G_APPLICATION (app), version);
# 2704|
Error: GCC_ANALYZER_WARNING (CWE-476):
gtk-4.20.2/gtk/gtkbuilder.c:992:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘construct_parameters.names’
gtk-4.20.2/gtk/gtkbuilder.c:917:1: enter_function: entry to ‘_gtk_builder_construct’
gtk-4.20.2/gtk/gtkbuilder.c:961:3: call_function: inlined call to ‘object_properties_init’ from ‘_gtk_builder_construct’
gtk-4.20.2/gtk/gtkbuilder.c:962:3: call_function: inlined call to ‘object_properties_init’ from ‘_gtk_builder_construct’
gtk-4.20.2/gtk/gtkbuilder.c:971:6: branch_true: following ‘true’ branch...
gtk-4.20.2/gtk/gtkbuilder.c:975:21: branch_true: ...to here
gtk-4.20.2/gtk/gtkbuilder.c:976:10: branch_false: following ‘false’ branch...
gtk-4.20.2/gtk/gtkbuilder.c:990:44: branch_false: ...to here
gtk-4.20.2/gtk/gtkbuilder.c:992:11: release_memory: ‘construct_parameters.names’ is NULL
gtk-4.20.2/gtk/gtkbuilder.c:992:11: danger: dereference of NULL ‘construct_parameters.names’
# 990| info->id);
# 991| g_assert (obj != NULL);
# 992|-> if (construct_parameters.names->len > 0)
# 993| g_warning ("Can't pass in construct-only parameters to %s", info->id);
# 994| }