summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-09-27 14:57:02 (GMT)
committerGitHub <noreply@github.com>2023-09-27 14:57:02 (GMT)
commita03506b089b7ce3aef39e390665dbee5973688d9 (patch)
tree20234c2855918f83d445675dbd89bd97231411e3
parentd8fbc56f780109e59184804c0c2704475d4ef41b (diff)
downloadhdf5-a03506b089b7ce3aef39e390665dbee5973688d9.zip
hdf5-a03506b089b7ce3aef39e390665dbee5973688d9.tar.gz
hdf5-a03506b089b7ce3aef39e390665dbee5973688d9.tar.bz2
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
-rw-r--r--tools/test/h5format_convert/h5fc_gentest.c1
1 files changed, 0 insertions, 1 deletions
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)