diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-09-30 17:03:12 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-09-30 17:03:12 (GMT) |
commit | 453238e90e1574ef1c15e3c79f7fb3d77920e77c (patch) | |
tree | 6aa9407c7a4cb1bd10975205c14ff8b1ce3f0d5e /test/external_env.c | |
parent | 636cba89e605644c8f094fcc7f951c70cd895a39 (diff) | |
parent | ca0c0c3dc83acb7261e607cfee3b3ef04d167188 (diff) | |
download | hdf5-453238e90e1574ef1c15e3c79f7fb3d77920e77c.zip hdf5-453238e90e1574ef1c15e3c79f7fb3d77920e77c.tar.gz hdf5-453238e90e1574ef1c15e3c79f7fb3d77920e77c.tar.bz2 |
Merge pull request #2907 in HDFFV/hdf5 from ~BYRN/hdf5_clang_format:hdf5_1_10 to hdf5_1_10
* commit 'ca0c0c3dc83acb7261e607cfee3b3ef04d167188':
Merge of clang-format changes from develop
Diffstat (limited to 'test/external_env.c')
-rw-r--r-- | test/external_env.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/external_env.c b/test/external_env.c index 18e1f25..08f29ec 100644 --- a/test/external_env.c +++ b/test/external_env.c @@ -52,7 +52,6 @@ test_path_env(hid_t fapl) hid_t dapl = -1; /* dataset access property list */ hid_t dset = -1; /* dataset */ size_t i; /* miscellaneous counters */ - char cwdpath[1024]; /* working directory */ char filename[1024]; /* file name */ int part[PART_SIZE]; /* raw data buffer (partial) */ int whole[TOTAL_SIZE]; /* raw data buffer (total) */ @@ -72,8 +71,6 @@ test_path_env(hid_t fapl) /* Create the dataset */ if((dcpl = H5Pcreate(H5P_DATASET_CREATE)) < 0) FAIL_STACK_ERROR - if(NULL == HDgetcwd(cwdpath, sizeof(cwdpath))) - TEST_ERROR for(i = 0; i < N_EXT_FILES; i++) { HDsnprintf(filename, sizeof(filename), "extern_env_%dr.raw", (int) i + 1); if(H5Pset_external(dcpl, filename, (off_t)(i * GARBAGE_PER_FILE), (hsize_t)sizeof(part)) < 0) |