summaryrefslogtreecommitdiffstats
path: root/tools/src/h5dump
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-09-13 16:33:47 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-09-13 16:34:00 (GMT)
commitb477f9bcc7bb83d7c06e1d09f428030f51d71897 (patch)
treeb1b1e0bc7fe119d70bdab06bbb61ece3fa5ecfa4 /tools/src/h5dump
parentcafab483ff373731e694096a9cdfdf262ed7cf5f (diff)
downloadhdf5-b477f9bcc7bb83d7c06e1d09f428030f51d71897.zip
hdf5-b477f9bcc7bb83d7c06e1d09f428030f51d71897.tar.gz
hdf5-b477f9bcc7bb83d7c06e1d09f428030f51d71897.tar.bz2
HDFFV-10901 add missing config options
Diffstat (limited to 'tools/src/h5dump')
-rw-r--r--tools/src/h5dump/h5dump.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/tools/src/h5dump/h5dump.c b/tools/src/h5dump/h5dump.c
index 5df701a..b1e736a 100644
--- a/tools/src/h5dump/h5dump.c
+++ b/tools/src/h5dump/h5dump.c
@@ -1639,14 +1639,10 @@ main(int argc, const char *argv[])
if (fapl_id != H5P_DEFAULT) {
fid = H5Fopen(fname, H5F_ACC_RDONLY, fapl_id);
- } else {
- fid = h5tools_fopen(
- fname,
- H5F_ACC_RDONLY,
- H5P_DEFAULT,
- driver,
- NULL,
- 0);
+ }
+ else {
+ fid = h5tools_fopen(fname, H5F_ACC_RDONLY, H5P_DEFAULT,
+ driver, NULL, 0);
}
if (fid < 0) {