diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2021-05-28 12:48:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-28 12:48:29 (GMT) |
commit | e60ac6ec2d82fc1bcffcfecd353ff074f9011275 (patch) | |
tree | 6ca93dbbb1ced5690bdd1f7ba4328fc8af0016a6 /test/cache.c | |
parent | 4454fca02a57663ea0dbcca01016788bd11703b9 (diff) | |
download | hdf5-e60ac6ec2d82fc1bcffcfecd353ff074f9011275.zip hdf5-e60ac6ec2d82fc1bcffcfecd353ff074f9011275.tar.gz hdf5-e60ac6ec2d82fc1bcffcfecd353ff074f9011275.tar.bz2 |
Removes pre-C99 build and header cruft (#700)
* Committing clang-format changes
* Removes pre-C99 build and header cruft
* Assumes ANSI C headers exist
* Assumes stdbool.h, stdint.h, and inttypes.h are present
* Assumes the C++ compiler can handle stdint.h
* Removes all work-arounds for missing functionality, especially stdbool.h
* Formats source
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'test/cache.c')
-rw-r--r-- | test/cache.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/test/cache.c b/test/cache.c index 0081830..78e902c 100644 --- a/test/cache.c +++ b/test/cache.c @@ -8068,19 +8068,6 @@ check_flush_cache__flush_op_test(H5F_t *file_ptr, int test_num, unsigned int flu if ((check[i].entry_num != i) || (check[i].entry_type < 0) || (check[i].entry_type >= NUMBER_OF_ENTRY_TYPES) || (check[i].entry_index < 0) || (check[i].entry_index > max_indices[check[i].entry_type]) || -#ifndef H5_HAVE_STDBOOL_H - /* Check for nonsense values if hbool_t is an integral - * type instead of a real Boolean. - */ - ((check[i].in_cache != TRUE) && (check[i].in_cache != FALSE)) || - ((check[i].at_main_addr != TRUE) && (check[i].at_main_addr != FALSE)) || - ((check[i].is_dirty != TRUE) && (check[i].is_dirty != FALSE)) || - ((check[i].is_protected != TRUE) && (check[i].is_protected != FALSE)) || - ((check[i].is_pinned != TRUE) && (check[i].is_pinned != FALSE)) || - ((check[i].expected_deserialized != TRUE) && (check[i].expected_deserialized != FALSE)) || - ((check[i].expected_serialized != TRUE) && (check[i].expected_serialized != FALSE)) || - ((check[i].expected_destroyed != TRUE) && (check[i].expected_destroyed != FALSE)) || -#endif /* H5_HAVE_STDBOOL_H */ (check[i].expected_size <= (size_t)0)) { pass = FALSE; |