summaryrefslogtreecommitdiff
path: root/src/remote-exec.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/remote-exec.c
parent2f7f7e916963d3a2f31dcabd34fbb50b562230aa (diff)
Fix numerous warnings/errors
Diffstat (limited to 'src/remote-exec.c')
-rw-r--r--src/remote-exec.c3
1 files changed, 2 insertions, 1 deletions
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("");