mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 17:31:46 -05:00
Revert "hostip: fix compiler warning: 'variable set but not used'"
This reverts commit a577059f92fc65bd6b81717f0737f897a5b34248. 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…
x
Reference in New Issue
Block a user