summaryrefslogtreecommitdiffstats
path: root/src/H5O.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-04-22 13:16:19 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-04-22 13:16:19 (GMT)
commit1d77e349ef8a523b46994cda4f8e92c72a4c8bb4 (patch)
tree45d88877a38eb610ae7070030159c51c9c1a2f0e /src/H5O.c
parente059d5bcb387a91114eeb970039ffd0f0c462042 (diff)
downloadhdf5-1d77e349ef8a523b46994cda4f8e92c72a4c8bb4.zip
hdf5-1d77e349ef8a523b46994cda4f8e92c72a4c8bb4.tar.gz
hdf5-1d77e349ef8a523b46994cda4f8e92c72a4c8bb4.tar.bz2
[svn-r18608] Description:
Simplify object header allocation routines, and clean up some compiler warnings. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
Diffstat (limited to 'src/H5O.c')
-rw-r--r--src/H5O.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5O.c b/src/H5O.c
index 3088386..df3d0bb 100644
--- a/src/H5O.c
+++ b/src/H5O.c
@@ -1688,7 +1688,7 @@ H5O_protect(const H5O_loc_t *loc, hid_t dxpl_id, H5AC_protect_t prot)
#endif /* NDEBUG */
/* Bring the chunk into the cache */
- /* (which adds to the object header */
+ /* (which adds to the object header) */
chk_udata.chunk_size = cont_msg_info.msgs[curr_msg].size;
if(NULL == (chk_proxy = (H5O_chunk_proxy_t *)H5AC_protect(loc->file, dxpl_id, H5AC_OHDR_CHK, cont_msg_info.msgs[curr_msg].addr, NULL, &chk_udata, prot)))
HGOTO_ERROR(H5E_OHDR, H5E_CANTPROTECT, NULL, "unable to load object header chunk")