From d06474c4e1ba8628f896e57e619d4b142e6ba8b0 Mon Sep 17 00:00:00 2001 From: kmu Date: Mon, 11 Nov 2019 10:49:37 -0600 Subject: fix warnings and some text alignment --- test/h5test.c | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/test/h5test.c b/test/h5test.c index c8f4132..1faf02d 100644 --- a/test/h5test.c +++ b/test/h5test.c @@ -1318,23 +1318,21 @@ h5_dump_info_object(MPI_Info info) { char key[MPI_MAX_INFO_KEY+1]; char value[MPI_MAX_INFO_VAL+1]; - int flag; - int i, nkeys; + int flag; + int i, nkeys; - HDprintf("Dumping MPI Info Object(%d) (up to %d bytes per item):\n", (int)info, - MPI_MAX_INFO_VAL); - if (info==MPI_INFO_NULL){ - HDprintf("object is MPI_INFO_NULL\n"); + HDprintf("Dumping MPI Info Object (up to %d bytes per item):\n", MPI_MAX_INFO_VAL); + if (info==MPI_INFO_NULL) { + HDprintf("object is MPI_INFO_NULL\n"); } else { - MPI_Info_get_nkeys(info, &nkeys); - HDprintf("object has %d items\n", nkeys); - for (i=0; i