summaryrefslogtreecommitdiffstats
path: root/src/H5B2.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-05-19 05:37:00 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-05-19 05:37:00 (GMT)
commit3c394783e764e0b57b18c9338528e04ff2800526 (patch)
treecf68cee3862a92af0320d44cc96a41c9b21cd0f2 /src/H5B2.c
parent52d71bcd6f19c7b0adb6544f4c79df94eb1135e4 (diff)
downloadhdf5-3c394783e764e0b57b18c9338528e04ff2800526.zip
hdf5-3c394783e764e0b57b18c9338528e04ff2800526.tar.gz
hdf5-3c394783e764e0b57b18c9338528e04ff2800526.tar.bz2
[svn-r13771] Description:
Fix some more unitialized variables that were flagged by valgrind. Tested on: FreeBSD/32 6.2 (duty) w/valgrind
Diffstat (limited to 'src/H5B2.c')
-rw-r--r--src/H5B2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5B2.c b/src/H5B2.c
index 5a2d5ee..b52b215 100644
--- a/src/H5B2.c
+++ b/src/H5B2.c
@@ -1134,7 +1134,7 @@ H5B2_modify(H5F_t *f, hid_t dxpl_id, const H5B2_class_t *type, haddr_t addr,
{
unsigned leaf_flags = H5AC__NO_FLAGS_SET;
H5B2_leaf_t *leaf; /* Pointer to leaf node in B-tree */
- hbool_t changed; /* Whether the 'modify' callback changed the record */
+ hbool_t changed = FALSE;/* Whether the 'modify' callback changed the record */
/* Lock B-tree leaf node */
if (NULL == (leaf = H5AC_protect(f, dxpl_id, H5AC_BT2_LEAF, curr_node_ptr.addr, &(curr_node_ptr.node_nrec), bt2_shared, H5AC_WRITE)))