summaryrefslogtreecommitdiffstats
path: root/tools/src/h5ls
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-05-19 20:01:59 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:37:22 (GMT)
commitb5ec806496c909809b4c025dac59f63bbb90a74f (patch)
tree2b8046dc00e35b91e2b2fa755567b46edda0bef5 /tools/src/h5ls
parent0750c5bdede783c4c9a8a289fcad46fb3d92ec69 (diff)
downloadhdf5-b5ec806496c909809b4c025dac59f63bbb90a74f.zip
hdf5-b5ec806496c909809b4c025dac59f63bbb90a74f.tar.gz
hdf5-b5ec806496c909809b4c025dac59f63bbb90a74f.tar.bz2
Reduce diffs with `develop`.
Diffstat (limited to 'tools/src/h5ls')
-rw-r--r--tools/src/h5ls/h5ls.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/src/h5ls/h5ls.c b/tools/src/h5ls/h5ls.c
index 9c4d1fd..f2401b2 100644
--- a/tools/src/h5ls/h5ls.c
+++ b/tools/src/h5ls/h5ls.c
@@ -16,6 +16,7 @@
* Monday, March 23, 1998
*/
+
/*
* We include the private header file so we can get to the uniform
* programming environment it declares. Other than that, h5ls only calls
@@ -1705,7 +1706,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;
@@ -1965,7 +1966,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 {