projects
/
gnome.gobject-introspection
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
112ce77
)
tests/everything/everything.c: (test_closure_one_arg): set the value to 0
author
Johan Bilien
<jobi@src.gnome.org>
Thu, 20 Nov 2008 12:05:31 +0000
(12:05 +0000)
committer
Johan Bilien
<jobi@src.gnome.org>
Thu, 20 Nov 2008 12:05:31 +0000
(12:05 +0000)
before use
svn path=/trunk/; revision=955
tests/everything/everything.c
patch
|
blob
|
history
diff --git
a/tests/everything/everything.c
b/tests/everything/everything.c
index
6a16230
..
88f0e5e
100644
(file)
--- a/
tests/everything/everything.c
+++ b/
tests/everything/everything.c
@@
-121,6
+121,7
@@
int test_closure_one_arg (GClosure *closure, int arg)
g_value_init (&return_value, G_TYPE_INT);
+ memset (&arguments[0], 0, sizeof (arguments));
g_value_init (&arguments[0], G_TYPE_INT);
g_value_set_int (&arguments[0], arg);