]> git.meshlink.io Git - meshlink/blobdiff - src/utcp-test.c
Fix compiler warnings on macOS.
[meshlink] / src / utcp-test.c
index f48ac6948431a0f640895c76a54c0ca078363c8d..d78c4b860073c7a0ef0363448a68cad3590c7721 100644 (file)
@@ -164,6 +164,8 @@ static void set_mtu(struct utcp *u, int s) {
                getsockopt(s, IPPROTO_IP, IP_MTU, &mtu, &optlen);
        }
 
+#else
+       (void)s;
 #endif
 
        if(!mtu || mtu == 65535) {