diff options
author | David Young <dyoung@hdfgroup.org> | 2019-11-13 17:50:11 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:19:37 (GMT) |
commit | 1132ed87bccb3c076c27b3a58bab7d48dfd65888 (patch) | |
tree | 32554f2bef8b6eea633e1795edfcd3f03b6d6a42 /test/cache_common.c | |
parent | 6b80036fdecad893e2931daded31615e34d5e6f9 (diff) | |
download | hdf5-1132ed87bccb3c076c27b3a58bab7d48dfd65888.zip hdf5-1132ed87bccb3c076c27b3a58bab7d48dfd65888.tar.gz hdf5-1132ed87bccb3c076c27b3a58bab7d48dfd65888.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/cache_common.c')
-rw-r--r-- | test/cache_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cache_common.c b/test/cache_common.c index 6da785e..9bb9740 100644 --- a/test/cache_common.c +++ b/test/cache_common.c @@ -5533,7 +5533,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); |