summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2016-06-01 17:02:30 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2016-06-01 17:02:30 (GMT)
commitfcaf9c483ac83f9cc6765b032022d56081942d37 (patch)
tree6a7bd1614e391c348a3def3db79149aa50ba696c /src
parent3384f4c0b9e4dffe183f5a6ee5ca29e40f29a7f8 (diff)
downloadhdf5-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.c2
-rw-r--r--src/H5C.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/H5AC.c b/src/H5AC.c
index 42f328e..213e5d5 100644
--- a/src/H5AC.c
+++ b/src/H5AC.c
@@ -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)
diff --git a/src/H5C.c b/src/H5C.c
index f632af5..b7c5919 100644
--- a/src/H5C.c
+++ b/src/H5C.c
@@ -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);