diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-01-23 20:30:33 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-01-23 20:30:33 (GMT) |
commit | d89c2c43f37795f906152dbc66a70b232dfb90bb (patch) | |
tree | 43d42fa633c96a337569d567a7af162e88c2c4c4 /src/H5P.c | |
parent | dc02b5bd22b61c52a6947f338691bc801baf1b91 (diff) | |
download | hdf5-d89c2c43f37795f906152dbc66a70b232dfb90bb.zip hdf5-d89c2c43f37795f906152dbc66a70b232dfb90bb.tar.gz hdf5-d89c2c43f37795f906152dbc66a70b232dfb90bb.tar.bz2 |
[svn-r13183] Description:
Checkpoint work toward getting the fill value message into the shared
message interface regime.
Tested on:
Linux/32 2.6 (chicago)
Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5P.c')
-rw-r--r-- | src/H5P.c | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -3846,33 +3846,33 @@ htri_t H5Pequal(hid_t id1, hid_t id2) { void *obj1, *obj2; /* Property objects to compare */ - htri_t ret_value=FALSE; /* return value */ + htri_t ret_value = FALSE; /* return value */ - FUNC_ENTER_API(H5Pequal, FAIL); + FUNC_ENTER_API(H5Pequal, FAIL) H5TRACE2("t", "ii", id1, id2); /* Check arguments. */ if ((H5I_GENPROP_LST != H5I_get_type(id1) && H5I_GENPROP_CLS != H5I_get_type(id1)) || (H5I_GENPROP_LST != H5I_get_type(id2) && H5I_GENPROP_CLS != H5I_get_type(id2))) - HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not property objects"); + HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not property objects") if (H5I_get_type(id1) != H5I_get_type(id2)) - HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not the same kind of property objects"); + HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not the same kind of property objects") if(NULL == (obj1 = H5I_object(id1)) || NULL == (obj2 = H5I_object(id2))) - HGOTO_ERROR(H5E_PLIST, H5E_NOTFOUND, FAIL, "property object doesn't exist"); + HGOTO_ERROR(H5E_PLIST, H5E_NOTFOUND, FAIL, "property object doesn't exist") /* Compare property lists */ if(H5I_GENPROP_LST == H5I_get_type(id1)) { - if(H5P_cmp_plist(obj1,obj2)==0) - ret_value=TRUE; + if(H5P_cmp_plist(obj1, obj2) == 0) + ret_value = TRUE; } /* end if */ /* Must be property classes */ else { - if(H5P_cmp_class(obj1,obj2)==0) + if(H5P_cmp_class(obj1, obj2) == 0) ret_value=TRUE; } /* end else */ done: - FUNC_LEAVE_API(ret_value); + FUNC_LEAVE_API(ret_value) } /* H5Pequal() */ |