diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-11-27 18:00:39 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-11-27 18:00:39 (GMT) |
commit | 226ae23b7b5bf65e4adcc3837832f3865d2effbc (patch) | |
tree | 139ee7100c9044c01fbc6ae059f6c16432c4f872 /src/H5Shyper.c | |
parent | d456c2bb82be98bc2b7c1039927eb52258d1a0eb (diff) | |
download | hdf5-226ae23b7b5bf65e4adcc3837832f3865d2effbc.zip hdf5-226ae23b7b5bf65e4adcc3837832f3865d2effbc.tar.gz hdf5-226ae23b7b5bf65e4adcc3837832f3865d2effbc.tar.bz2 |
[svn-r4644] Purpose:
Code cleanup
Description:
Fix small warning on SGI compilers
Platforms tested:
IRIX64 6.5 (modi4)
Diffstat (limited to 'src/H5Shyper.c')
-rw-r--r-- | src/H5Shyper.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/H5Shyper.c b/src/H5Shyper.c index 77000e5..809f7e3 100644 --- a/src/H5Shyper.c +++ b/src/H5Shyper.c @@ -6340,7 +6340,7 @@ done: herr_t H5S_hyper_release (H5S_t *space) { - herr_t ret_value=FAIL; + herr_t ret_value=SUCCEED; FUNC_ENTER (H5S_hyper_release, FAIL); @@ -6365,11 +6365,8 @@ H5S_hyper_release (H5S_t *space) space->select.sel_info.hslab.span_lst=NULL; } /* end if */ - /* Success! */ - ret_value=SUCCEED; - done: - FUNC_LEAVE (SUCCEED); + FUNC_LEAVE (ret_value); } /* H5S_hyper_release() */ |