Commit 1a4bd38ed6dfb2144715e57f7b308424f0864148

Thomas de Grivel 2024-01-05T15:34:30

silence warning in env_get_struct_type_spec

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/libc3/env.c b/libc3/env.c
index 9896fb2..6266f76 100644
--- a/libc3/env.c
+++ b/libc3/env.c
@@ -855,9 +855,9 @@ const s_list ** env_get_struct_type_spec (s_env *env,
   facts_with_tags(&env->facts, &cursor, &tag_module,
                   &tag_defstruct, &tag_var);
   if (! facts_cursor_next(&cursor)) {
-    warnx("env_get_struct_type_spec: module %s"
+    /*warnx("env_get_struct_type_spec: module %s"
           " does not use defstruct",
-          module->str.ptr.ps8);
+          module->str.ptr.ps8);*/
     facts_cursor_clean(&cursor);
     return NULL;
   }