diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2012-03-28 20:38:57 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2012-03-28 20:38:57 (GMT) |
commit | 5a722a152a68b27151bb96553b0b9cfbbc5cda4c (patch) | |
tree | e9f6a512b7eebf7aaddeeab44e30b4860fb4fa35 | |
parent | 0083cfc35bd668289bd8e686841de0db08f98e3a (diff) | |
download | hdf5-5a722a152a68b27151bb96553b0b9cfbbc5cda4c.zip hdf5-5a722a152a68b27151bb96553b0b9cfbbc5cda4c.tar.gz hdf5-5a722a152a68b27151bb96553b0b9cfbbc5cda4c.tar.bz2 |
[svn-r22172] Fix uninitialized return values.
Tested: jam
-rw-r--r-- | src/H5Dbtree.c | 4 | ||||
-rw-r--r-- | src/H5Dchunk.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Dbtree.c b/src/H5Dbtree.c index af48329..8202408 100644 --- a/src/H5Dbtree.c +++ b/src/H5Dbtree.c @@ -849,7 +849,7 @@ H5D_btree_create_flush_dep(void *_key, void *_udata, void *parent) { H5D_btree_key_t *key = (H5D_btree_key_t *)_key; H5D_chunk_common_ud_t *udata = (H5D_chunk_common_ud_t *) _udata; - int ret_value; + int ret_value = SUCCEED; FUNC_ENTER_NOAPI_NOINIT @@ -892,7 +892,7 @@ H5D_btree_update_flush_dep(void *_key, void *_udata, void *old_parent, { H5D_btree_key_t *key = (H5D_btree_key_t *)_key; H5D_chunk_common_ud_t *udata = (H5D_chunk_common_ud_t *) _udata; - int ret_value; + int ret_value = SUCCEED; FUNC_ENTER_NOAPI_NOINIT diff --git a/src/H5Dchunk.c b/src/H5Dchunk.c index b3b6ab5..06e6ee1 100644 --- a/src/H5Dchunk.c +++ b/src/H5Dchunk.c @@ -5941,7 +5941,7 @@ done: /*------------------------------------------------------------------------- - * Function: H5D_chunk_create_flush_dep + * Function: H5D_chunk_find_flush_dep * * Purpose: Check cache (including temporary list of entries to be * evicted) for the specified chunk. |