summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-06-26 21:43:13 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-06-26 21:43:13 (GMT)
commitc6250072daf90739f9a74600993cdc2e2553f24f (patch)
treec7a2e8aea81dfa71fcbddaa124a88eb741b1512c
parent26d5a950e8087fb331a4941c0553eb722f84cf15 (diff)
downloadhdf5-c6250072daf90739f9a74600993cdc2e2553f24f.zip
hdf5-c6250072daf90739f9a74600993cdc2e2553f24f.tar.gz
hdf5-c6250072daf90739f9a74600993cdc2e2553f24f.tar.bz2
Gather a couple of assertions.
-rw-r--r--test/vfd_swmr_bigset_writer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/vfd_swmr_bigset_writer.c b/test/vfd_swmr_bigset_writer.c
index b58a9cf..ba8fc0d 100644
--- a/test/vfd_swmr_bigset_writer.c
+++ b/test/vfd_swmr_bigset_writer.c
@@ -317,11 +317,10 @@ create_extensible_dset(state_t *s, unsigned int which)
hid_t ds;
assert(which < s->ndatasets);
+ assert(s->dataset[which] == badhid);
esnprintf(dname, sizeof(dname), "/dataset-%d", which);
- assert(s->dataset[which] == badhid);
-
ds = H5Dcreate2(s->file, dname, H5T_STD_U32BE, s->filespace,
H5P_DEFAULT, s->dcpl, s->dapl);