less warnings

master
leitner 6 years ago
parent 5c7270190b
commit 14df96bc34

@ -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

Loading…
Cancel
Save