summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2024-03-10 04:27:59 (GMT)
committerGitHub <noreply@github.com>2024-03-10 04:27:59 (GMT)
commitfd7cf2a9620420720bc707bccf0243b5e6e259c1 (patch)
treeee92e1f418a0be1c0dc8acbdc1110a686d155d3c
parentb1054b4ef3269fa16724cd3a73adffa557721518 (diff)
downloadhdf5-fd7cf2a9620420720bc707bccf0243b5e6e259c1.zip
hdf5-fd7cf2a9620420720bc707bccf0243b5e6e259c1.tar.gz
hdf5-fd7cf2a9620420720bc707bccf0243b5e6e259c1.tar.bz2
Remove a few H5O printf debugging statements (#4096)
These were in H5Oint.c, were protected by H5O_DEBUG, and only dumped to stdout if the HDF5_DEBUG environment variable were set to do so.
-rw-r--r--src/H5Oint.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/H5Oint.c b/src/H5Oint.c
index 89e7de9..39d8c2d 100644
--- a/src/H5Oint.c
+++ b/src/H5Oint.c
@@ -549,11 +549,6 @@ H5O_open(H5O_loc_t *loc)
assert(loc);
assert(loc->file);
-#ifdef H5O_DEBUG
- if (H5DEBUG(O))
- fprintf(H5DEBUG(O), "> %" PRIuHADDR "\n", loc->addr);
-#endif
-
/* Turn off the variable for holding file or increment open-lock counters */
if (loc->holding_file)
loc->holding_file = false;
@@ -763,16 +758,6 @@ H5O_close(H5O_loc_t *loc, bool *file_closed /*out*/)
/* Decrement open-lock counters */
H5F_DECR_NOPEN_OBJS(loc->file);
-#ifdef H5O_DEBUG
- if (H5DEBUG(O)) {
- if (false == H5F_ID_EXISTS(loc->file) && 1 == H5F_NREFS(loc->file))
- fprintf(H5DEBUG(O), "< %" PRIuHADDR " auto %lu remaining\n", loc->addr,
- (unsigned long)H5F_NOPEN_OBJS(loc->file));
- else
- fprintf(H5DEBUG(O), "< %" PRIuHADDR "\n", loc->addr);
- }
-#endif
-
/*
* If the file open object count has reached the number of open mount points
* (each of which has a group open in the file) attempt to close the file.