summaryrefslogtreecommitdiffstats
path: root/test/fillval.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/fillval.c')
-rw-r--r--test/fillval.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/fillval.c b/test/fillval.c
index 47cd53a..5c20e14 100644
--- a/test/fillval.c
+++ b/test/fillval.c
@@ -758,7 +758,8 @@ test_rdwr_cases(hid_t file, hid_t dcpl, const char *dname, void *_fillval,
int fillval=(-1), val_rd, should_be;
int i, j, *buf=NULL, odd;
unsigned u;
- comp_datatype rd_c, fill_c, should_be_c;
+ comp_datatype rd_c, fill_c = {.a = 0, .x = 0, .y = 0, .z = 0},
+ should_be_c;
comp_datatype *buf_c=NULL;
H5D_space_status_t allocation;