diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2016-06-01 17:02:30 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2016-06-01 17:02:30 (GMT) |
commit | fcaf9c483ac83f9cc6765b032022d56081942d37 (patch) | |
tree | 6a7bd1614e391c348a3def3db79149aa50ba696c /src | |
parent | 3384f4c0b9e4dffe183f5a6ee5ca29e40f29a7f8 (diff) | |
download | hdf5-fcaf9c483ac83f9cc6765b032022d56081942d37.zip hdf5-fcaf9c483ac83f9cc6765b032022d56081942d37.tar.gz hdf5-fcaf9c483ac83f9cc6765b032022d56081942d37.tar.bz2 |
[svn-r30002] Fixed some minor warnings in H5AC.c and H5C.c, cleaned up warnings
in the cache tests, and made some huge static arrays dynamic
in the cache tests.
Tested on: 64-bit Ubuntu Linux w/ gcc 5.3.1
Autotools serial
Diffstat (limited to 'src')
-rw-r--r-- | src/H5AC.c | 2 | ||||
-rw-r--r-- | src/H5C.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1144,7 +1144,7 @@ H5AC_protect(H5F_t *f, hid_t dxpl_id, const H5AC_class_t *type, haddr_t addr, FILE * trace_file_ptr = NULL; #endif /* H5AC__TRACE_FILE_ENABLED */ void * thing = NULL; /* Pointer to native data structure for entry */ - void * ret_value; /* Return value */ + void * ret_value = NULL; /* Return value */ FUNC_ENTER_NOAPI(NULL) @@ -9293,7 +9293,7 @@ H5C__mark_tagged_entries(H5C_t * cache_ptr, haddr_t tag) { unsigned u; /* Local index variable */ - FUNC_ENTER_STATIC + FUNC_ENTER_STATIC_NOERR /* Sanity check */ HDassert(cache_ptr); |