diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2018-12-21 04:41:42 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2018-12-21 04:41:42 (GMT) |
commit | 18e6ec82d0a96a6a75712c205b1f33480038d17e (patch) | |
tree | d0028387016e5e1ce79a94e2ea4a328425d0a714 /src/H5Cdbg.c | |
parent | d6adb6526d83e6f799f16933757fb26131856f21 (diff) | |
download | hdf5-18e6ec82d0a96a6a75712c205b1f33480038d17e.zip hdf5-18e6ec82d0a96a6a75712c205b1f33480038d17e.tar.gz hdf5-18e6ec82d0a96a6a75712c205b1f33480038d17e.tar.bz2 |
Squash merge of MDC logging changes.
Diffstat (limited to 'src/H5Cdbg.c')
-rw-r--r-- | src/H5Cdbg.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/H5Cdbg.c b/src/H5Cdbg.c index 08c70d9..1f55e86 100644 --- a/src/H5Cdbg.c +++ b/src/H5Cdbg.c @@ -476,42 +476,6 @@ done: /*------------------------------------------------------------------------- - * Function: H5C_set_trace_file_ptr - * - * Purpose: Set the trace_file_ptr field for the cache. - * - * This field must either be NULL (which turns of trace - * file logging), or be a pointer to an open file to which - * trace file data is to be written. - * - * Return: Non-negative on success/Negative on failure - * - * Programmer: John Mainzer - * 1/20/06 - * - *------------------------------------------------------------------------- - */ -herr_t -H5C_set_trace_file_ptr(H5C_t * cache_ptr, FILE * trace_file_ptr) -{ - herr_t ret_value = SUCCEED; /* Return value */ - - FUNC_ENTER_NOAPI(FAIL) - - /* This would normally be an assert, but we need to use an HGOTO_ERROR - * call to shut up the compiler. - */ - if((NULL == cache_ptr) || (cache_ptr->magic != H5C__H5C_T_MAGIC)) - HGOTO_ERROR(H5E_CACHE, H5E_SYSTEM, FAIL, "Bad cache_ptr") - - cache_ptr->trace_file_ptr = trace_file_ptr; - -done: - FUNC_LEAVE_NOAPI(ret_value) -} /* H5C_set_trace_file_ptr() */ - - -/*------------------------------------------------------------------------- * Function: H5C_stats * * Purpose: Prints statistics about the cache. |