summaryrefslogtreecommitdiffstats
path: root/test/test-mock.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2016-02-10 11:37:12 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2016-02-10 11:37:12 +0100
commit84221d69f0bab92d578d50d1fdd8352be5a59019 (patch)
treec33bbdef63bbd7c95c406ad03d949f141a606827 /test/test-mock.c
parent525a8eeccf4d65b927fcd98eceefd4f9632d2df5 (diff)
downloadlibuca-84221d69f0bab92d578d50d1fdd8352be5a59019.tar.gz
libuca-84221d69f0bab92d578d50d1fdd8352be5a59019.tar.bz2
libuca-84221d69f0bab92d578d50d1fdd8352be5a59019.tar.xz
libuca-84221d69f0bab92d578d50d1fdd8352be5a59019.zip
Remove G_VALUE_INIT
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);