summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2016-10-21 04:38:24 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2016-10-21 04:38:24 (GMT)
commitbe613da6b804e56a51f43a053bf35d898dccb420 (patch)
tree4a3689a703fe6c01e5e4f4c618834ddeab9ee923
parent14e308b2e6eada778818abf53949ceef0e7b2a34 (diff)
downloadhdf5-be613da6b804e56a51f43a053bf35d898dccb420.zip
hdf5-be613da6b804e56a51f43a053bf35d898dccb420.tar.gz
hdf5-be613da6b804e56a51f43a053bf35d898dccb420.tar.bz2
Miscellaneous code cleanup.
Platforms tested: Linux/32 2.6 (jam) Darwin (osx1010test)
-rw-r--r--hl/c++/test/ptableTest.h3
-rw-r--r--hl/test/test_packet.c6
2 files changed, 2 insertions, 7 deletions
diff --git a/hl/c++/test/ptableTest.h b/hl/c++/test/ptableTest.h
index 4ee8967..60b55ca 100644
--- a/hl/c++/test/ptableTest.h
+++ b/hl/c++/test/ptableTest.h
@@ -56,7 +56,4 @@ int SystemTest(void);
that data was written and read correctly. */
int TestHDFFV_9758(void);
-/* Test the variable length dataset functionality */
-int VariableLengthTest(void);
-
#endif /* PTABLETEST */
diff --git a/hl/test/test_packet.c b/hl/test/test_packet.c
index 1817ea4..f577947 100644
--- a/hl/test/test_packet.c
+++ b/hl/test/test_packet.c
@@ -767,14 +767,12 @@ static int test_rw_nonnative_dt(hid_t fid)
if( (err = H5PTappend(ptable, (size_t)4, &(writeBuffer[1]))) < 0)
goto error;
- /* if( (err = H5PTclose(ptable)) < 0)
+ if( (err = H5PTclose(ptable)) < 0)
goto error;
- */
/* Open the Packet table */
- /* if( (ptable = H5PTopen(fid, "Packet Test Dataset, Non-native")) < 0)
+ if( (ptable = H5PTopen(fid, "Packet Test Dataset, Non-native")) < 0)
goto error;
- */
/* Get the number of packets in the packet table. This should be five. */
if( (err = H5PTget_num_packets(ptable, &count)) < 0)