projects
/
project
/
uclient.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f7c964
)
core: fix unused but set variable
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 17 Jan 2016 12:39:51 +0000
(13:39 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 17 Jan 2016 12:39:51 +0000
(13:39 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
uclient.c
patch
|
blob
|
history
diff --git
a/uclient.c
b/uclient.c
index 612dbc163fdc0ebc7f686de670edeafd5c9f7397..3b3864fe06635aa8aa3be974efc2247dfac29bfd 100644
(file)
--- a/
uclient.c
+++ b/
uclient.c
@@
-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)