summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools_filters.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-12-20 19:40:08 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-12-20 19:40:08 (GMT)
commit37529db25c4bb0699024a26eb6e7a8f81390892b (patch)
tree83a53f4f063353d25e8dd6a47cb2b09d7dcfea1b /tools/lib/h5tools_filters.c
parenta08a3eaebac031a909748db05f747cec72989f5c (diff)
downloadhdf5-37529db25c4bb0699024a26eb6e7a8f81390892b.zip
hdf5-37529db25c4bb0699024a26eb6e7a8f81390892b.tar.gz
hdf5-37529db25c4bb0699024a26eb6e7a8f81390892b.tar.bz2
HDFFV-10976,-10980 h5dump, h5ls, h5diff use new ref APIs
Diffstat (limited to 'tools/lib/h5tools_filters.c')
-rw-r--r--tools/lib/h5tools_filters.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lib/h5tools_filters.c b/tools/lib/h5tools_filters.c
index aafc7ba..acaf24a 100644
--- a/tools/lib/h5tools_filters.c
+++ b/tools/lib/h5tools_filters.c
@@ -43,7 +43,7 @@ int
h5tools_canreadf(const char* name, /* object name, serves also as boolean print */
hid_t dcpl_id) /* dataset creation property list */
{
- int ret_value = 1;
+ H5TOOLS_ERR_INIT(int, 1)
int nfilters; /* number of filters */
H5Z_filter_t filtn; /* filter identification number */
int i; /* index */
@@ -144,7 +144,7 @@ done:
H5_ATTR_CONST int
h5tools_can_encode(H5Z_filter_t filtn)
{
- int ret_value = 1;
+ H5TOOLS_ERR_INIT(int, 1)
switch (filtn) {
/* user defined filter */