[glib] gclosure: Remove an unused alloca() and assignment
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gclosure: Remove an unused alloca() and assignment
- Date: Sun, 22 Jun 2014 11:58:20 +0000 (UTC)
commit 0950369899ac04ebe0357d0b1ba834c4dab39219
Author: Philip Withnall <philip tecnocode co uk>
Date: Sat Jun 21 12:29:09 2014 +0100
gclosure: Remove an unused alloca() and assignment
Coverity issue: #1159511
https://bugzilla.gnome.org/show_bug.cgi?id=732005
gobject/gclosure.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gobject/gclosure.c b/gobject/gclosure.c
index b516b05..e3a01c2 100644
--- a/gobject/gclosure.c
+++ b/gobject/gclosure.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]