Fix a warning in HTTP API _send function
This commit is contained in:
parent
e7eb419206
commit
11c10d9eae
@ -536,7 +536,7 @@ _response_callback(SoupSession *session,
|
|||||||
gsize datalen;
|
gsize datalen;
|
||||||
JsonParser *parser;
|
JsonParser *parser;
|
||||||
SoupURI *request_uri = soup_message_get_uri(msg);
|
SoupURI *request_uri = soup_message_get_uri(msg);
|
||||||
const gchar *request_url;
|
const gchar *request_url = NULL;
|
||||||
|
|
||||||
switch (request->call_type) {
|
switch (request->call_type) {
|
||||||
case CALL_API:
|
case CALL_API:
|
||||||
@ -732,7 +732,7 @@ _send(MatrixHTTPAPI *api,
|
|||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
MatrixHTTPAPIPrivate *priv = matrix_http_api_get_instance_private(api);
|
MatrixHTTPAPIPrivate *priv = matrix_http_api_get_instance_private(api);
|
||||||
SoupURI *request_path;
|
SoupURI *request_path = NULL;
|
||||||
SoupMessage *message;
|
SoupMessage *message;
|
||||||
gchar *data, *url;
|
gchar *data, *url;
|
||||||
gsize datalen;
|
gsize datalen;
|
||||||
|
Loading…
Reference in New Issue
Block a user