diff options
Diffstat (limited to 'src/H5Idbg.c')
-rw-r--r-- | src/H5Idbg.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5Idbg.c b/src/H5Idbg.c index 0f246dc..9ca717f 100644 --- a/src/H5Idbg.c +++ b/src/H5Idbg.c @@ -93,11 +93,15 @@ H5I__id_dump_cb(void *_item, void H5_ATTR_UNUSED *_key, void *_udata) break; } case H5I_DATASET: { + H5_GCC_CLANG_DIAG_OFF("discarded-qualifiers") path = H5D_nameof(info->object); + H5_GCC_CLANG_DIAG_ON("discarded-qualifiers") break; } case H5I_DATATYPE: { + H5_GCC_CLANG_DIAG_OFF("discarded-qualifiers") path = H5T_nameof(info->object); + H5_GCC_CLANG_DIAG_ON("discarded-qualifiers") break; } case H5I_UNINIT: |