diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-12-20 19:40:08 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-12-20 19:40:08 (GMT) |
commit | 37529db25c4bb0699024a26eb6e7a8f81390892b (patch) | |
tree | 83a53f4f063353d25e8dd6a47cb2b09d7dcfea1b /tools/lib/h5tools_filters.c | |
parent | a08a3eaebac031a909748db05f747cec72989f5c (diff) | |
download | hdf5-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.c | 4 |
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 */ |