summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-08-12 13:29:41 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-08-12 13:29:41 (GMT)
commit9a2f9731bd0ed65526d7005c214ffb6f74485871 (patch)
tree5a2fac0742e87c7ae016694e7b883a91ffe420af /test
parent1c03bdd2ffaaa4edb4578c304d8d92109d224f4c (diff)
downloadhdf5-9a2f9731bd0ed65526d7005c214ffb6f74485871.zip
hdf5-9a2f9731bd0ed65526d7005c214ffb6f74485871.tar.gz
hdf5-9a2f9731bd0ed65526d7005c214ffb6f74485871.tar.bz2
[svn-r7347] Purpose:
Code cleanup & bug fix Description: Clean up code, adding error checking where appropriate Fix a number of routines which were clearing the default error stack before checking some information about that stack. Set the version # of the library correctly when it is registered. Platforms tested: FreeBSD 4.8 (sleipnir) h5committested
Diffstat (limited to 'test')
-rw-r--r--test/errors.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/errors.c b/test/errors.c
index 0f701c5..af09592 100644
--- a/test/errors.c
+++ b/test/errors.c
@@ -187,8 +187,6 @@ init_error(void)
if((ERR_CLS = H5Eregister_class(ERR_CLS_NAME, PROG_NAME, PROG_VERS))<0)
TEST_ERROR;
- if((ERR_CLS = H5Eregister_class(ERR_CLS_NAME, PROG_NAME, PROG_VERS))<0)
- TEST_ERROR;
if(cls_size != H5Eget_class_name(ERR_CLS, cls_name, (size_t)cls_size) + 1)
TEST_ERROR;