mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-27 08:01:04 +08:00
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:
parent
d8fbc56f78
commit
a03506b089
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user