summaryrefslogtreecommitdiffstats
path: root/test/titerate.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/titerate.c')
-rw-r--r--test/titerate.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/titerate.c b/test/titerate.c
index 751f090..5e56001 100644
--- a/test/titerate.c
+++ b/test/titerate.c
@@ -425,7 +425,7 @@ static void test_iter_group_large(void)
hsize_t dims[] = {SPACE1_DIM1};
herr_t ret; /* Generic return value */
char gname[20]; /* Temporary group name */
- iter_info names[NGROUPS+2]={0}; /* Names of objects in the root group */
+ iter_info names[NGROUPS+2]; /* Names of objects in the root group */
iter_info *curr_name; /* Pointer to the current name in the root group */
int i;
@@ -436,6 +436,8 @@ static void test_iter_group_large(void)
float c;
} s1_t;
+ memset(names, 0, sizeof names);
+
/* Output message about test being performed */
MESSAGE(5, ("Testing Large Group Iteration Functionality\n"));