mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Fix a return_if_fail confusion
This slipped through my editing of the patch.
This commit is contained in:
parent
011bf876e7
commit
58ec89ea7c
@ -3847,7 +3847,7 @@ g_type_get_instance_count (GType type)
|
||||
TypeNode *node;
|
||||
|
||||
node = lookup_type_node_I (type);
|
||||
g_return_if_fail (node != NULL);
|
||||
g_return_val_if_fail (node != NULL, 0);
|
||||
|
||||
return g_atomic_int_get (&node->instance_count);
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user