summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2019-06-28 15:03:45 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2019-06-28 15:03:45 (GMT)
commit8f0aacce8f8f4507325a6780cc06e0e1437fd1dc (patch)
tree6243c2fc85225478a42f5ded45a843c256b4bea4 /tools
parentb6268dbb1b4548be0a7bb5605001cb1859daec30 (diff)
parent1c4101c6a77dd9223483dd9e3f7bec0f9e92f435 (diff)
downloadhdf5-8f0aacce8f8f4507325a6780cc06e0e1437fd1dc.zip
hdf5-8f0aacce8f8f4507325a6780cc06e0e1437fd1dc.tar.gz
hdf5-8f0aacce8f8f4507325a6780cc06e0e1437fd1dc.tar.bz2
Merge pull request #1782 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:warning_fixes to develop
* commit '1c4101c6a77dd9223483dd9e3f7bec0f9e92f435': Fixed various warnings in testhdf5 files. Warning fixes: * fix for static/const flipped in H5Dint.c * Removed missing done target in H5Rint.c * Fixed misleading indentation in h5format_convert.c
Diffstat (limited to 'tools')
-rw-r--r--tools/src/h5format_convert/h5format_convert.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/src/h5format_convert/h5format_convert.c b/tools/src/h5format_convert/h5format_convert.c
index b9ed9ce..5fb02f4 100644
--- a/tools/src/h5format_convert/h5format_convert.c
+++ b/tools/src/h5format_convert/h5format_convert.c
@@ -260,8 +260,9 @@ convert(hid_t fid, const char *dname)
h5tools_setstatus(EXIT_FAILURE);
goto error;
}
- else if(verbose_g)
+ else if(verbose_g) {
HDfprintf(stdout, "Retrieve the dataset's chunk indexing type\n");
+ }
if(idx_type == H5D_CHUNK_IDX_BTREE) {
if(verbose_g)
@@ -269,8 +270,9 @@ convert(hid_t fid, const char *dname)
h5tools_setstatus(EXIT_SUCCESS);
goto done;
}
- else if (verbose_g)
+ else if(verbose_g) {
HDfprintf(stdout, "Dataset's chunk indexing type is not version 1 B-tree\n");
+ }
break;
@@ -302,8 +304,8 @@ convert(hid_t fid, const char *dname)
if(noop_g) {
if(verbose_g)
HDfprintf(stdout, "Not converting the dataset\n");
- h5tools_setstatus(EXIT_SUCCESS);
- goto done;
+ h5tools_setstatus(EXIT_SUCCESS);
+ goto done;
}
if(verbose_g)