summaryrefslogtreecommitdiffstats
path: root/src/H5SM.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5SM.c')
-rwxr-xr-xsrc/H5SM.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5SM.c b/src/H5SM.c
index f5eba52..a5b527a 100755
--- a/src/H5SM.c
+++ b/src/H5SM.c
@@ -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;