summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2019-11-13 17:50:11 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2019-11-13 17:50:11 (GMT)
commitdc0d3a3881567c4813bd9a1ca63471f670d83995 (patch)
treec43d36f7910f037e88674b684a489c804966bb5d /test
parent943e601b1044256c26924b6bcca1b6d3de7b9914 (diff)
downloadhdf5-dc0d3a3881567c4813bd9a1ca63471f670d83995.zip
hdf5-dc0d3a3881567c4813bd9a1ca63471f670d83995.tar.gz
hdf5-dc0d3a3881567c4813bd9a1ca63471f670d83995.tar.bz2
Quiet a warning about an unused variable. This code looks like it
should be heavily restructured to avoid the use of globals like `pass`, but that's a project for another day and another person.
Diffstat (limited to 'test')
-rw-r--r--test/cache_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cache_common.c b/test/cache_common.c
index 24962bc..740523e 100644
--- a/test/cache_common.c
+++ b/test/cache_common.c
@@ -5522,7 +5522,7 @@ col_major_scan_backward(H5F_t * file_ptr,
int mile_stone = 1;
int32_t type;
int32_t idx;
- int32_t local_max_index[NUMBER_OF_ENTRY_TYPES];
+ int32_t local_max_index[NUMBER_OF_ENTRY_TYPES] = {0};
if ( verbose )
HDfprintf(stdout, "%s: entering.\n", FUNC);