From b3438cf98670db7f47d2e87f6ee2d68a392d56c5 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Sat, 7 Oct 2017 06:01:35 -0700 Subject: [PATCH] opal/util/net.c: fix compiler warning This variable is only used when IPv6 support is enabled; ensure to protect it in an #if OPAL_ENABLE_IPv6 check. Signed-off-by: Jeff Squyres --- opal/util/net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opal/util/net.c b/opal/util/net.c index 77fcf25ff4b..31c5986c8a2 100644 --- a/opal/util/net.c +++ b/opal/util/net.c @@ -11,7 +11,7 @@ * All rights reserved. * Copyright (c) 2007 Los Alamos National Security, LLC. All rights * reserved. - * Copyright (c) 2009-2015 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2009-2017 Cisco Systems, Inc. All rights reserved * Copyright (c) 2013 Intel, Inc. All rights reserved. * Copyright (c) 2015 Research Organization for Information Science * and Technology (RIST). All rights reserved.