summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2001-12-13 14:04:47 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2001-12-13 14:04:47 (GMT)
commit3037cad73421220f0830feb5074943779ab8ca6a (patch)
tree96d987256f444d3e20adcfb9ba6e4af7f1f6f09f /src
parent7b5b696bc4e8302c4eeb5507b8bab25c2c036afd (diff)
downloadhdf5-3037cad73421220f0830feb5074943779ab8ca6a.zip
hdf5-3037cad73421220f0830feb5074943779ab8ca6a.tar.gz
hdf5-3037cad73421220f0830feb5074943779ab8ca6a.tar.bz2
[svn-r4714] Purpose:
Bug fix Description: Fixed a previous commit that introduced an undeclared variable error. Platforms tested: eirene (serial, pp), modi4(pp)
Diffstat (limited to 'src')
-rw-r--r--src/H5Smpio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Smpio.c b/src/H5Smpio.c
index a473c8c..e6cc074 100644
--- a/src/H5Smpio.c
+++ b/src/H5Smpio.c
@@ -155,6 +155,7 @@ H5S_mpio_hyper_type( const H5S_t *space, const size_t elmt_size,
} d[H5S_MAX_RANK];
int i, err, new_rank, num_to_collapse;
+ herr_t ret_value = SUCCEED;
int offset[H5S_MAX_RANK];
int max_xtent[H5S_MAX_RANK];
H5S_hyper_dim_t *diminfo; /* [rank] */
@@ -437,7 +438,7 @@ done:
HDfprintf(stdout, "Leave %s, count=%Hu is_derived_type=%d\n",
FUNC, *count, *is_derived_type );
#endif
- FUNC_LEAVE (SUCCEED);
+ FUNC_LEAVE (ret_value);
}