summaryrefslogtreecommitdiffstats
path: root/src/H5MFdbg.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2016-12-29 10:40:26 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2016-12-29 10:40:26 (GMT)
commitda2f1610d1f2cba40770aee6d0d6fbc8196645ae (patch)
tree7089a182a8aaab3c614edb4a29a65514087b722c /src/H5MFdbg.c
parent6a8222b6a54da80737186d27c54078ac303c92a0 (diff)
downloadhdf5-da2f1610d1f2cba40770aee6d0d6fbc8196645ae.zip
hdf5-da2f1610d1f2cba40770aee6d0d6fbc8196645ae.tar.gz
hdf5-da2f1610d1f2cba40770aee6d0d6fbc8196645ae.tar.bz2
More normalizations against incoming cache image branch.
Diffstat (limited to 'src/H5MFdbg.c')
-rw-r--r--src/H5MFdbg.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/H5MFdbg.c b/src/H5MFdbg.c
index 6d5d994..ef4f1bb 100644
--- a/src/H5MFdbg.c
+++ b/src/H5MFdbg.c
@@ -192,7 +192,7 @@ H5MF_sects_debug(H5F_t *f, hid_t dxpl_id, haddr_t fs_addr, FILE *stream, int ind
HGOTO_ERROR(H5E_HEAP, H5E_CANTRELEASE, FAIL, "can't release free space info")
} /* end if */
break;
- }
+ } /* end if */
done:
FUNC_LEAVE_NOAPI_TAG(ret_value, FAIL)
@@ -267,9 +267,7 @@ HDfprintf(stderr, "%s: sda_addr = %a, sda_size = %Hu, end of sda = %a\n", FUNC,
/* Retrieve the 'eoa' for this file memory type */
if(HADDR_UNDEF == (eoa = H5F_get_eoa(f, type)))
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTGET, FAIL, "driver get_eoa request failed")
- HDfprintf(stream, "%*s%-*s %a\n", indent + 3, "", MAX(0, fwidth - 3),
- "eoa:",
- eoa);
+ HDfprintf(stream, "%*s%-*s %a\n", indent + 3, "", MAX(0, fwidth - 3), "eoa:", eoa);
/* Print header for sections */
HDfprintf(stream, "%*sSections:\n", indent + 3, "");
@@ -288,14 +286,13 @@ HDfprintf(stderr, "%s: sda_addr = %a, sda_size = %Hu, end of sda = %a\n", FUNC,
if(H5FS_sect_iterate(f, dxpl_id, f->shared->fs_man[type], H5MF_sects_debug_cb, &udata) < 0)
HGOTO_ERROR(H5E_HEAP, H5E_BADITER, FAIL, "can't iterate over heap's free space")
} /* end if */
- else {
+ else
/* No sections of this type */
HDfprintf(stream, "%*s<none>\n", indent + 6, "");
- } /* end else */
} /* end if */
- else {
+ else
HDfprintf(stream, "%*sMapped to type = %u\n", indent, "", (unsigned)f->shared->fs_type_map[type]);
- } /* end else */
+
} /* end for */
done: