diff options
-rw-r--r-- | test/vfd_swmr_vlstr_reader.c | 6 | ||||
-rw-r--r-- | test/vfd_swmr_vlstr_writer.c | 4 |
2 files changed, 0 insertions, 10 deletions
diff --git a/test/vfd_swmr_vlstr_reader.c b/test/vfd_swmr_vlstr_reader.c index df9037729..48a1f41 100644 --- a/test/vfd_swmr_vlstr_reader.c +++ b/test/vfd_swmr_vlstr_reader.c @@ -142,12 +142,6 @@ main(int argc, char **argv) fid = H5Fopen("vfd_swmr_vlstr.h5", H5F_ACC_RDONLY, fapl); - /* Create the VL string datatype and a scalar dataspace, or a - * fixed-length string datatype and a simple dataspace. - */ - 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"); 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"); |