From aef5e18535feb879364c4861529e69d807cf46df Mon Sep 17 00:00:00 2001 From: Dana Robinson Date: Tue, 26 Sep 2023 17:01:55 -0700 Subject: [PATCH] Remove unnecessary assignment in test generator 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 06d6088c782..7a31e58cc2a 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)