Commit 640cfe5f00d03d90d63627606c57509198ee5f6e

Thomas de Grivel 2024-04-23T20:48:50

remove useless check

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/libc3/env.c b/libc3/env.c
index aefd553..61618b2 100644
--- a/libc3/env.c
+++ b/libc3/env.c
@@ -2087,8 +2087,6 @@ bool env_module_maybe_reload (s_env *env, const s_sym *module,
   bool r = false;
   s_tag tag_load_time = {0};
   s_tag tag_mtime;
-  if (env_module_is_loading(env, module))
-    return true;
   module_load_time(module, facts, &tag_load_time);
   if (module_path(module, &env->module_path, C3_EXT, &path)) {
     if (file_access(&path, &g_sym_r))