Fix defined but not used warning in gobject/gobject.c

gobject/gobject.c:1189:1: warning: ‘floating_check’ defined but not used
This commit is contained in:
Emmanuel Fleury 2021-12-17 15:30:18 +01:00
parent 42a5f1d387
commit c8274a51cd

View File

@ -1185,6 +1185,7 @@ g_object_real_dispose (GObject *object)
g_datalist_id_set_data (&object->qdata, quark_weak_locations, NULL);
}
#ifdef G_ENABLE_DEBUG
static gboolean
floating_check (GObject *object)
{
@ -1202,6 +1203,7 @@ floating_check (GObject *object)
return FALSE;
}
#endif
static void
g_object_finalize (GObject *object)