aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/socket/socket_udp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/utils/socket/socket_udp.cpp')
-rw-r--r--src/lib/utils/socket/socket_udp.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/utils/socket/socket_udp.cpp b/src/lib/utils/socket/socket_udp.cpp
index 651fe1b0c..6e7cb1f11 100644
--- a/src/lib/utils/socket/socket_udp.cpp
+++ b/src/lib/utils/socket/socket_udp.cpp
@@ -320,6 +320,9 @@ OS::open_socket_udp(const std::string& hostname,
#elif defined(BOTAN_TARGET_OS_HAS_SOCKETS) || defined(BOTAN_TARGET_OS_HAS_WINSOCK2)
return std::unique_ptr<OS::SocketUDP>(new BSD_SocketUDP(hostname, service, timeout));
#else
+ BOTAN_UNUSED(hostname);
+ BOTAN_UNUSED(service);
+ BOTAN_UNUSED(timeout);
return std::unique_ptr<OS::SocketUDP>();
#endif
}