mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-23 17:38:54 +02:00
gio: Fix various compiler warnings when compiling with G_DISABLE_ASSERT
Mostly unused variables which are only used in a g_assert() call otherwise. Signed-off-by: Philip Withnall <withnall@endlessm.com> Helps: #1708
This commit is contained in:
@@ -334,7 +334,7 @@ g_keyfile_settings_backend_write_one (gpointer key,
|
||||
gpointer user_data)
|
||||
{
|
||||
WriteManyData *data = user_data;
|
||||
gboolean success;
|
||||
gboolean success G_GNUC_UNUSED /* when compiling with G_DISABLE_ASSERT */;
|
||||
|
||||
success = set_to_keyfile (data->kfsb, key, value);
|
||||
g_assert (success);
|
||||
|
Reference in New Issue
Block a user