summaryrefslogtreecommitdiffstats
path: root/src/H5FD.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2013-05-29 00:16:59 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2013-05-29 00:16:59 (GMT)
commitcf0c06c96228f2b04305bb05d582f42741e81268 (patch)
treed66c4511d795b73e96ca303c40bb35dac33faadf /src/H5FD.c
parent530208b86c520b663efcc05835baa273b1991ccb (diff)
downloadhdf5-cf0c06c96228f2b04305bb05d582f42741e81268.zip
hdf5-cf0c06c96228f2b04305bb05d582f42741e81268.tar.gz
hdf5-cf0c06c96228f2b04305bb05d582f42741e81268.tar.bz2
[svn-r23719] Description:
Bring r23713 and r23717 from trunk to 1.8 branch: Clean up warnings, switch library code to use Standard C/POSIX wrapper macros, remove internal calls to API routines, update checkapi and checkposix scripts. Tested on: Mac OSX/64 10.8.3 (amazon) w/C++ & FORTRAN Big-Endian Linux/64 (ostrich)
Diffstat (limited to 'src/H5FD.c')
-rw-r--r--src/H5FD.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5FD.c b/src/H5FD.c
index eba3cfe..85d9266 100644
--- a/src/H5FD.c
+++ b/src/H5FD.c
@@ -508,7 +508,7 @@ H5FD_sb_size(H5FD_t *file)
FUNC_ENTER_NOAPI(0)
- assert(file && file->cls);
+ HDassert(file && file->cls);
if(file->cls->sb_size)
ret_value = (file->cls->sb_size)(file);
@@ -546,7 +546,7 @@ H5FD_sb_encode(H5FD_t *file, char *name/*out*/, uint8_t *buf)
FUNC_ENTER_NOAPI(FAIL)
- assert(file && file->cls);
+ HDassert(file && file->cls);
if(file->cls->sb_encode &&
(file->cls->sb_encode)(file, name/*out*/, buf/*out*/) < 0)
HGOTO_ERROR(H5E_VFL, H5E_CANTINIT, FAIL, "driver sb_encode request failed")
@@ -708,7 +708,7 @@ H5FD_fapl_get(H5FD_t *file)
FUNC_ENTER_NOAPI(NULL)
- assert(file);
+ HDassert(file);
if(file->cls->fapl_get)
ret_value = (file->cls->fapl_get)(file);
@@ -1215,8 +1215,8 @@ H5FDquery(const H5FD_t *f, unsigned long *flags/*out*/)
FUNC_ENTER_API(FAIL)
H5TRACE2("Is", "*xx", f, flags);
- assert(f);
- assert(flags);
+ HDassert(f);
+ HDassert(flags);
ret_value = H5FD_query(f, flags);