Explicit zero assign to avoid warning (#3082)

GCC 9.3 things that `h2` might reach line 385 uninitialized.
```
./hash.c:385:14: warning: 'h2' may be used uninitialized in this function [-Wmaybe-uninitialized]
  385 |       h = (h + h2) & mask;
      |           ~~~^~~~~
```
This commit is contained in:
Paulo Matos 2020-03-27 18:37:19 +01:00 committed by GitHub
parent 4a2cb6f577
commit 7621ccbb7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -265,7 +265,7 @@ static Scheme_Object *do_hash(Scheme_Hash_Table *table, Scheme_Object *key, int
{
Scheme_Object *tkey, *ekey, **keys;
intptr_t hx, h2x;
hash_v_t h, h2, useme = 0;
hash_v_t h, h2 = 0, useme = 0;
uintptr_t mask;
rehash_key: