variable.c: suppress a warning
* variable.c (autoload_reset): initialize formally to suppress a warning from container_off_var() by Visual C. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b381e3caee
commit
c8803b10d1
@ -2128,7 +2128,7 @@ autoload_reset(VALUE arg)
|
|||||||
|
|
||||||
/* wakeup any waiters we had */
|
/* wakeup any waiters we had */
|
||||||
if (need_wakeups) {
|
if (need_wakeups) {
|
||||||
struct autoload_state *cur, *nxt;
|
struct autoload_state *cur = 0, *nxt;
|
||||||
|
|
||||||
list_for_each_safe(&state->waitq.head, cur, nxt, waitq.node) {
|
list_for_each_safe(&state->waitq.head, cur, nxt, waitq.node) {
|
||||||
VALUE th = cur->thread;
|
VALUE th = cur->thread;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user