less warnings
This commit is contained in:
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…
x
Reference in New Issue
Block a user