mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 23:58:54 +02: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:
@@ -1490,9 +1490,6 @@ g_cclosure_marshal_generic_va (GClosure *closure,
|
|||||||
args = g_alloca (sizeof (gpointer) * n_args);
|
args = g_alloca (sizeof (gpointer) * n_args);
|
||||||
storage = g_alloca (sizeof (va_arg_storage) * n_params);
|
storage = g_alloca (sizeof (va_arg_storage) * n_params);
|
||||||
|
|
||||||
if (tmpval_used)
|
|
||||||
enum_tmpval = g_alloca (sizeof (gint));
|
|
||||||
|
|
||||||
if (G_CCLOSURE_SWAP_DATA (closure))
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
||||||
{
|
{
|
||||||
atypes[n_args-1] = &ffi_type_pointer;
|
atypes[n_args-1] = &ffi_type_pointer;
|
||||||
|
Reference in New Issue
Block a user