mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 09:46:17 +01:00
Convince gcc to compile this code
It shouldn't be that hard.
This commit is contained in:
parent
21ceeed3b9
commit
3c861237fb
@ -956,6 +956,8 @@ get_filesystem_readonly (GFileInfo *info,
|
|||||||
|
|
||||||
#endif /* G_OS_WIN32 */
|
#endif /* G_OS_WIN32 */
|
||||||
|
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wformat-nonliteral"
|
||||||
static void
|
static void
|
||||||
g_set_io_error (GError **error,
|
g_set_io_error (GError **error,
|
||||||
const gchar *msg,
|
const gchar *msg,
|
||||||
@ -970,6 +972,7 @@ g_set_io_error (GError **error,
|
|||||||
msg, display_name, g_strerror (errsv));
|
msg, display_name, g_strerror (errsv));
|
||||||
g_free (display_name);
|
g_free (display_name);
|
||||||
}
|
}
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
|
||||||
static GFileInfo *
|
static GFileInfo *
|
||||||
g_local_file_query_filesystem_info (GFile *file,
|
g_local_file_query_filesystem_info (GFile *file,
|
||||||
|
Loading…
Reference in New Issue
Block a user