Issue #15299 has been reported by duerst (Martin Drst).

----------------------------------------
Bug #15299: hash.c: warning: °∆bin°« may be used uninitialized in this function
https://bugs.ruby-lang.org/issues/15299

* Author: duerst (Martin Drst)
* Status: Open
* Priority: Normal
* Assignee: nobu (Nobuyoshi Nakada)
* Target version: 
* ruby -v: ruby 2.4.0dev (2016-06-09 trunk 55334) [x86_64-linux]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
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.



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>