summaryrefslogtreecommitdiffstats
path: root/src/H5P.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-04-19 23:11:06 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-04-19 23:11:06 (GMT)
commit7438609ee2a445521b461faa122554b253283f51 (patch)
tree8fd14659340dc57719e85ddc5a92edbca64bcb66 /src/H5P.c
parentcfea54b1e255966549829597c18f470f7156be1d (diff)
downloadhdf5-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.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/H5P.c b/src/H5P.c
index a22a679..873c258 100644
--- a/src/H5P.c
+++ b/src/H5P.c
@@ -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");
}