summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2021-03-31 20:31:20 (GMT)
committerGitHub <noreply@github.com>2021-03-31 20:31:20 (GMT)
commit0f0721f2d616ac9edd7cea642baa176c87713757 (patch)
tree7dc2ae7cc63c819a51d9cea59f09f9800610cdb2 /test
parent6dae5c2cb565fce010db28a5bcfc0220edb98921 (diff)
downloadhdf5-0f0721f2d616ac9edd7cea642baa176c87713757.zip
hdf5-0f0721f2d616ac9edd7cea642baa176c87713757.tar.gz
hdf5-0f0721f2d616ac9edd7cea642baa176c87713757.tar.bz2
Minor warning fixes in develop (#526)
* Committing clang-format changes * Minor warning fixes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'test')
-rw-r--r--test/cache_common.c1
-rw-r--r--test/dtypes.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/test/cache_common.c b/test/cache_common.c
index 676b8d1..7269c49 100644
--- a/test/cache_common.c
+++ b/test/cache_common.c
@@ -2757,7 +2757,6 @@ flush_cache(H5F_t *file_ptr, hbool_t destroy_entries, hbool_t dump_stats, hbool_
if (pass) {
H5C_t *cache_ptr;
- herr_t result = 0;
HDassert(file_ptr);
diff --git a/test/dtypes.c b/test/dtypes.c
index bbc0690..626c58c 100644
--- a/test/dtypes.c
+++ b/test/dtypes.c
@@ -1485,7 +1485,7 @@ test_compound_8(void)
struct s2 {
char c;
s1 d;
- } s2;
+ };
hid_t tid1, tid1_copy, tid2, tid2_copy, tid3, arr_tid;
size_t tsize;
hsize_t dims[1] = {ARRAY_DIM};