diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-09-30 01:03:03 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-09-30 01:03:03 (GMT) |
commit | 29ab58b58dce556639ea3154e262895773a8a8df (patch) | |
tree | 68133f7b0915277221a0cfdb2595b011d80e9cfb /test/external_env.c | |
parent | 14851e3b82a9b116153f9505654faf2f60e1abe2 (diff) | |
parent | 3f15fb35222a0fb2ba2f1f88a2d78daaea633ec8 (diff) | |
download | hdf5-29ab58b58dce556639ea3154e262895773a8a8df.zip hdf5-29ab58b58dce556639ea3154e262895773a8a8df.tar.gz hdf5-29ab58b58dce556639ea3154e262895773a8a8df.tar.bz2 |
Merge pull request #2905 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '3f15fb35222a0fb2ba2f1f88a2d78daaea633ec8':
Fix jni with %Lg instead of %Lf
Pre-format fixes for warnings as errors
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 e9c7635..262cde2 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) */ @@ -75,8 +74,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), "..%sextern_env_%dr.raw", H5_DIR_SEPS, (int) i + 1); if(H5Pset_external(dcpl, filename, (off_t)(i * GARBAGE_PER_FILE), (hsize_t)sizeof(part)) < 0) |