summaryrefslogtreecommitdiffstats
path: root/test/tvltypes.c
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2021-08-25 04:05:23 (GMT)
committerGitHub <noreply@github.com>2021-08-25 04:05:23 (GMT)
commit131402a92de9bbd5df60d5859c37c4820c60d6b9 (patch)
tree06e3f4cd947ece0c9d65e82020a7b993c1ce2848 /test/tvltypes.c
parente9765e6c09de2e278e2821faef656b6d61854196 (diff)
downloadhdf5-131402a92de9bbd5df60d5859c37c4820c60d6b9.zip
hdf5-131402a92de9bbd5df60d5859c37c4820c60d6b9.tar.gz
hdf5-131402a92de9bbd5df60d5859c37c4820c60d6b9.tar.bz2
More various warnings (#958)
* Committing clang-format changes * Fixed various -Wdouble-promotion warnings * Fixed -Wshadow warning for `optopt` conflict On macOS at least, there is a global various named `optopt` in unistd.h. * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'test/tvltypes.c')
-rw-r--r--test/tvltypes.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/tvltypes.c b/test/tvltypes.c
index 50b2d7a..03a8ad3 100644
--- a/test/tvltypes.c
+++ b/test/tvltypes.c
@@ -2526,10 +2526,10 @@ test_vltypes_fill_value(void)
hsize_t small_dims[] = {SPACE4_DIM_SMALL};
hsize_t large_dims[] = {SPACE4_DIM_LARGE};
size_t dset_elmts = 0; /* Number of elements in a particular dataset */
- const dtype1_struct fill1 = {1, 2, "foobar", "", NULL, "\0", "dead",
- 3, 4.0F, 100.0F, 1.0F, "liquid", "meter"};
- const dtype1_struct wdata = {3, 4, "", NULL, "\0", "foo", "two", 6, 8.0F, 200.0F, 2.0F, "solid", "yard"};
- dtype1_struct * rbuf = NULL; /* Buffer for reading data */
+ const dtype1_struct fill1 = {1, 2, "foobar", "", NULL, "\0", "dead",
+ 3, 4.0, 100.0, 1.0, "liquid", "meter"};
+ const dtype1_struct wdata = {3, 4, "", NULL, "\0", "foo", "two", 6, 8.0, 200.0, 2.0, "solid", "yard"};
+ dtype1_struct * rbuf = NULL; /* Buffer for reading data */
size_t mem_used = 0; /* Memory used during allocation */
H5D_layout_t layout; /* Dataset storage layout */
char dset_name1[64], dset_name2[64]; /* Dataset names */