summaryrefslogtreecommitdiffstats
path: root/src/H5O.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-04-15 19:47:56 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-04-15 19:47:56 (GMT)
commit789e672956c99300d6e22f602fae5bc2fe286ce6 (patch)
treee0ab528dd1d5d4947cff584c60580284b6fe25b0 /src/H5O.c
parenta56445f5c5e2e8e4a8032b9d9958247c08b51438 (diff)
downloadhdf5-789e672956c99300d6e22f602fae5bc2fe286ce6.zip
hdf5-789e672956c99300d6e22f602fae5bc2fe286ce6.tar.gz
hdf5-789e672956c99300d6e22f602fae5bc2fe286ce6.tar.bz2
[svn-r18569] Desription:
Fix a problem in the metadata accumulator code and clean up a few compiler warnings. Tested on: Mac OS X/32 10.6.3 (amazon) w/debug (h5committest not required on this branch)
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 3a971a7..060ed43 100644
--- a/src/H5O.c
+++ b/src/H5O.c
@@ -1555,7 +1555,7 @@ done:
H5O_t *
H5O_protect(const H5O_loc_t *loc, hid_t dxpl_id, H5AC_protect_t prot)
{
- H5O_t *oh; /* Object header protected */
+ H5O_t *oh = NULL; /* Object header protected */
H5O_cache_ud_t udata; /* User data for protecting object header */
H5O_cont_msgs_t cont_msg_info; /* Continuation message info */
unsigned file_intent; /* R/W intent on file */