diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-05-19 05:37:00 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-05-19 05:37:00 (GMT) |
commit | 3c394783e764e0b57b18c9338528e04ff2800526 (patch) | |
tree | cf68cee3862a92af0320d44cc96a41c9b21cd0f2 /src/H5SM.c | |
parent | 52d71bcd6f19c7b0adb6544f4c79df94eb1135e4 (diff) | |
download | hdf5-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/H5SM.c')
-rwxr-xr-x | src/H5SM.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1851,6 +1851,10 @@ H5SM_get_info(const H5O_loc_t *ext_loc, H5P_genplist_t *fc_plist, hid_t dxpl_id) unsigned sohm_b2l; /* SOHM btree-to-list cutoff */ unsigned u; /* Local index variable */ + /* Portably initialize the arrays */ + HDmemset(index_flags, 0, sizeof(index_flags)); + HDmemset(minsizes, 0, sizeof(minsizes)); + /* Set SOHM info from file */ shared->sohm_addr = sohm_table.addr; shared->sohm_vers = sohm_table.version; |