summaryrefslogtreecommitdiffstats
path: root/test/vfd_swmr_vlstr_writer.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-08-17 15:36:12 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-08-17 15:36:12 (GMT)
commit0619c3dfd8e00613a39ccbbe47ff3abeed0534e6 (patch)
treecba0349a08b2d5933bc5ce514c24c73524c5e8dc /test/vfd_swmr_vlstr_writer.c
parent695bd92140e2dab142575b531a2c93693b425f47 (diff)
downloadhdf5-0619c3dfd8e00613a39ccbbe47ff3abeed0534e6.zip
hdf5-0619c3dfd8e00613a39ccbbe47ff3abeed0534e6.tar.gz
hdf5-0619c3dfd8e00613a39ccbbe47ff3abeed0534e6.tar.bz2
Fix copy-and-paste error: do not copy the H5T_C_S1 type twice.
Diffstat (limited to 'test/vfd_swmr_vlstr_writer.c')
-rw-r--r--test/vfd_swmr_vlstr_writer.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/vfd_swmr_vlstr_writer.c b/test/vfd_swmr_vlstr_writer.c
index 193e03c..d4a83ae 100644
--- a/test/vfd_swmr_vlstr_writer.c
+++ b/test/vfd_swmr_vlstr_writer.c
@@ -218,10 +218,6 @@ main(int argc, char **argv)
if ((type = H5Tcopy(H5T_C_S1)) == badhid)
errx(EXIT_FAILURE, "H5Tcopy");
- /* Create the VL string datatype and a scalar dataspace */
- if ((type = H5Tcopy(H5T_C_S1)) == badhid)
- errx(EXIT_FAILURE, "H5Tcopy");
-
if (!variable) {
if (H5Tset_size(type, 32) < 0)
errx(EXIT_FAILURE, "H5Tset_size");