Commit 2612bc88f4882e8dcb613d5ae622966805718bc5

Thomas de Grivel 2023-10-18T23:26:18

warn less

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/libc3/env.c b/libc3/env.c
index 89a2a81..ec8d1e9 100644
--- a/libc3/env.c
+++ b/libc3/env.c
@@ -825,9 +825,10 @@ bool env_operator_find (s_env *env, const s_ident *op, u8 arity)
     facts_with_cursor_clean(&cursor);
     return true;
   }
-  warnx("operator %s not found in module %s",
-        tmp.sym->str.ptr.ps8,
-        tmp.module->str.ptr.ps8);
+  if (false)
+    warnx("operator %s not found in module %s",
+          tmp.sym->str.ptr.ps8,
+          tmp.module->str.ptr.ps8);
   facts_with_cursor_clean(&cursor);
   return false;
 }