From be613da6b804e56a51f43a053bf35d898dccb420 Mon Sep 17 00:00:00 2001 From: Binh-Minh Ribler Date: Thu, 20 Oct 2016 23:38:24 -0500 Subject: Miscellaneous code cleanup. Platforms tested: Linux/32 2.6 (jam) Darwin (osx1010test) --- hl/c++/test/ptableTest.h | 3 --- hl/test/test_packet.c | 6 ++---- 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) -- cgit v0.12