Browse Source

less warnings

master
Felix von Leitner 3 years ago
parent
commit
e78d79b263
  1. 2
      socket/socket_quickack.c

2
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

Loading…
Cancel
Save