From 5a722a152a68b27151bb96553b0b9cfbbc5cda4c Mon Sep 17 00:00:00 2001 From: Neil Fortner Date: Wed, 28 Mar 2012 15:38:57 -0500 Subject: [svn-r22172] Fix uninitialized return values. Tested: jam --- src/H5Dbtree.c | 4 ++-- 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. -- cgit v0.12