summaryrefslogtreecommitdiffstats
path: root/tools/src/h5ls/h5ls.c
diff options
context:
space:
mode:
authorKimmy Mu <kmu@hdfgroup.org>2020-01-23 01:46:53 (GMT)
committerKimmy Mu <kmu@hdfgroup.org>2020-01-23 01:46:53 (GMT)
commit8ce59829e4064debc973ec750cd700eec288a19f (patch)
tree4c66f1e6e9fff1e9794e96dcac2bf9624f360c6b /tools/src/h5ls/h5ls.c
parentad8e79beece8ddea71715d3fd2634af12d78ca29 (diff)
parent145ef3ceee20c28a443bd11507c58858bea3f889 (diff)
downloadhdf5-8ce59829e4064debc973ec750cd700eec288a19f.zip
hdf5-8ce59829e4064debc973ec750cd700eec288a19f.tar.gz
hdf5-8ce59829e4064debc973ec750cd700eec288a19f.tar.bz2
Merge pull request #2094 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/unused to develop
* commit '145ef3ceee20c28a443bd11507c58858bea3f889': more cleanup change it back pick up missing piece fix unused related warnings removed unused parameter more fix and address comments remove unsed var,function,macro, etc
Diffstat (limited to 'tools/src/h5ls/h5ls.c')
-rw-r--r--tools/src/h5ls/h5ls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/src/h5ls/h5ls.c b/tools/src/h5ls/h5ls.c
index 88f1d2b..8f8272c 100644
--- a/tools/src/h5ls/h5ls.c
+++ b/tools/src/h5ls/h5ls.c
@@ -1695,7 +1695,7 @@ done:
*-------------------------------------------------------------------------
*/
static void
-dump_attribute_values(hid_t attr, const char *attr_name)
+dump_attribute_values(hid_t attr)
{
hid_t f_type = H5I_INVALID_HID;
hid_t space = H5I_INVALID_HID;
@@ -1955,7 +1955,7 @@ list_attr(hid_t obj, const char *attr_name, const H5A_info_t H5_ATTR_UNUSED *ain
h5tools_str_close(&buffer);
if (data_g)
- dump_attribute_values(attr, attr_name);
+ dump_attribute_values(attr);
H5Aclose(attr);
}
else {