diff options
Diffstat (limited to 'src/H5FDstdio.c')
-rw-r--r-- | src/H5FDstdio.c | 10 |
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); } |