From dc0d3a3881567c4813bd9a1ca63471f670d83995 Mon Sep 17 00:00:00 2001 From: David Young Date: Wed, 13 Nov 2019 11:50:11 -0600 Subject: 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. --- test/cache_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v0.12