summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/h5dump/h5dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5dump/h5dump.c b/tools/h5dump/h5dump.c
index 317cdab..8322cbc 100644
--- a/tools/h5dump/h5dump.c
+++ b/tools/h5dump/h5dump.c
@@ -3521,6 +3521,7 @@ parse_start:
usage(progname);
leave(EXIT_FAILURE);
}
+ bin_output = TRUE;
if (outfname!=NULL) {
if (set_output_file(outfname, 1) < 0){
/* failed to set output file */
@@ -3528,7 +3529,6 @@ parse_start:
leave(EXIT_FAILURE);
}
- bin_output = TRUE;
last_was_dset = FALSE;
}