diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2001-12-13 14:04:47 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2001-12-13 14:04:47 (GMT) |
commit | 3037cad73421220f0830feb5074943779ab8ca6a (patch) | |
tree | 96d987256f444d3e20adcfb9ba6e4af7f1f6f09f | |
parent | 7b5b696bc4e8302c4eeb5507b8bab25c2c036afd (diff) | |
download | hdf5-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)
-rw-r--r-- | src/H5Smpio.c | 3 |
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); } |