mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[svn-r12709] Description:
Don't use 'TEST_ERROR' macro in file generation... Tested on: None, just eyeballed - very minor...
This commit is contained in:
parent
e9ea7e8eaf
commit
dc1a35a843
@ -47,10 +47,10 @@ int main(void)
|
||||
if(H5Pset_link_phase_change(fcpl, 0, 0) < 0) goto error;
|
||||
|
||||
/* Copy the file access property list */
|
||||
if((fapl = H5Pcreate(H5P_FILE_ACCESS)) < 0) TEST_ERROR
|
||||
if((fapl = H5Pcreate(H5P_FILE_ACCESS)) < 0) goto error;
|
||||
|
||||
/* Set the "use the latest version of the format" flag for creating objects in the file */
|
||||
if(H5Pset_latest_format(fapl, TRUE) < 0) TEST_ERROR
|
||||
if(H5Pset_latest_format(fapl, TRUE) < 0) goto error;
|
||||
|
||||
/* Create file for test groups */
|
||||
if((fid = H5Fcreate(FILENAME, H5F_ACC_TRUNC, fcpl, fapl)) <0) goto error;
|
||||
|
Loading…
Reference in New Issue
Block a user