From 938009853461267af43908614266b9ef33f825ff Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sun, 14 Aug 2011 14:06:42 +0200 Subject: Compilation error on HP-UX and AIX fixed Signed-off-by: Martin Sustrik --- src/ip.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ip.cpp b/src/ip.cpp index 8e0c064..f47e9bf 100644 --- a/src/ip.cpp +++ b/src/ip.cpp @@ -117,7 +117,7 @@ static int resolve_nic_name (struct sockaddr* addr_, char const *interface_, bool ipv4only_) { // TODO: Unused parameter, IPv6 support not implemented for AIX or HP/UX. - (void) ipv4only; + (void) ipv4only_; // Create a socket. int sd = socket (AF_INET, SOCK_DGRAM, 0); -- cgit v1.2.3