diff options
author | David Young <dyoung@hdfgroup.org> | 2019-11-13 18:05:16 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2019-11-13 18:05:16 (GMT) |
commit | 1e3d63dcdf4cc88155f12f5a3960baef4c01ba5f (patch) | |
tree | bef8ff1c62b7fe14291e9f8bd50b5d8fc270437a | |
parent | 81a256b02ee714eb6a62bcce86eac0c31a0c127b (diff) | |
download | hdf5-1e3d63dcdf4cc88155f12f5a3960baef4c01ba5f.zip hdf5-1e3d63dcdf4cc88155f12f5a3960baef4c01ba5f.tar.gz hdf5-1e3d63dcdf4cc88155f12f5a3960baef4c01ba5f.tar.bz2 |
`same_file` is assigned but never used. Delete it.
-rw-r--r-- | test/objcopy_ref.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/test/objcopy_ref.c b/test/objcopy_ref.c index 721a7c6..fdb3179 100644 --- a/test/objcopy_ref.c +++ b/test/objcopy_ref.c @@ -1587,7 +1587,6 @@ main(void) unsigned max_compact, min_dense; int configuration; /* Configuration of tests. */ int ExpressMode; - hbool_t same_file; /* Whether to run tests that only use one file */ /* Setup */ h5_reset(); @@ -1620,11 +1619,6 @@ main(void) hid_t fcpl_src; hid_t fcpl_dst; - /* Start with same_file == TRUE. Use source file settings for these - * tests. Don't run with a non-default destination file setting, as - * destination settings have no effect. */ - same_file = TRUE; - /* No need to test dense attributes with old format */ if(!(configuration & CONFIG_SRC_NEW_FORMAT) && (configuration & CONFIG_DENSE)) continue; @@ -1646,7 +1640,6 @@ main(void) if(configuration & CONFIG_SHARE_DST) { HDputs("Testing with shared dst messages:"); fcpl_dst = fcpl_shared; - same_file = FALSE; } else { HDputs("Testing without shared dst messages:"); @@ -1678,7 +1671,6 @@ main(void) if(configuration & CONFIG_DST_NEW_FORMAT) { HDputs("Testing with latest format for destination file:"); dst_fapl = fapl2; - same_file = FALSE; } /* end if */ else { HDputs("Testing with oldest file format for destination file:"); |