aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kaufmann <mail@michael-kaufmann.ch>2018-03-11 20:27:09 +0100
committerMichael Kaufmann <mail@michael-kaufmann.ch>2018-03-11 20:27:38 +0100
commita577059f92fc65bd6b81717f0737f897a5b34248 (patch)
treec9a834cf8b4f016bd2ab0c4c900e2f3d65bc5675
parent8123560d4496992baecc0c7a05e56ce48e6b6273 (diff)
hostip: fix compiler warning: 'variable set but not used'
-rw-r--r--lib/hostip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostip.c b/lib/hostip.c
index 8554d39d1..d2ebe2fa4 100644
--- a/lib/hostip.c
+++ b/lib/hostip.c
@@ -835,7 +835,7 @@ CURLcode Curl_loadhostpairs(struct Curl_easy *data)
char *entry_id;
size_t entry_len;
char address[64];
- char *addresses = NULL;
+ char *addresses;
char *addr_begin;
char *addr_end;
char *port_ptr;