mirror of
https://github.com/curl/curl.git
synced 2025-02-17 14:59:45 +08:00
Revert "hostip: fix compiler warning: 'variable set but not used'"
This reverts commit a577059f92
.
The assignment really needs to be there or we risk working with an
uninitialized pointer.
This commit is contained in:
parent
981e8f9b88
commit
98eee3396d
@ -835,7 +835,7 @@ CURLcode Curl_loadhostpairs(struct Curl_easy *data)
|
||||
char *entry_id;
|
||||
size_t entry_len;
|
||||
char address[64];
|
||||
char *addresses;
|
||||
char *addresses = NULL;
|
||||
char *addr_begin;
|
||||
char *addr_end;
|
||||
char *port_ptr;
|
||||
|
Loading…
Reference in New Issue
Block a user