Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Tue, 09 Apr 2019 12:50:54 UTC Commit: ccbf0df24a93421720be0f9bcbb94f2e19c17fae https://github.com/geany/geany/commit/ccbf0df24a93421720be0f9bcbb94f2e19c17f...
Log Message: ----------- Avoid passing plain strings as format
Introduced in #2111, this gets caught by GCC's -Wformat-security which is enabled as an error in our nightly builds.
Modified Paths: -------------- src/libmain.c
Modified: src/libmain.c 4 lines changed, 2 insertions(+), 2 deletions(-) =================================================================== @@ -1182,8 +1182,8 @@ gint main_lib(gint argc, gchar **argv) { const gchar *message = _("IPC socket could not be created, see Help->Debug Messages for details."); - ui_set_statusbar(TRUE, message); - g_warning(message); + ui_set_statusbar(TRUE, "%s", message); + g_warning("%s", message); }
/* apply all configuration options */
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).