summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/h5repack/h5repack_copy.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/h5repack/h5repack_copy.c b/tools/h5repack/h5repack_copy.c
index 6ad97d7..2bcdfd4 100644
--- a/tools/h5repack/h5repack_copy.c
+++ b/tools/h5repack/h5repack_copy.c
@@ -437,9 +437,6 @@ int do_copy_objects(hid_t fidin,
*/
case H5TRAV_TYPE_DATASET:
- if (options->verbose)
- printf(FORMAT_OBJ,"dset",travt->objs[i].name );
-
has_filter = 0;
/* early detection of references */
@@ -769,6 +766,11 @@ int do_copy_objects(hid_t fidin,
if(H5Dclose(dset_out) < 0)
goto error;
+
+ if (options->verbose)
+ printf(FORMAT_OBJ,"dset",travt->objs[i].name );
+
+
} /* end do we have request for filter/chunking */
@@ -1059,6 +1061,7 @@ static void print_dataset_info(hid_t dcpl_id,
char f_objname[256]; /* filter objname */
int i;
+
strcpy(strfilter,"\0");
/* get information about input filters */