]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
netrc: remove unused parsenetrc() macro for netrc-disabled
authorDaniel Stenberg <daniel@haxx.se>
Mon, 23 Mar 2026 07:51:02 +0000 (08:51 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 23 Mar 2026 09:19:08 +0000 (10:19 +0100)
When netrc is disabled, this macro is unused (and wrong).

Closes #21067

lib/netrc.h

index 061e1e438b9c956e8e794347492286b9783a60f0..90318c2bd645a360fdcd560379aef9bb236cd3c0 100644 (file)
@@ -58,7 +58,6 @@ NETRCcode Curl_parsenetrc(struct store_netrc *store, const char *host,
  */
 #else
 /* disabled */
-#define Curl_parsenetrc(a, b, c, d, e, f) 1
 #define Curl_netrc_init(x)
 #define Curl_netrc_cleanup(x)
 #endif