summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack_opttable.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-09-18 16:06:28 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-09-18 16:06:28 (GMT)
commitfffa1adc9aa4f0e2b099f130750346b4526c15d1 (patch)
tree6ca70ab4c60b13361d6932307b2e20ac721f58b7 /tools/h5repack/h5repack_opttable.c
parentc3b40626a0e49bc8169d0dd0cbb956a8297f5999 (diff)
downloadhdf5-fffa1adc9aa4f0e2b099f130750346b4526c15d1.zip
hdf5-fffa1adc9aa4f0e2b099f130750346b4526c15d1.tar.gz
hdf5-fffa1adc9aa4f0e2b099f130750346b4526c15d1.tar.bz2
[svn-r15652] Cleaned compiler warnings
Bug fix: do not print print compression ratio when the requested filter is NONE Tested: windows, linux
Diffstat (limited to 'tools/h5repack/h5repack_opttable.c')
-rw-r--r--tools/h5repack/h5repack_opttable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5repack/h5repack_opttable.c b/tools/h5repack/h5repack_opttable.c
index bdcae02..8572837 100644
--- a/tools/h5repack/h5repack_opttable.c
+++ b/tools/h5repack/h5repack_opttable.c
@@ -39,7 +39,7 @@ void init_packobject(pack_info_t *obj)
{
obj->filter[j].filtn = -1;
for ( k=0; k<CD_VALUES; k++)
- obj->filter[j].cd_values[k] = -1;
+ obj->filter[j].cd_values[k] = 0;
}
obj->chunk.rank = -1;
obj->refobj_id = -1;