summaryrefslogtreecommitdiffstats
path: root/src/H5Einit.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-03-11 22:01:42 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-03-11 22:01:42 (GMT)
commit810cda019d901ccabda3b3c91f324ba965f97fef (patch)
treef709155ecaa1828dff26bb04c474fc9c80c88715 /src/H5Einit.h
parent1f41dfca050d557d66341372529214a8ca690c89 (diff)
downloadhdf5-810cda019d901ccabda3b3c91f324ba965f97fef.zip
hdf5-810cda019d901ccabda3b3c91f324ba965f97fef.tar.gz
hdf5-810cda019d901ccabda3b3c91f324ba965f97fef.tar.bz2
[svn-r12079] Purpose:
Update code Description: Add a new error value, for later use. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor for full committest
Diffstat (limited to 'src/H5Einit.h')
-rw-r--r--src/H5Einit.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/H5Einit.h b/src/H5Einit.h
index b2a4563..2c216da 100644
--- a/src/H5Einit.h
+++ b/src/H5Einit.h
@@ -244,6 +244,11 @@ if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't restore condition"))==NULL)
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
if((H5E_CANTRESTORE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
+assert(H5E_CANTCOMPUTE_g==(-1));
+if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't compute value"))==NULL)
+ HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
+if((H5E_CANTCOMPUTE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
+ HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
/* Function entry/exit interface errors */
assert(H5E_CANTINIT_g==(-1));