From b9c2a93b383928dca7e4f210dec4deb67b0c33ec Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 11 Feb 2010 17:49:51 -0500 Subject: [PATCH] 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. --- girepository/ginvoke.c | 1 - 1 file changed, 1 deletion(-) diff --git a/girepository/ginvoke.c b/girepository/ginvoke.c index ff04950..b3333f8 100644 --- a/girepository/ginvoke.c +++ b/girepository/ginvoke.c @@ -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)) -- 2.39.2