summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhendersonHDF <jhenderson@hdfgroup.org>2023-09-01 18:56:57 (GMT)
committerGitHub <noreply@github.com>2023-09-01 18:56:57 (GMT)
commit1dd81531d10b8b02bf66c7520c94906800ec14f7 (patch)
treed795930824f9121ff0ce7e4ebb39b1881e804f93
parentcf6d3e0737aaed231954e4867f60d0c5973f05e4 (diff)
downloadhdf5-1dd81531d10b8b02bf66c7520c94906800ec14f7.zip
hdf5-1dd81531d10b8b02bf66c7520c94906800ec14f7.tar.gz
hdf5-1dd81531d10b8b02bf66c7520c94906800ec14f7.tar.bz2
Fix use of uninitialized value in testpar/t_dset.c test (#3423) (#3472)
-rw-r--r--testpar/t_dset.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/testpar/t_dset.c b/testpar/t_dset.c
index b75b6ae..dfa9a33 100644
--- a/testpar/t_dset.c
+++ b/testpar/t_dset.c
@@ -3501,6 +3501,8 @@ test_no_collective_cause_mode(int selection_mode)
sid = H5Screate(H5S_NULL);
VRFY((sid >= 0), "H5Screate_simple succeeded");
is_chunked = 0;
+
+ dims[0] = dims[1] = 0;
}
else {
/* Create the basic Space */