[gnome-commander/ConvertWarningsToErrors] Ignore gcc warning about format-nonliteral
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/ConvertWarningsToErrors] Ignore gcc warning about format-nonliteral
- Date: Sun, 16 Apr 2017 18:36:48 +0000 (UTC)
commit 73c172a570435584440e7181c1ab650f16f1daed
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]