mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 09:46:17 +01:00
gio: Fix for -Wformat-security
This commit is contained in:
parent
8735f53ae4
commit
e3fe256692
@ -454,6 +454,7 @@ g_resource_file_query_info (GFile *file,
|
||||
}
|
||||
else
|
||||
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
|
||||
"%s",
|
||||
my_error->message);
|
||||
g_clear_error (&my_error);
|
||||
return FALSE;
|
||||
@ -554,6 +555,7 @@ g_resource_file_read (GFile *file,
|
||||
}
|
||||
else
|
||||
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
|
||||
"%s",
|
||||
my_error->message);
|
||||
g_clear_error (&my_error);
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user