summaryrefslogtreecommitdiffstats
path: root/test/test-mock.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-mock.c')
-rw-r--r--test/test-mock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-mock.c b/test/test-mock.c
index 8de7d1c..0563197 100644
--- a/test/test-mock.c
+++ b/test/test-mock.c
@@ -305,7 +305,7 @@ test_factory_hashtable (Fixture *fixture, gconstpointer data)
gchar *foo = "roi-x0";
gchar *bar = "roi-y0";
- GValue baz = G_VALUE_INIT;
+ GValue baz = { 0 };
g_value_init(&baz, G_TYPE_UINT);
g_value_set_uint(&baz, checkvalue);