GNOME Bugzilla – Bug 767349
udisks2: Fix "format not a string literal" warnings
Last modified: 2016-06-09 10:01:19 UTC
.
Created attachment 329282 [details] [review] udisks2: Fix "format not a string literal" warnings
Review of attachment 329282 [details] [review]: Thanks for the patch, looks good except indentation! I just wonder why I don't see those warnings... ::: monitor/udisks2/gvfsudisks2utils.c @@ +675,3 @@ + message = g_strdup_printf (_("Unmounting %s\nPlease wait"), name); + else + message = g_strdup_printf (_("Writing data to %s\nDon't unplug until finished"), name); wrong indentation
(In reply to Ondrej Holy from comment #2) > Thanks for the patch, looks good except indentation! I just wonder why I > don't see those warnings... You need GCC 6.x (eg., Fedora 24) to get the warnings.
Hmm, I am on F24, have gcc-6.1.1-2.fc24.x86_64 and build with -Wall. I fixed some new warnings already thanks to the GCC 6.x, but I don't see this one...
Created attachment 329368 [details] [review] udisks2: Fix "format not a string literal" warnings
Review of attachment 329368 [details] [review]: Thanks!
Attachment 329368 [details] pushed as 8921a8f - udisks2: Fix "format not a string literal" warnings