diff options
author | Albert Cheng <acheng@hdfgroup.org> | 1999-01-07 14:44:41 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 1999-01-07 14:44:41 (GMT) |
commit | 54604e8fc568619ad16d2c8c10333a0b13044626 (patch) | |
tree | d73d315fbcd04264af284eb1c3b6c27ab6520bfb /src | |
parent | 4a6110d41b5545cfc7575a39e8e545cbd2d098e6 (diff) | |
download | hdf5-54604e8fc568619ad16d2c8c10333a0b13044626.zip hdf5-54604e8fc568619ad16d2c8c10333a0b13044626.tar.gz hdf5-54604e8fc568619ad16d2c8c10333a0b13044626.tar.bz2 |
[svn-r1014] Switched the order of the assert and HRETURN_ERROR statements
in the FUNC_ENTER_INIT to eliminate the unreachable statement
compiler warning. Tested in O2K.
Diffstat (limited to 'src')
-rw-r--r-- | src/H5private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5private.h b/src/H5private.h index 746ddda..a0b6329 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -857,9 +857,9 @@ extern hbool_t H5_libinit_g; /*good thing C's lazy about extern! */ "interface initialization failed"); \ } \ } else if (interface_initialize_g<0) { \ + assert("interface is closing" && 0); \ HRETURN_ERROR(H5E_FUNC, H5E_CANTINIT, err, \ "interface is closing"); \ - assert("interface is closing" && 0); \ } \ \ /* Clear thread error stack entering public functions */ \ |