summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix von Leitner <felix-libowfat@fefe.de>2019-02-21 12:39:44 +0000
committerFelix von Leitner <felix-libowfat@fefe.de>2019-02-21 12:39:44 +0000
commite78d79b2632dc25d1146c7b186434029ae0eabba (patch)
treeacdf4027044c032086cf71491f82579dc6ec2de6
parent79f12bb3dc31f013800f0bf5a76e046d08823b30 (diff)
downloadlibowfat-e78d79b2632dc25d1146c7b186434029ae0eabba.tar.gz
libowfat-e78d79b2632dc25d1146c7b186434029ae0eabba.zip
less warnings
-rw-r--r--socket/socket_quickack.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/socket/socket_quickack.c b/socket/socket_quickack.c
index 3dc1766..03d11aa 100644
--- a/socket/socket_quickack.c
+++ b/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