Browse Source

less warnings

master
Felix von Leitner 1 year ago
parent
commit
e78d79b263
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      socket/socket_quickack.c

+ 2
- 0
socket/socket_quickack.c 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


Loading…
Cancel
Save