From a03506b089b7ce3aef39e390665dbee5973688d9 Mon Sep 17 00:00:00 2001 From: Dana Robinson <43805+derobins@users.noreply.github.com> Date: Wed, 27 Sep 2023 07:57:02 -0700 Subject: Remove unnecessary assignment in test generator (#3603) Fixes what looks like a copy/paste/modify error in the format convert test file generator, where an array element is assigned one value and them immediately overwritten by another value. Fixes Coverity issue 1542285 --- tools/test/h5format_convert/h5fc_gentest.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/test/h5format_convert/h5fc_gentest.c b/tools/test/h5format_convert/h5fc_gentest.c index 06d6088..7a31e58 100644 --- a/tools/test/h5format_convert/h5fc_gentest.c +++ b/tools/test/h5format_convert/h5fc_gentest.c @@ -136,7 +136,6 @@ gen_non(const char *fname) */ /* Create dataspace */ - max_dims[0] = 10; max_dims[0] = H5S_UNLIMITED; max_dims[1] = H5S_UNLIMITED; if ((sid = H5Screate_simple(2, dims2, max_dims)) < 0) -- cgit v0.12