projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afea86a
)
gclosure: Remove an unused alloca() and assignment
author
Philip Withnall
<philip@tecnocode.co.uk>
Sat, 21 Jun 2014 11:29:09 +0000
(12:29 +0100)
committer
Philip Withnall
<philip@tecnocode.co.uk>
Sun, 22 Jun 2014 11:57:57 +0000
(12:57 +0100)
Coverity issue: #1159511
https://bugzilla.gnome.org/show_bug.cgi?id=732005
gobject/gclosure.c
patch
|
blob
|
history
diff --git
a/gobject/gclosure.c
b/gobject/gclosure.c
index
b516b05
..
e3a01c2
100644
(file)
--- 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;