less warnings

This commit is contained in:
leitner 2019-02-21 12:39:44 +00:00
parent 5c7270190b
commit 14df96bc34

View File

@ -10,6 +10,8 @@ int socket_quickack(int s,int value) {
#ifdef TCP_QUICKACK
return setsockopt(s, SOL_TCP, TCP_QUICKACK, &value, sizeof(int));
#else
(void)s; // shut up unused variable warnings
(void)value;
#ifdef ENOPROTOOPT
errno=ENOPROTOOPT;
#else