Skip to content

Commit dadc924

Browse files
author
Ralph Castain
committed
Cleanup warnings when timing is not enabled
Signed-off-by: Ralph Castain <[email protected]>
1 parent 97e38e6 commit dadc924

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ompi/util/timings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ typedef struct ompi_timing_t {
223223
#else
224224
#define OMPI_TIMING_INIT(size)
225225

226-
#define OMPI_TIMING_NEXT(fmt, ...)
226+
#define OMPI_TIMING_NEXT(...)
227227

228228
#define OMPI_TIMING_APPEND(desc,ts)
229229

opal/util/timings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ opal_timing_ts_func_t opal_timing_ts_func(opal_timer_type_t type);
209209

210210
#define OPAL_TIMING_ENV_INIT_PREFIX(prefix)
211211

212-
#define OPAL_TIMING_ENV_NEXT(h, fmt, ... )
212+
#define OPAL_TIMING_ENV_NEXT(h, ... )
213213

214214
#define OPAL_TIMING_ENV_CNT_PREFIX(prefix, func)
215215

0 commit comments

Comments
 (0)