From 0646e115fd635e0b96739ea39e65c0ef78ffaa30 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Sat, 26 Dec 2015 20:25:45 -0500 Subject: Fix numerous warnings/errors --- src/remote-exec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/remote-exec.c') diff --git a/src/remote-exec.c b/src/remote-exec.c index edf75f2..00e47fa 100644 --- a/src/remote-exec.c +++ b/src/remote-exec.c @@ -26,6 +26,7 @@ #include "trg-prefs.h" #include "protocol-constants.h" #include "torrent.h" +#include "remote-exec.h" /* A few functions used to build local commands, otherwise known as actions. * @@ -53,7 +54,7 @@ static const char json_exceptions[] = { 0x7f, 0x80, 0x81, 0x82, 0x83, 0x84, static gchar *dump_json_value(JsonNode * node) { - GValue value = { 0, }; + GValue value = G_VALUE_INIT; GString *buffer; buffer = g_string_new(""); -- cgit v1.2.3