summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/custom-serialize.c2
-rw-r--r--tests/proxy-continuous.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/custom-serialize.c b/tests/custom-serialize.c
index b50405d..f683941 100644
--- a/tests/custom-serialize.c
+++ b/tests/custom-serialize.c
@@ -115,7 +115,7 @@ main (int argc, char **argv)
RestProxy *proxy;
RestProxyCall *call;
char *url;
- GError *error;
+ GError *error = NULL;
#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
diff --git a/tests/proxy-continuous.c b/tests/proxy-continuous.c
index 9395cd2..22ad0f7 100644
--- a/tests/proxy-continuous.c
+++ b/tests/proxy-continuous.c
@@ -139,7 +139,7 @@ static void
stream_test (RestProxy *proxy)
{
RestProxyCall *call;
- GError *error;
+ GError *error = NULL;
client_count = 1;