From 938680d0c7a37742f736403731e6e6db2ec46b9c Mon Sep 17 00:00:00 2001 From: Ed Hartnett Date: Sat, 23 Mar 2019 09:34:19 -0600 Subject: [PATCH] fixed warning in test_perf2.c --- tests/cunit/test_perf2.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/cunit/test_perf2.c b/tests/cunit/test_perf2.c index 36668776108..66f2b259a1b 100644 --- a/tests/cunit/test_perf2.c +++ b/tests/cunit/test_perf2.c @@ -219,9 +219,8 @@ int test_darray(int iosysid, int ioid, int num_flavors, int *flavor, int my_rank startt = (1000000 * starttime.tv_sec) + starttime.tv_usec; endt = (1000000 * endtime.tv_sec) + endtime.tv_usec; delta = (endt - startt)/NUM_TIMESTEPS; - /* if (!my_rank) */ - /* printf("%d\t%d\t%d\t%d\t%lld\n", rearranger, fmt, pio_type, test_multi, */ - /* delta); */ + if (!my_rank) + printf("%d\t%lld\n", fmt, delta); /* Reopen the file. */ if ((ret = PIOc_openfile(iosysid, &ncid2, &flavor[fmt], filename, PIO_NOWRITE)))