From 93402f1b01620a9fcb369e0955ab984c237b742a Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 7 Dec 1999 16:47:21 +0000 Subject: 19991208 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_4@580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'eval.c') diff --git a/eval.c b/eval.c index 1f00dff714..93b94acf7a 100644 --- a/eval.c +++ b/eval.c @@ -7333,10 +7333,10 @@ static int rb_thread_loading(feature) const char *feature; { + if (!loading_tbl) { + loading_tbl = st_init_strtable(); + } if (!rb_provided(feature)) { - if (!loading_tbl) { - loading_tbl = st_init_strtable(); - } st_insert(loading_tbl, feature, 0); return Qfalse; /* need to load */ } -- cgit v1.2.3