diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2012-10-17 19:31:44 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2012-10-17 19:31:44 (GMT) |
commit | 14d87e20ff975e1849282a826e83a8c712e0b1ae (patch) | |
tree | 9a38f1f31643a27f3508ae26efdfef53169f824b /src/H5Fprivate.h | |
parent | e1fb770277310eefbbe0650656e3007366ddf585 (diff) | |
download | hdf5-14d87e20ff975e1849282a826e83a8c712e0b1ae.zip hdf5-14d87e20ff975e1849282a826e83a8c712e0b1ae.tar.gz hdf5-14d87e20ff975e1849282a826e83a8c712e0b1ae.tar.bz2 |
[svn-r22916] Description:
Bring r22915 from trunk to 1.8 branch:
Bring Coverity changes back to trunk:
r20399:
Change parse_command_line to free hand structure on error and only "leave()" at end of main.
r20400:
Purpose: Fix coverity issue 592
Description: Added void cast to call to H5F_sfile_assert_num() in
H5F_term)interface(). There is no need to check the return value of this
function in general, and there would be nothing to do even if it did fail.
r20401:
Added free(src_sizes) and free(src_offset). --gh
Tested on:
Mac OSX/64 10.8.2 (amazon) w/C++, FORTRAN, threadsafe
(too minor for h5committest)
Diffstat (limited to 'src/H5Fprivate.h')
-rw-r--r-- | src/H5Fprivate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Fprivate.h b/src/H5Fprivate.h index 5a11f5f..4a984a1 100644 --- a/src/H5Fprivate.h +++ b/src/H5Fprivate.h @@ -563,7 +563,7 @@ H5_DLL void H5F_addr_decode_len(size_t addr_len, const uint8_t **pp, haddr_t *ad H5_DLL herr_t H5P_facc_close(hid_t dxpl_id, void *close_data); /* Shared file list related routines */ -H5_DLL herr_t H5F_sfile_assert_num(unsigned n); +H5_DLL void H5F_sfile_assert_num(unsigned n); /* Routines for creating & destroying "fake" file structures */ H5_DLL H5F_t *H5F_fake_alloc(uint8_t sizeof_size); |