summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-05-19 04:58:25 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-05-19 04:58:25 (GMT)
commiteff3014d975a3118360fa38660af910af804cdcd (patch)
treee9068e2babf566e4145342ec073e0e85fde4a56b
parent603f1c7221df37daba57323bba926bd3087b14db (diff)
downloadhdf5-eff3014d975a3118360fa38660af910af804cdcd.zip
hdf5-eff3014d975a3118360fa38660af910af804cdcd.tar.gz
hdf5-eff3014d975a3118360fa38660af910af804cdcd.tar.bz2
[svn-r13769] Description:
Clean up minor compiler warnings Tested on: FreeBSD/32 6.2 (duty)
-rw-r--r--src/H5Abtree2.c2
-rw-r--r--src/H5RS.c2
-rw-r--r--src/H5Toh.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Abtree2.c b/src/H5Abtree2.c
index e289920..15bc6f7 100644
--- a/src/H5Abtree2.c
+++ b/src/H5Abtree2.c
@@ -289,7 +289,7 @@ H5A_dense_btree2_name_compare(const void *_bt2_udata, const void *_bt2_rec)
const H5A_dense_bt2_name_rec_t *bt2_rec = (const H5A_dense_bt2_name_rec_t *)_bt2_rec;
herr_t ret_value; /* Return value */
- FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5A_dense_btree2_name_compare)
+ FUNC_ENTER_NOAPI_NOINIT(H5A_dense_btree2_name_compare)
/* Sanity check */
HDassert(bt2_udata);
diff --git a/src/H5RS.c b/src/H5RS.c
index 0a25a7e..065d05f 100644
--- a/src/H5RS.c
+++ b/src/H5RS.c
@@ -230,7 +230,7 @@ H5RS_decr(H5RS_str_t *rs)
/* Decrement reference count for string */
if((--rs->n)==0) {
if(!rs->wrapped)
- H5FL_BLK_FREE(str_buf,rs->s);
+ (void)H5FL_BLK_FREE(str_buf,rs->s);
H5FL_FREE(H5RS_str_t,rs);
} /* end if */
diff --git a/src/H5Toh.c b/src/H5Toh.c
index 6e851f6..2a4ee86 100644
--- a/src/H5Toh.c
+++ b/src/H5Toh.c
@@ -219,7 +219,7 @@ H5O_dtype_get_oloc(hid_t obj_id)
FUNC_ENTER_NOAPI_NOINIT(H5O_dtype_get_oloc)
/* Get the datatype */
- if(NULL == (type = H5I_object(obj_id)))
+ if(NULL == (type = (H5T_t *)H5I_object(obj_id)))
HGOTO_ERROR(H5E_OHDR, H5E_BADATOM, NULL, "couldn't get object from ID")
/* Get the datatype's object header location */