summaryrefslogtreecommitdiff
path: root/src/json.c
diff options
context:
space:
mode:
authorGravatar Patrick Griffis <tingping@tingping.se>2015-12-26 20:25:45 -0500
committerGravatar Patrick Griffis <tingping@tingping.se>2016-01-19 19:35:10 -0500
commit0646e115fd635e0b96739ea39e65c0ef78ffaa30 (patch)
tree14651704a28f0c5c6a6b26d95d6c8cf7617e93a1 /src/json.c
parent2f7f7e916963d3a2f31dcabd34fbb50b562230aa (diff)
Fix numerous warnings/errors
Diffstat (limited to 'src/json.c')
-rw-r--r--src/json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json.c b/src/json.c
index fdce0b6..61dcb8f 100644
--- a/src/json.c
+++ b/src/json.c
@@ -100,7 +100,7 @@ gdouble json_double_to_progress(JsonNode * n)
gdouble json_node_really_get_double(JsonNode * node)
{
- GValue a = { 0 };
+ GValue a = G_VALUE_INIT;
json_node_get_value(node, &a);
switch (G_VALUE_TYPE(&a)) {