summaryrefslogtreecommitdiffstats
path: root/tools/h5ls
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2015-09-22 00:21:18 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2015-09-22 00:21:18 (GMT)
commitd3c6b4ad7244f46c863d47f630e1c9b0427abed5 (patch)
treebf76f37066c26a76422483f3088f4dbcb6ced5be /tools/h5ls
parentfd90a6f5c4c7733027c711e70e2df1b18e8e5286 (diff)
downloadhdf5-d3c6b4ad7244f46c863d47f630e1c9b0427abed5.zip
hdf5-d3c6b4ad7244f46c863d47f630e1c9b0427abed5.tar.gz
hdf5-d3c6b4ad7244f46c863d47f630e1c9b0427abed5.tar.bz2
[svn-r27848] Description:
Clean up warnings and some normalization against trunk. Tested: McaOSX/64 10.10.5 (amazon) w/serial & parallel (h5committest not required on this branch)
Diffstat (limited to 'tools/h5ls')
-rw-r--r--tools/h5ls/h5ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5ls/h5ls.c b/tools/h5ls/h5ls.c
index f291958..cce5f3d 100644
--- a/tools/h5ls/h5ls.c
+++ b/tools/h5ls/h5ls.c
@@ -1759,7 +1759,6 @@ dataset_list2(hid_t dset, const char H5_ATTR_UNUSED *name)
size_t cd_nelmts; /* filter client number of values */
size_t cd_num; /* filter client data counter */
char f_name[256]; /* filter/file name */
- char dset_name[256]; /* filter/file name */
char s[64]; /* temporary string buffer */
off_t f_offset; /* offset in external file */
hsize_t f_size; /* bytes used in external file */
@@ -1850,6 +1849,7 @@ dataset_list2(hid_t dset, const char H5_ATTR_UNUSED *name)
case H5D_VIRTUAL:
{
+ char dset_name[256]; /* Dataset name */
size_t vmaps;
H5Pget_virtual_count(dcpl, &vmaps);