mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 19:36:18 +01:00
Delete stray g_return_if_fail
If g_alloca failed we're pretty much screwed, and g_return_if_fail is for API entry points, not internal assertions.
This commit is contained in:
parent
6962d65125
commit
30fb514e67
@ -425,7 +425,6 @@ gi_cclosure_marshal_generic (GClosure *closure,
|
||||
if (ffi_prep_cif (&cif, FFI_DEFAULT_ABI, n_args, rtype, atypes) != FFI_OK)
|
||||
return;
|
||||
|
||||
g_return_if_fail (rvalue != NULL);
|
||||
ffi_call (&cif, marshal_data ? marshal_data : cc->callback, rvalue, args);
|
||||
|
||||
if (return_gvalue && G_VALUE_TYPE (return_gvalue))
|
||||
|
Loading…
Reference in New Issue
Block a user