]> granicus.if.org Git - curl/commitdiff
hostip: fix compiler warning: 'variable set but not used'
authorMichael Kaufmann <mail@michael-kaufmann.ch>
Sun, 11 Mar 2018 19:27:09 +0000 (20:27 +0100)
committerMichael Kaufmann <mail@michael-kaufmann.ch>
Sun, 11 Mar 2018 19:27:38 +0000 (20:27 +0100)
lib/hostip.c

index 8554d39d1e7f5ff1b02d9edfa34deee5c78abdc9..d2ebe2fa4324cdc153adf5adbffc8c384fb3f529 100644 (file)
@@ -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;