summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack_opttable.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-09-19 18:57:28 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-09-19 18:57:28 (GMT)
commitd8e10727326798447c458d91f1509cc844ecd080 (patch)
tree3ddc03401b9dbcf02dda056b064da11c41a216e4 /tools/h5repack/h5repack_opttable.c
parent8436735388f192ecc19b76ac043117a3d883fa14 (diff)
downloadhdf5-d8e10727326798447c458d91f1509cc844ecd080.zip
hdf5-d8e10727326798447c458d91f1509cc844ecd080.tar.gz
hdf5-d8e10727326798447c458d91f1509cc844ecd080.tar.bz2
[svn-r15662] Cleaned compiler warnings
Bug fixes: change the options block size variable from int to hsize_t, to match the H5Pset_userblock call, 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;