gclosure: Remove an unused alloca() and assignment

Coverity issue: #1159511

https://bugzilla.gnome.org/show_bug.cgi?id=732005
This commit is contained in:
Philip Withnall 2014-06-21 12:29:09 +01:00
parent afea86a7ef
commit 0950369899

View File

@ -1490,9 +1490,6 @@ g_cclosure_marshal_generic_va (GClosure *closure,
args = g_alloca (sizeof (gpointer) * n_args);
storage = g_alloca (sizeof (va_arg_storage) * n_params);
if (tmpval_used)
enum_tmpval = g_alloca (sizeof (gint));
if (G_CCLOSURE_SWAP_DATA (closure))
{
atypes[n_args-1] = &ffi_type_pointer;