Skip to content

Commit 4285c3c

Browse files
committed
opal/cmd_line: fix compiler warning
We don't use the "non-null" arg attribute stuff anywhere else, and we don't use it on master. So go ahead and remove it here, thereby fixing a compiler warning (that we are redundantly checking the args for NULL in the definition of the routine). Signed-off-by: Jeff Squyres <[email protected]>
1 parent 40dc039 commit 4285c3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opal/util/cmd_line.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* University of Stuttgart. All rights reserved.
1010
* Copyright (c) 2004-2005 The Regents of the University of California.
1111
* All rights reserved.
12-
* Copyright (c) 2012 Cisco Systems, Inc. All rights reserved.
12+
* Copyright (c) 2012-2017 Cisco Systems, Inc. All rights reserved
1313
* $COPYRIGHT$
1414
*
1515
* Additional copyrights may follow
@@ -566,7 +566,7 @@ BEGIN_C_DECLS
566566
* to opal_argv_free()) by the caller.
567567
*/
568568
OPAL_DECLSPEC int opal_cmd_line_get_tail(opal_cmd_line_t *cmd, int *tailc,
569-
char ***tailv) __opal_attribute_nonnull__(1) __opal_attribute_nonnull__(2);
569+
char ***tailv);
570570

571571
END_C_DECLS
572572

0 commit comments

Comments
 (0)