diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2000-04-19 23:11:06 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2000-04-19 23:11:06 (GMT) |
commit | 7438609ee2a445521b461faa122554b253283f51 (patch) | |
tree | 8fd14659340dc57719e85ddc5a92edbca64bcb66 /src/H5P.c | |
parent | cfea54b1e255966549829597c18f470f7156be1d (diff) | |
download | hdf5-7438609ee2a445521b461faa122554b253283f51.zip hdf5-7438609ee2a445521b461faa122554b253283f51.tar.gz hdf5-7438609ee2a445521b461faa122554b253283f51.tar.bz2 |
[svn-r2162] Various small fixes to address SGI compiler warnings.
Diffstat (limited to 'src/H5P.c')
-rw-r--r-- | src/H5P.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -258,17 +258,13 @@ H5P_create(H5P_class_t type, H5P_t *plist) herr_t H5Pclose(hid_t plist_id) { - H5P_class_t type; - void *plist = NULL; - FUNC_ENTER(H5Pclose, FAIL); H5TRACE1("e","i",plist_id); /* Check arguments */ if (plist_id==H5P_DEFAULT) HRETURN(SUCCEED); - if ((type=H5P_get_class (plist_id))<0 || - NULL==(plist=H5I_object (plist_id))) { + if (H5P_get_class (plist_id)<0) { HRETURN_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a property list"); } |