summaryrefslogtreecommitdiffstats
path: root/src/H5Fsuper.c
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2006-11-21 16:02:34 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2006-11-21 16:02:34 (GMT)
commit59ac4c5e9dfc32077f351267569c274d6caa6f04 (patch)
treef9492b5965eae3cb3aa7b33ae36192c7042a0000 /src/H5Fsuper.c
parent4d08b756b2eab945921ddef689b7564d07e6a37f (diff)
downloadhdf5-59ac4c5e9dfc32077f351267569c274d6caa6f04.zip
hdf5-59ac4c5e9dfc32077f351267569c274d6caa6f04.tar.gz
hdf5-59ac4c5e9dfc32077f351267569c274d6caa6f04.tar.bz2
[svn-r12957] Clean up some purify warnings in the code by making sure that
memory is always initialized. Tested on heping, kagiso, and juniper.
Diffstat (limited to 'src/H5Fsuper.c')
-rw-r--r--src/H5Fsuper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Fsuper.c b/src/H5Fsuper.c
index a77030c..61ecacd 100644
--- a/src/H5Fsuper.c
+++ b/src/H5Fsuper.c
@@ -372,7 +372,7 @@ H5F_read_superblock(H5F_t *f, hid_t dxpl_id, H5G_loc_t *root_loc, haddr_t addr,
* fcpl */
if(shared->sohm_addr != HADDR_UNDEF)
{
- unsigned index_flags[H5SM_MAX_NUM_INDEXES];
+ unsigned index_flags[H5SM_MAX_NUM_INDEXES] = {0};
size_t sohm_l2b; /* SOHM list-to-btree cutoff */
size_t sohm_b2l; /* SOHM btree-to-list cutoff */