mirror of
https://github.com/curl/curl.git
synced 2026-07-24 14:07:16 +03: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue