diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2010-04-20 18:26:41 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2010-04-20 18:26:41 (GMT) |
commit | 92fd980ca9f16ce688f67a1ae04f129dfa3aacf1 (patch) | |
tree | 1a15cc9d6329b3fcc312d288ac632d9223b10b63 /src/H5Ofill.c | |
parent | 987bc92a01dfe013abced01378ee7e4b3173c797 (diff) | |
download | hdf5-92fd980ca9f16ce688f67a1ae04f129dfa3aacf1.zip hdf5-92fd980ca9f16ce688f67a1ae04f129dfa3aacf1.tar.gz hdf5-92fd980ca9f16ce688f67a1ae04f129dfa3aacf1.tar.bz2 |
[svn-r18595] Description:
Clean up compiler warnings
Tested on:
Mac OS X/32 10.6.3 (amazon) w/debug
(too minor to require h5committest)
Diffstat (limited to 'src/H5Ofill.c')
-rw-r--r-- | src/H5Ofill.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Ofill.c b/src/H5Ofill.c index f403b81..ffea9e6 100644 --- a/src/H5Ofill.c +++ b/src/H5Ofill.c @@ -275,7 +275,7 @@ done: if(!ret_value && fill) { if(fill->buf) H5MM_xfree(fill->buf); - (void)H5FL_FREE(H5O_fill_t, fill); + fill = H5FL_FREE(H5O_fill_t, fill); } /* end if */ FUNC_LEAVE_NOAPI(ret_value) @@ -335,7 +335,7 @@ done: if(!ret_value && fill) { if(fill->buf) H5MM_xfree(fill->buf); - (void)H5FL_FREE(H5O_fill_t, fill); + fill = H5FL_FREE(H5O_fill_t, fill); } /* end if */ FUNC_LEAVE_NOAPI(ret_value) @@ -581,7 +581,7 @@ done: if(dst->type) H5T_close(dst->type); if(!_dst) - (void)H5FL_FREE(H5O_fill_t, dst); + dst = H5FL_FREE(H5O_fill_t, dst); } /* end if */ FUNC_LEAVE_NOAPI(ret_value) @@ -783,7 +783,7 @@ H5O_fill_free(void *fill) HDassert(fill); - (void)H5FL_FREE(H5O_fill_t, fill); + fill = H5FL_FREE(H5O_fill_t, fill); FUNC_LEAVE_NOAPI(SUCCEED) } /* end H5O_fill_free() */ |