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
This commit is contained in:
Dana Robinson 2023-09-27 07:57:02 -07:00 committed by GitHub
parent d8fbc56f78
commit a03506b089
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,7 +136,6 @@ gen_non(const char *fname)
*/ */
/* Create dataspace */ /* Create dataspace */
max_dims[0] = 10;
max_dims[0] = H5S_UNLIMITED; max_dims[0] = H5S_UNLIMITED;
max_dims[1] = H5S_UNLIMITED; max_dims[1] = H5S_UNLIMITED;
if ((sid = H5Screate_simple(2, dims2, max_dims)) < 0) if ((sid = H5Screate_simple(2, dims2, max_dims)) < 0)