diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2019-01-01 01:19:39 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2019-01-01 01:19:39 (GMT) |
commit | 07b76068a4517f874fc5584049178ed5f61e3cea (patch) | |
tree | 7223c8f107c0e21c38c0482962dbb2584345a74e /src/H5Cdbg.c | |
parent | e8108d76992ba43fbdfda01b262e9121ad00d2ed (diff) | |
parent | fa6077332b36f3af0042561ccff29faef7f09e34 (diff) | |
download | hdf5-07b76068a4517f874fc5584049178ed5f61e3cea.zip hdf5-07b76068a4517f874fc5584049178ed5f61e3cea.tar.gz hdf5-07b76068a4517f874fc5584049178ed5f61e3cea.tar.bz2 |
Merge branch 'develop' into vfd_init_cleanup
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. |