summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c
index 000c48ddd5..ec6924ad2f 100644
--- a/variable.c
+++ b/variable.c
@@ -2128,7 +2128,7 @@ autoload_reset(VALUE arg)
/* wakeup any waiters we had */
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) {
VALUE th = cur->thread;