summaryrefslogtreecommitdiff
path: root/rest
diff options
context:
space:
mode:
authorRob Bradford <rob@linux.intel.com>2010-09-06 12:03:59 +0100
committerRob Bradford <rob@linux.intel.com>2010-09-06 12:10:29 +0100
commit70743a182cc650efa40291f091023cff7ea5d20b (patch)
tree7b6c6cf966cfc3bb30cdbd59d993662f643e23fd /rest
parente7934a3f764313bc96b4c56c06cfc778f13bfbe4 (diff)
proxy-call: The status code for the request is fetched from the message
Therefore we don't need to save the return value from soup_session_send_message ().
Diffstat (limited to 'rest')
-rw-r--r--rest/rest-proxy-call.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/rest/rest-proxy-call.c b/rest/rest-proxy-call.c
index 7b57cb6..baacb77 100644
--- a/rest/rest-proxy-call.c
+++ b/rest/rest-proxy-call.c
@@ -1075,7 +1075,6 @@ rest_proxy_call_sync (RestProxyCall *call,
{
RestProxyCallPrivate *priv;
SoupMessage *message;
- guint status;
gboolean ret;
g_return_val_if_fail (REST_IS_PROXY_CALL (call), FALSE);
@@ -1086,7 +1085,7 @@ rest_proxy_call_sync (RestProxyCall *call,
if (!message)
return FALSE;
- status = _rest_proxy_send_message (priv->proxy, message);
+ _rest_proxy_send_message (priv->proxy, message);
ret = finish_call (call, message, error_out);