summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Kim <jkm@hdfgroup.org>2010-09-15 19:23:25 (GMT)
committerJonathan Kim <jkm@hdfgroup.org>2010-09-15 19:23:25 (GMT)
commit4c436595abbee884ab01c9e9e7f6d1e131572875 (patch)
tree94201a5c14ed1ff7e9b7ee4f3380c5bd8e09fdea
parenta6b6b75a79248a57867a243b52ef9a6bca196aff (diff)
downloadhdf5-4c436595abbee884ab01c9e9e7f6d1e131572875.zip
hdf5-4c436595abbee884ab01c9e9e7f6d1e131572875.tar.gz
hdf5-4c436595abbee884ab01c9e9e7f6d1e131572875.tar.bz2
[svn-r19392] Purpose:
Additional fix for Bug 1821 - h5repack outputs compression information where it is not supposed to Description: Remove unnecessary lopping code, which only lowers performance. Tested: jam, amani, heiwa
-rw-r--r--tools/h5repack/h5repack_copy.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/h5repack/h5repack_copy.c b/tools/h5repack/h5repack_copy.c
index f58a303..6c47cfb 100644
--- a/tools/h5repack/h5repack_copy.c
+++ b/tools/h5repack/h5repack_copy.c
@@ -687,14 +687,11 @@ int do_copy_objects(hid_t fidin,
/* check if filters were requested for individual objects */
for (u = 0; u < options->op_tbl->nelems; u++) {
- int k;
if (strcmp(travt->objs[i].name, options->op_tbl->objs[u].path) == 0) {
- for (k = 0; k < options->op_tbl->objs[u].nfilters; k++) {
if (options->op_tbl->objs[u].filter->filtn > 0) {
req_filter = 1;
}
- }
}
}