Actions
Bug #15299
closedhash.c: warning: ‘bin’ may be used uninitialized in this function
Description
When compiling the latest version of trunk, I get some warnings in hash.c, as follows:
compiling hash.c
hash.c: In function ‘linear_update’:
hash.c:849:24: warning: ‘bin’ may be used uninitialized in this function [-Wmaybe-uninitialized]
clear_entry(RHASH_ARRAY_REF(hash, bin));
^
hash.c: In function ‘rb_hash_stlike_update’:
hash.c:849:24: warning: ‘bin’ may be used uninitialized in this function [-Wmaybe-uninitialized]
hash.c:811:14: note: ‘bin’ was declared here
unsigned bin;
^
This warning appeared already when I reported issue #15279, but I didn't mention it because I hoped it would also disappear when #15279 was fixed.
Actions
Like0
Like0Like0Like0Like0