projects
/
gnome.gobject-introspection
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
55f286c
)
Delete stray g_return_if_fail
author
Colin Walters
<walters@verbum.org>
Thu, 11 Feb 2010 22:49:51 +0000
(17:49 -0500)
committer
Colin Walters
<walters@verbum.org>
Thu, 11 Feb 2010 22:49:51 +0000
(17:49 -0500)
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
patch
|
blob
|
history
diff --git
a/girepository/ginvoke.c
b/girepository/ginvoke.c
index
ff04950
..
b3333f8
100644
(file)
--- 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))