From 1bd0dc67914b7398acf60aaa42aa03bb4d36b839 Mon Sep 17 00:00:00 2001 From: Alexandre Rostovtsev Date: Thu, 5 Mar 2015 13:05:21 -0500 Subject: [PATCH] tests: GError pointers must be initialized https://bugzilla.gnome.org/show_bug.cgi?id=745694 --- tests/custom-serialize.c | 2 +- tests/proxy-continuous.c | 2 +- 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; -- 2.3.1