diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2022-06-09 21:29:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-09 21:29:04 (GMT) |
commit | 0311d4c00a14ad2268c3b2aaa4a248c423afdbc8 (patch) | |
tree | 5fd961a0cf50912145cb0e2420566913170726d4 /hl/c++ | |
parent | b2794b474acaf9050b03239502056bdd34975db8 (diff) | |
download | hdf5-0311d4c00a14ad2268c3b2aaa4a248c423afdbc8.zip hdf5-0311d4c00a14ad2268c3b2aaa4a248c423afdbc8.tar.gz hdf5-0311d4c00a14ad2268c3b2aaa4a248c423afdbc8.tar.bz2 |
Hdf5 1 10 sync (#1795)
* Branch sync updates and spelling
* Revert format of getenv
Diffstat (limited to 'hl/c++')
-rw-r--r-- | hl/c++/test/ptableTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hl/c++/test/ptableTest.cpp b/hl/c++/test/ptableTest.cpp index 2600367..bbc702e 100644 --- a/hl/c++/test/ptableTest.cpp +++ b/hl/c++/test/ptableTest.cpp @@ -223,7 +223,7 @@ TestGetNext() for (record = 1; record < 6; record++) wrapper.AppendPacket(&record); - /* Ensure that we can interate through the records and get the right ones */ + /* Ensure that we can iterate through the records and get the right ones */ for (i = 1; i < 6; i++) { wrapper.GetNextPacket(&record); if (record != i) @@ -237,7 +237,7 @@ TestGetNext() if (error < 0) goto error; - /* Ensure that we can interate through the records and get the right ones */ + /* Ensure that we can iterate through the records and get the right ones */ for (i = 1; i < 6; i++) { error = wrapper.GetNextPacket(&record); if (record != i || error < 0) @@ -605,8 +605,8 @@ const int STRING_LENGTH = 19; // including terminating NULL int TestHDFFV_9758() { - hid_t strtype; - hid_t compound_type; + hid_t strtype = H5I_INVALID_HID; + hid_t compound_type = H5I_INVALID_HID; herr_t err; struct s1_t { int a; |