Skip to content

Commit

Permalink
Remove unnecessary assignment in test generator
Browse files Browse the repository at this point in the history
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
  • Loading branch information
derobins committed Sep 27, 2023
1 parent 4233ae6 commit aef5e18
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tools/test/h5format_convert/h5fc_gentest.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit aef5e18

Please sign in to comment.