Fix a warning in HTTP API _send function

This commit is contained in:
Gergely Polonkai 2016-02-27 08:06:10 +01:00
parent e7eb419206
commit 11c10d9eae

View File

@ -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;