Skip to content

Commit ccc5282

Browse files
authored
Merge pull request #8692 from awlauria/variodic_args
Fix "variadic macros" warning.
2 parents d05e0fd + ef28e8d commit ccc5282

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)