summaryrefslogtreecommitdiffstats
path: root/src/H5Oprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-07-29 19:17:29 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-07-29 19:17:29 (GMT)
commit6e3ff79f0c26c85a8cc444a535870a956fd02b6e (patch)
tree37b0eda7665939cf8955bd7c0a0b03da79515ac9 /src/H5Oprivate.h
parent87172f5ba1778c0b5fb7abb9dc840ff5c8694e86 (diff)
downloadhdf5-6e3ff79f0c26c85a8cc444a535870a956fd02b6e.zip
hdf5-6e3ff79f0c26c85a8cc444a535870a956fd02b6e.tar.gz
hdf5-6e3ff79f0c26c85a8cc444a535870a956fd02b6e.tar.bz2
[svn-r19154] Description:
Bring r19153 from trunk to 1.8 branch: Bring changes on Coverity branch back to trunk: r19040: Fixed coverity #440 - NULL check after dereference. We moved the NULL check up into the IF block and changed it to assertion. r19041: Maintenance: Addressed Coverity issues 441 and 449 by initializing proper variables r19042: In function H5O_chunk_protect (H5Ochunk.c): - Initialize H5O_chunk_proxy_t pointers chk_proxy and ret_value. - Free chk_proxy on error. r19043: Addressed coverity issues 442 - 448 by initializing pointers to NULL. Tested on: Mac OS X/32 10.6.4 (amazon) w/debug & production (Too minor to require h5committest)
Diffstat (limited to 'src/H5Oprivate.h')
-rw-r--r--src/H5Oprivate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Oprivate.h b/src/H5Oprivate.h
index 66d4d3e..2f5a4a7 100644
--- a/src/H5Oprivate.h
+++ b/src/H5Oprivate.h
@@ -689,7 +689,7 @@ H5_DLL herr_t H5O_debug(H5F_t *f, hid_t dxpl_id, haddr_t addr, FILE * stream, in
/* These functions operate on object locations */
H5_DLL herr_t H5O_loc_reset(H5O_loc_t *loc);
-H5_DLL herr_t H5O_loc_copy(H5O_loc_t *dst, const H5O_loc_t *src, H5_copy_depth_t depth);
+H5_DLL herr_t H5O_loc_copy(H5O_loc_t *dst, H5O_loc_t *src, H5_copy_depth_t depth);
H5_DLL herr_t H5O_loc_hold_file(H5O_loc_t *loc);
H5_DLL herr_t H5O_loc_free(H5O_loc_t *loc);