diff options
author | jhendersonHDF <jhenderson@hdfgroup.org> | 2023-07-27 19:11:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-27 19:11:46 (GMT) |
commit | 2bb4c909c4c63cf87d10c494cd76d57092d45335 (patch) | |
tree | e5da9e282045d3b17921169e00bb4164aa31bedc /tools | |
parent | 17a5a1a37ccc851ca9123b2921fbae15c4814edf (diff) | |
download | hdf5-2bb4c909c4c63cf87d10c494cd76d57092d45335.zip hdf5-2bb4c909c4c63cf87d10c494cd76d57092d45335.tar.gz hdf5-2bb4c909c4c63cf87d10c494cd76d57092d45335.tar.bz2 |
Fix some warnings in developer builds (#3247) (#3291)
* Fix some warnings in developer builds
* Switch approach to Winline flag
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lib/h5tools.h | 1 | ||||
-rw-r--r-- | tools/lib/h5tools_str.c | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/tools/lib/h5tools.h b/tools/lib/h5tools.h index 753a83b..3b0d5b9 100644 --- a/tools/lib/h5tools.h +++ b/tools/lib/h5tools.h @@ -652,6 +652,7 @@ H5TOOLS_DLLVAR int enable_error_stack; /* re-enable error stack; disable=0 enabl #define H5_TOOLS_DATASET "DATASET" #define H5_TOOLS_DATATYPE "DATATYPE" #define H5_TOOLS_ATTRIBUTE "ATTRIBUTE" +#define H5_TOOLS_MAP "MAP" #define H5_TOOLS_UNKNOWN "UNKNOWN" /* Definitions of useful routines */ diff --git a/tools/lib/h5tools_str.c b/tools/lib/h5tools_str.c index 223eb61..208e33a 100644 --- a/tools/lib/h5tools_str.c +++ b/tools/lib/h5tools_str.c @@ -1230,6 +1230,10 @@ h5tools_str_sprint(h5tools_str_t *str, const h5tool_format_t *info, hid_t contai h5tools_str_append(str, H5_TOOLS_DATATYPE); break; + case H5O_TYPE_MAP: + h5tools_str_append(str, H5_TOOLS_MAP); + break; + case H5O_TYPE_UNKNOWN: case H5O_TYPE_NTYPES: default: |