mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Get rid of a nasal demon
On platforms not having `typeof`, `ccan_container_off_var()` macro subtracts the pointer variable from the member address pointed by that variable.
This commit is contained in:
parent
744d17ff6c
commit
2361a1a53e
1 changed files with 1 additions and 1 deletions
|
@ -2620,7 +2620,7 @@ autoload_apply_constants(VALUE _arguments)
|
|||
|
||||
struct autoload_load_arguments *arguments = (struct autoload_load_arguments*)_arguments;
|
||||
|
||||
struct autoload_const *autoload_const;
|
||||
struct autoload_const *autoload_const = 0; // for ccan_container_off_var()
|
||||
struct autoload_const *next;
|
||||
|
||||
// We use safe iteration here because `autoload_const_set` will eventually invoke
|
||||
|
|
Loading…
Add table
Reference in a new issue