mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
gclosure: Remove an unused alloca() and assignment
Coverity issue: #1159511 https://bugzilla.gnome.org/show_bug.cgi?id=732005
This commit is contained in:
parent
afea86a7ef
commit
0950369899
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user