Skip to content

Commit ef28e8d

Browse files
committed
Fix "variadic macros" warning.
Signed-off-by: Austen Lauria <awlauria@us.ibm.com>
1 parent f455578 commit ef28e8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opal/datatype/opal_datatype_internal.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ extern int opal_datatype_dfd;
4141
# define DDT_DUMP_STACK(PSTACK, STACK_POS, PDESC, NAME) \
4242
opal_datatype_dump_stack((PSTACK), (STACK_POS), (PDESC), (NAME))
4343

44-
# define DUMP(ARGS...) opal_output(opal_datatype_dfd, ARGS)
44+
# define DUMP(...) opal_output(opal_datatype_dfd, __VA_ARGS__)
4545

4646
#else
4747

4848
# define DDT_DUMP_STACK(PSTACK, STACK_POS, PDESC, NAME)
49-
# define DUMP(ARGS...)
49+
# define DUMP(...)
5050

5151
#endif /* VERBOSE */
5252

0 commit comments

Comments
 (0)