[gnome-commander] Ignore gcc warning about format-nonliteral



commit 5b701e3101e4ae1d41ee3fa23b43535c0bb8bf64
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Sun Apr 16 20:02:50 2017 +0200

    Ignore gcc warning about format-nonliteral

 src/dialogs/gnome-cmd-search-dialog.cc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/dialogs/gnome-cmd-search-dialog.cc b/src/dialogs/gnome-cmd-search-dialog.cc
index 4b1ded7..d6483c4 100644
--- a/src/dialogs/gnome-cmd-search-dialog.cc
+++ b/src/dialogs/gnome-cmd-search-dialog.cc
@@ -490,6 +490,8 @@ static gpointer perform_search_operation (SearchData *data)
     return NULL;
 }
 
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wformat-nonliteral"
 
 static gboolean update_search_status_widgets (SearchData *data)
 {
@@ -550,6 +552,7 @@ static gboolean update_search_status_widgets (SearchData *data)
     return FALSE;    // returning FALSE here stops the timeout callbacks
 }
 
+#pragma GCC diagnostic pop
 
 /**
  * This function gets called then the search-dialog is about the be destroyed.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]