mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 15:56:23 +01:00
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.
This commit is contained in:
parent
4441595378
commit
c565d645e9
@ -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 *
|
||||
|
Loading…
Reference in New Issue
Block a user