Merge pull request #311 from kanoi/master util.c - bug - proxy - no data end condition
diff --git a/compat.h b/compat.h
index c6e38d8..f7cb4da 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 b3a5a1b..3a0dbc1 100644
--- a/util.c
+++ b/util.c
@@ -480,6 +480,7 @@ static struct {
{ "socks4a:", CURLPROXY_SOCKS4A },
{ "socks5h:", CURLPROXY_SOCKS5_HOSTNAME },
#endif
+ { NULL, 0 }
};
#endif