From c565d645e9aab5065d4141bb7d5c290213fab924 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 24 Apr 2014 12:15:55 -0400 Subject: [PATCH] gio: remove an unneeded pragma ddf82a25 removed the use of non-literal format strings from gthreadedresolver.c, but left the "#pragma GCC diagnostic ignored -Wformat-nonliteral" behind. --- gio/gthreadedresolver.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gio/gthreadedresolver.c b/gio/gthreadedresolver.c index 3bb4d08..8e8d07e 100644 --- a/gio/gthreadedresolver.c +++ b/gio/gthreadedresolver.c @@ -503,9 +503,6 @@ g_resolver_record_type_to_rrtype (GResolverRecordType type) g_return_val_if_reached (-1); } -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wformat-nonliteral" - static GList * g_resolver_records_from_res_query (const gchar *rrname, gint rrtype, @@ -616,8 +613,6 @@ g_resolver_records_from_res_query (const gchar *rrname, return records; } -#pragma GCC diagnostic pop - #elif defined(G_OS_WIN32) static GVariant * -- 2.7.4