summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2020-04-17 15:35:10 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2020-04-17 15:35:10 (GMT)
commit59d0c8bf4ddce74e2a444232f00a1178ff1baf95 (patch)
tree3758b7cd9272b7097c71be2314065977868c6755
parent2d574a6439f11a7ecdaafb9d542595ecc21cd2bf (diff)
downloadhdf5-59d0c8bf4ddce74e2a444232f00a1178ff1baf95.zip
hdf5-59d0c8bf4ddce74e2a444232f00a1178ff1baf95.tar.gz
hdf5-59d0c8bf4ddce74e2a444232f00a1178ff1baf95.tar.bz2
Remove extra '{' in #ifdef H5FDmpio_DEBUG block; fix indentation.
-rw-r--r--src/H5FDmpio.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/H5FDmpio.c b/src/H5FDmpio.c
index 1f219bb..b1c0961 100644
--- a/src/H5FDmpio.c
+++ b/src/H5FDmpio.c
@@ -963,14 +963,13 @@ H5FD_mpio_open(const char *name, unsigned flags, hid_t fapl_id,
#ifdef H5FDmpio_DEBUG
/* Check for debug commands in the info parameter */
- {
- if(MPI_INFO_NULL != info_dup) {
- char debug_str[128];
- int flag;
-
- MPI_Info_get(fa->info, H5F_MPIO_DEBUG_KEY, sizeof(debug_str) - 1, debug_str, &flag);
- if(flag) {
- int i;
+ if(MPI_INFO_NULL != info_dup) {
+ char debug_str[128];
+ int flag;
+
+ MPI_Info_get(fa->info, H5F_MPIO_DEBUG_KEY, sizeof(debug_str) - 1, debug_str, &flag);
+ if(flag) {
+ int i;
HDfprintf(stdout, "H5FD_mpio debug flags = '%s'\n", debug_str);
for(i = 0; debug_str[i]/*end of string*/ && i < 128/*just in case*/; ++i)