diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-17 13:39:51 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-17 13:39:51 +0100 |
commit | 1b7b0ce9d184476396acbe904d8089d737fcf3f4 (patch) | |
tree | f543d6c2bfd00cbaa97633e55d948fefe4d95d95 | |
parent | 1f7c964d0634478dd0cf79f71d5bd4dcb2c5f37c (diff) | |
download | uclient-1b7b0ce9d184476396acbe904d8089d737fcf3f4.tar.gz |
core: fix unused but set variable
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-rw-r--r-- | uclient.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -200,7 +200,6 @@ int uclient_set_proxy_url(struct uclient *cl, const char *url_str, const char *a { const struct uclient_backend *backend = cl->backend; struct uclient_url *url; - const char *location; int host_len; char *next, *host; @@ -212,7 +211,7 @@ int uclient_set_proxy_url(struct uclient *cl, const char *url_str, const char *a return -1; host = next + 3; - location = uclient_split_host(host, &host_len); + uclient_split_host(host, &host_len); url = __uclient_get_url(NULL, host, host_len, url_str, auth_str); if (!url) |