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 #ifdef TCP_QUICKACK
return setsockopt(s, SOL_TCP, TCP_QUICKACK, &value, sizeof(int)); return setsockopt(s, SOL_TCP, TCP_QUICKACK, &value, sizeof(int));
#else #else
(void)s; // shut up unused variable warnings
(void)value;
#ifdef ENOPROTOOPT #ifdef ENOPROTOOPT
errno=ENOPROTOOPT; errno=ENOPROTOOPT;
#else #else

Loading…
Cancel
Save