mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-19 15:18:55 +02:00
Fix a return_if_fail confusion
This slipped through my editing of the patch.
This commit is contained in:
@@ -3847,7 +3847,7 @@ g_type_get_instance_count (GType type)
|
|||||||
TypeNode *node;
|
TypeNode *node;
|
||||||
|
|
||||||
node = lookup_type_node_I (type);
|
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);
|
return g_atomic_int_get (&node->instance_count);
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user