Unverified Commit 98eee339 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Revert "hostip: fix compiler warning: 'variable set but not used'"

This reverts commit a577059f.

The assignment really needs to be there or we risk working with an
uninitialized pointer.
parent 981e8f9b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;