summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJonathan Kim <jkm@hdfgroup.org>2010-09-15 19:29:11 (GMT)
committerJonathan Kim <jkm@hdfgroup.org>2010-09-15 19:29:11 (GMT)
commit3755fa1822fdd3a7a68eef9f4a6aabade7dacb56 (patch)
tree357fe1b8d5edfe0e873b614ce1f5e00333d6d113 /tools
parentf4af8527642179df0d8b380ae27fecd73c463dfa (diff)
downloadhdf5-3755fa1822fdd3a7a68eef9f4a6aabade7dacb56.zip
hdf5-3755fa1822fdd3a7a68eef9f4a6aabade7dacb56.tar.gz
hdf5-3755fa1822fdd3a7a68eef9f4a6aabade7dacb56.tar.bz2
[svn-r19393] Purpose:
Additional fix for Bug 1821 - h5repack outputs compression information where it is not supposed to Description: Merged from hdf5 trunk (r19392) Remove unnecessary lopping code, which only lowers performance. Tested: jam, amani
Diffstat (limited to 'tools')
-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 df49b3c..d8b50b6 100644
--- a/tools/h5repack/h5repack_copy.c
+++ b/tools/h5repack/h5repack_copy.c
@@ -643,14 +643,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;
}
- }
}
}