From 8d128fe090ea9ce2c55b9be267f76a246475bdec Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Thu, 25 Jun 2015 13:24:30 -0700 Subject: [PATCH] Remove the non-null attributes from the cmd_line parser as this isn't something we can guarantee, and the optimization isn't worth the potential for error --- opal/util/cmd_line.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/opal/util/cmd_line.h b/opal/util/cmd_line.h index 24827dff01..9cf3217208 100644 --- a/opal/util/cmd_line.h +++ b/opal/util/cmd_line.h @@ -9,7 +9,8 @@ * University of Stuttgart. All rights reserved. * Copyright (c) 2004-2005 The Regents of the University of California. * All rights reserved. - * Copyright (c) 2012 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2012 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2015 Intel, Inc. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow @@ -566,7 +567,7 @@ BEGIN_C_DECLS * to opal_argv_free()) by the caller. */ OPAL_DECLSPEC int opal_cmd_line_get_tail(opal_cmd_line_t *cmd, int *tailc, - char ***tailv) __opal_attribute_nonnull__(1) __opal_attribute_nonnull__(2); + char ***tailv); END_C_DECLS