From 08cf031588639d19cac989fc68be418e3b930851 Mon Sep 17 00:00:00 2001 From: Dana Robinson <43805+derobins@users.noreply.github.com> Date: Sat, 9 Mar 2024 20:30:17 -0800 Subject: Remove H5DEBUG() calls from H5Dmpio.c (#4103) Just use stdout when a stream is needed. --- src/H5Dmpio.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/H5Dmpio.c b/src/H5Dmpio.c index b6976e6..d3e32a7 100644 --- a/src/H5Dmpio.c +++ b/src/H5Dmpio.c @@ -614,8 +614,7 @@ H5D__mpio_debug_init(void) if (debug_str) H5D__mpio_parse_debug_str(debug_str); - if (H5DEBUG(D)) - debug_stream = H5DEBUG(D); + debug_stream = stdout; H5D_mpio_debug_inited = true; @@ -1412,7 +1411,7 @@ done: fprintf(debug_log_file, "##############\n\n"); if (EOF == fclose(debug_log_file)) HDONE_ERROR(H5E_IO, H5E_CLOSEERROR, FAIL, "couldn't close debugging log file"); - debug_stream = H5DEBUG(D); + debug_stream = stdout; } #endif -- cgit v0.12