GNOME Bugzilla – Bug 769209
[PATCH] Fix non-literal format string warnings
Last modified: 2016-08-14 08:32:37 UTC
There are a few non-literal format string warnings showed when compiling gitg with clang: gitg/commit/gitg-commit.vala:1315:28: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security] _tmp3_ = g_strdup_printf (_tmp2_); ^~~~~~ gitg/gitg-author-details-dialog.vala:231:141: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security] _tmp1_ = (GtkMessageDialog*) gtk_message_dialog_new ((GtkWindow*) self, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, _tmp0_); ^~~~~~
Created attachment 332190 [details] [review] Fix non-literal format string warnings
Attachment 332190 [details] pushed as 444c3f3 - Fix non-literal format string warnings