mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
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:
parent
42a5f1d387
commit
c8274a51cd
@ -1185,6 +1185,7 @@ g_object_real_dispose (GObject *object)
|
|||||||
g_datalist_id_set_data (&object->qdata, quark_weak_locations, NULL);
|
g_datalist_id_set_data (&object->qdata, quark_weak_locations, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef G_ENABLE_DEBUG
|
||||||
static gboolean
|
static gboolean
|
||||||
floating_check (GObject *object)
|
floating_check (GObject *object)
|
||||||
{
|
{
|
||||||
@ -1202,6 +1203,7 @@ floating_check (GObject *object)
|
|||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static void
|
static void
|
||||||
g_object_finalize (GObject *object)
|
g_object_finalize (GObject *object)
|
||||||
|
Loading…
Reference in New Issue
Block a user