]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix warning in windows compile, in set_recvtimestamp.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 11 May 2023 07:32:59 +0000 (09:32 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 11 May 2023 07:32:59 +0000 (09:32 +0200)
doc/Changelog
services/listen_dnsport.c

index b9fb9331e6c5b8b4b954eddcbebab28c42f3461b..9c5f7dea978807f97e87d89d37d89a63a8dbe406 100644 (file)
@@ -1,3 +1,6 @@
+11 May 2023: Wouter
+       - Fix warning in windows compile, in set_recvtimestamp.
+
 4 May 2023: Wouter
        - Fix #885: Error: util/configlexer.c: No such file or directory,
          adds error messages explaining to install flex and bison.
index 9389b352a3482197f3340860587a8f25a0b3b534..60f9b41e5f6cd9c1e0a7f241784b114b0ee0fb2e 100644 (file)
@@ -1130,6 +1130,7 @@ set_recvtimestamp(int s)
        return 1;
 #else
        log_err("packets timestamping is not supported on this platform");
+       (void)s;
        return 0;
 #endif
 }