mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06: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);
|
||||
}
|
||||
|
||||
#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)
|
||||
|
Loading…
Reference in New Issue
Block a user