From 11c10d9eaef69007a76de68e417365aea492809c Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Sat, 27 Feb 2016 08:06:10 +0100 Subject: [PATCH] Fix a warning in HTTP API _send function --- src/matrix-http-api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/matrix-http-api.c b/src/matrix-http-api.c index 3008dd2..31d2554 100644 --- a/src/matrix-http-api.c +++ b/src/matrix-http-api.c @@ -536,7 +536,7 @@ _response_callback(SoupSession *session, gsize datalen; JsonParser *parser; SoupURI *request_uri = soup_message_get_uri(msg); - const gchar *request_url; + const gchar *request_url = NULL; switch (request->call_type) { case CALL_API: @@ -732,7 +732,7 @@ _send(MatrixHTTPAPI *api, GError **error) { MatrixHTTPAPIPrivate *priv = matrix_http_api_get_instance_private(api); - SoupURI *request_path; + SoupURI *request_path = NULL; SoupMessage *message; gchar *data, *url; gsize datalen;