[svn-r19119] Description:

Fix return value from FAIL to NULL.

Tested on:
        Eyeballed only  
        (too trivial to test)
This commit is contained in:
Quincey Koziol
2010-07-21 12:15:13 -05:00
parent e401f1e336
commit 6a6114b8da

View File

@@ -1385,7 +1385,7 @@ H5S_hyper_copy_span(H5S_hyper_span_info_t *spans)
/* Copy the hyperslab span tree */
if(NULL == (ret_value = H5S_hyper_copy_span_helper(spans)))
HGOTO_ERROR(H5E_DATASPACE, H5E_CANTCOPY, FAIL, "can't copy hyperslab span tree")
HGOTO_ERROR(H5E_DATASPACE, H5E_CANTCOPY, NULL, "can't copy hyperslab span tree")
/* Reset the scratch pointers for the next routine which needs them */
H5S_hyper_span_scratch(spans, NULL);