summaryrefslogtreecommitdiffstats
path: root/src/H5FDstdio.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-11-20 19:07:22 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-11-20 19:07:22 (GMT)
commit6ab0e9f0929738cdb3ba87fd409c68ad3db4178c (patch)
tree8142391516c53e90569f4e8ff4dcde376fcf16f9 /src/H5FDstdio.c
parent2e53165b47744ad71645492f74d4332371cc5179 (diff)
downloadhdf5-6ab0e9f0929738cdb3ba87fd409c68ad3db4178c.zip
hdf5-6ab0e9f0929738cdb3ba87fd409c68ad3db4178c.tar.gz
hdf5-6ab0e9f0929738cdb3ba87fd409c68ad3db4178c.tar.bz2
[svn-r4620] Purpose:
Code cleanup Description: Get rid of IDs from internal function calls and some small cleanups from the old-stype => generic property list conversion. Platforms tested: FreeBSD 4.4 (hawkwind)
Diffstat (limited to 'src/H5FDstdio.c')
-rw-r--r--src/H5FDstdio.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/H5FDstdio.c b/src/H5FDstdio.c
index 50828c6..d86dbac 100644
--- a/src/H5FDstdio.c
+++ b/src/H5FDstdio.c
@@ -15,9 +15,6 @@
#include <sys/stat.h>
#include "hdf5.h"
-#ifdef QAK
-#include "H5private.h" /* library function */
-#endif /* QAK */
#ifdef H5_HAVE_STDIO_H
#include <stdio.h>
@@ -230,11 +227,8 @@ H5Pset_fapl_stdio(hid_t fapl_id)
/* Clear the error stack */
H5Eclear();
- if(H5I_GENPROP_LST != H5Iget_type(fapl_id) ||
- 0 == H5Pisa_class(fapl_id, H5P_FILE_ACCESS)) {
- H5Epush_ret(func, H5E_PLIST, H5E_BADTYPE,
- "not a file access property list", -1);
- }
+ if(0 == H5Pisa_class(fapl_id, H5P_FILE_ACCESS))
+ H5Epush_ret(func, H5E_PLIST, H5E_BADTYPE, "not a file access property list", -1);
return H5Pset_driver(fapl_id, H5FD_STDIO, NULL);
}