summaryrefslogtreecommitdiffstats
path: root/src/H5P.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-11-03 22:27:54 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-11-03 22:27:54 (GMT)
commit0001a136175eb59c3c2ff778c67e763bae73f473 (patch)
tree7ec60d039e634e43192f5e327b0c327b94e232d9 /src/H5P.c
parent3af26fa7a598221427d43fa8a1620cf18fbeb2dc (diff)
downloadhdf5-0001a136175eb59c3c2ff778c67e763bae73f473.zip
hdf5-0001a136175eb59c3c2ff778c67e763bae73f473.tar.gz
hdf5-0001a136175eb59c3c2ff778c67e763bae73f473.tar.bz2
[svn-r4589] Purpose:
Code cleanup Description: Clean up various compiler warnings from generic property updates. Platforms tested: FreeBSD 4.4 (hawkwind)
Diffstat (limited to 'src/H5P.c')
-rw-r--r--src/H5P.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/H5P.c b/src/H5P.c
index 182cc6f..8c396d5 100644
--- a/src/H5P.c
+++ b/src/H5P.c
@@ -158,16 +158,13 @@ H5P_init_interface(void)
{
H5P_genclass_t *root_class; /* Pointer to root property list class created */
H5P_genclass_t *pclass; /* Pointer to property list class to create */
- herr_t ret_value = SUCCEED;
- int i;
- herr_t status;
+ herr_t ret_value = SUCCEED;
FUNC_ENTER(H5P_init_interface, FAIL);
- if (ret_value < 0) {
- HRETURN_ERROR(H5E_ATOM, H5E_CANTINIT, FAIL,
- "unable to initialize atom group");
- }
+ /* Make certain IDs are initialized */
+ if (ret_value < 0)
+ HRETURN_ERROR(H5E_ATOM, H5E_CANTINIT, FAIL, "unable to initialize atom group");
/*
* Initialize the Generic Property class & object groups.
@@ -231,7 +228,6 @@ H5P_init_interface(void)
if ((H5P_CLS_MOUNT_g = H5I_register (H5I_GENPROP_CLS, pclass))<0)
HRETURN_ERROR (H5E_PLIST, H5E_CANTREGISTER, FAIL, "can't register property list class");
-
FUNC_LEAVE(ret_value);
}
@@ -255,7 +251,7 @@ H5P_init_interface(void)
int
H5P_term_interface(void)
{
- int i, n=0;
+ int n=0;
if (interface_initialize_g) {
/* Destroy HDF5 library property classes & lists */