summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c6
1 files changed, 3 insertions, 3 deletions
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 */
}