Skip to content

Commit

Permalink
Remove unnecessary assignment in test generator (#3603)
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 authored Sep 27, 2023
1 parent d8fbc56 commit a03506b
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 a03506b

Please sign in to comment.