summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-04-17 16:16:05 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-04-17 16:16:05 (GMT)
commit6524e17885b939554beb63d7b9df10259ef4d1e5 (patch)
tree3758b7cd9272b7097c71be2314065977868c6755
parent2d574a6439f11a7ecdaafb9d542595ecc21cd2bf (diff)
parent59d0c8bf4ddce74e2a444232f00a1178ff1baf95 (diff)
downloadhdf5-6524e17885b939554beb63d7b9df10259ef4d1e5.zip
hdf5-6524e17885b939554beb63d7b9df10259ef4d1e5.tar.gz
hdf5-6524e17885b939554beb63d7b9df10259ef4d1e5.tar.bz2
Merge pull request #2524 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit '59d0c8bf4ddce74e2a444232f00a1178ff1baf95': 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)