Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove a few H5O printf debugging statements #4096

Merged
merged 1 commit into from
Mar 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions src/H5Oint.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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.
Expand Down
Loading