diff --git a/compat.h b/compat.h index c6e38d8a..f7cb4da5 100644 --- a/compat.h +++ b/compat.h @@ -57,7 +57,7 @@ enum { PRIO_PROCESS = 0, }; -static inline int setpriority(int which, int who, int prio) +static inline int setpriority(__maybe_unused int which, __maybe_unused int who, __maybe_unused int prio) { /* FIXME - actually do something */ return 0; diff --git a/util.c b/util.c index b3a5a1ba..3a0dbc18 100644 --- a/util.c +++ b/util.c @@ -480,6 +480,7 @@ static struct { { "socks4a:", CURLPROXY_SOCKS4A }, { "socks5h:", CURLPROXY_SOCKS5_HOSTNAME }, #endif + { NULL, 0 } }; #endif