aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/socket/socket_udp.cpp
diff options
context:
space:
mode:
authorNuno Goncalves <[email protected]>2019-10-20 11:58:19 +0200
committerNuno Goncalves <[email protected]>2019-10-20 16:12:23 +0200
commit5bca595410d5f91473b4ded90a6ac923e46ea97c (patch)
treef41308df696dd9591fde649fa2d028601e9a60eb /src/lib/utils/socket/socket_udp.cpp
parent7b3453963dac1a8f45354343b0af26535aea21ae (diff)
silence trivial warnings
Signed-off-by: Nuno Goncalves <[email protected]>
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
}