summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@sugarlabs.org>2010-04-27 15:15:10 +0200
committerTomeu Vizoso <tomeu@sugarlabs.org>2010-04-27 15:15:10 +0200
commitf4e796c7391d23fd9fb1a8fd1b7609516b9a42af (patch)
tree6fa148c422299b05e0fdafafe99606071c5b1b3c
parent9d7fc78264ce85de3fd021dd4a12313749afa582 (diff)
downloadgobject-introspection-f4e796c7391d23fd9fb1a8fd1b7609516b9a42af.tar.gz
Keep valgrind happy in a test
-rw-r--r--gir/gimarshallingtests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gir/gimarshallingtests.c b/gir/gimarshallingtests.c
index 839b7b3e..c48a430a 100644
--- a/gir/gimarshallingtests.c
+++ b/gir/gimarshallingtests.c
@@ -2795,7 +2795,7 @@ g_i_marshalling_tests_object_method_with_default_implementation (GIMarshallingTe
static void
g_i_marshalling_tests_object_real_method_with_default_implementation (GIMarshallingTestsObject *self, gint8 in)
{
- GValue val;
+ GValue val = {0, };
g_value_init (&val, G_TYPE_INT);
g_value_set_int (&val, in);
g_object_set_property (G_OBJECT (self), "int", &val);