diff --git a/socket/socket_quickack.c b/socket/socket_quickack.c index 3dc1766..03d11aa 100644 --- a/socket/socket_quickack.c +++ b/socket/socket_quickack.c @@ -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