summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2024-03-08 20:55:16 (GMT)
committerGitHub <noreply@github.com>2024-03-08 20:55:16 (GMT)
commit3ea50208f99ea17de3200d03f3843fcc8a112c34 (patch)
tree3088e30dd78a79ae5e6e3f1a7908cca39729f962
parent56ea1b50f0c8429cc118add2a339bb72a338962f (diff)
downloadhdf5-3ea50208f99ea17de3200d03f3843fcc8a112c34.zip
hdf5-3ea50208f99ea17de3200d03f3843fcc8a112c34.tar.gz
hdf5-3ea50208f99ea17de3200d03f3843fcc8a112c34.tar.bz2
Remove printf debugging in H5I package (#4088)
-rw-r--r--config/cmake/HDFCompilerFlags.cmake1
-rw-r--r--configure.ac4
-rw-r--r--src/H5Iint.c18
3 files changed, 2 insertions, 21 deletions
diff --git a/config/cmake/HDFCompilerFlags.cmake b/config/cmake/HDFCompilerFlags.cmake
index 4116a67..8f9e2a1 100644
--- a/config/cmake/HDFCompilerFlags.cmake
+++ b/config/cmake/HDFCompilerFlags.cmake
@@ -375,7 +375,6 @@ if (HDF5_ENABLE_DEBUG_APIS)
H5D_DEBUG
H5D_CHUNK_DEBUG
H5F_DEBUG
- H5I_DEBUG
H5MM_DEBUG
H5O_DEBUG
H5S_DEBUG
diff --git a/configure.ac b/configure.ac
index 26c7681..30962b1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2572,8 +2572,8 @@ AC_SUBST([INTERNAL_DEBUG_OUTPUT])
## too specialized or have huge performance hits. These
## are not listed in the "all" packages list.
##
-## all_packages="AC,B,B2,D,F,FA,FL,FS,I,MM,O,S,T,Z"
-all_packages="AC,B2,CX,D,F,I,MM,O,S,T,Z"
+## all_packages="AC,B,B2,D,F,FA,FL,FS,MM,O,S,T,Z"
+all_packages="AC,B2,CX,D,F,MM,O,S,T,Z"
case "X-$INTERNAL_DEBUG_OUTPUT" in
X-yes|X-all)
diff --git a/src/H5Iint.c b/src/H5Iint.c
index 1c53214..fe3b90c 100644
--- a/src/H5Iint.c
+++ b/src/H5Iint.c
@@ -373,15 +373,6 @@ H5I__mark_node(void *_info, void H5_ATTR_UNUSED *key, void *_udata)
/* Discard the future object */
if ((info->discard_cb)(info->u.object) < 0) {
if (udata->force) {
-#ifdef H5I_DEBUG
- if (H5DEBUG(I)) {
- fprintf(H5DEBUG(I),
- "H5I: discard type=%d obj=%p "
- "failure ignored\n",
- (int)udata->type_info->cls->type, info->u.c_object);
- }
-#endif /* H5I_DEBUG */
-
/* Indicate node should be removed from list */
mark = true;
}
@@ -396,15 +387,6 @@ H5I__mark_node(void *_info, void H5_ATTR_UNUSED *key, void *_udata)
if (udata->type_info->cls->free_func &&
(udata->type_info->cls->free_func)(info->u.object, H5_REQUEST_NULL) < 0) {
if (udata->force) {
-#ifdef H5I_DEBUG
- if (H5DEBUG(I)) {
- fprintf(H5DEBUG(I),
- "H5I: free type=%d obj=%p "
- "failure ignored\n",
- (int)udata->type_info->cls->type, info->u.c_object);
- }
-#endif /* H5I_DEBUG */
-
/* Indicate node should be removed from list */
mark = true;
}