Commit 32d2e31965d3b61a7af2179fc96d3ff367277b06

Thomas de Grivel 2024-08-31T09:17:28

wip tag_init_void

diff --git a/libkc3/configure b/libkc3/configure
index ecf24df..6e1a5ea 100755
--- a/libkc3/configure
+++ b/libkc3/configure
@@ -62,7 +62,7 @@ if ! [ -f ../ucd2c/ucd.c ]; then
 fi
 
 # Address Sanitizer config
-CFLAGS_ASAN="$CFLAGS -DDEBUG -O1 -g"
+CFLAGS_ASAN="$CFLAGS -DDEBUG -O2 -g"
 CFLAGS_ASAN="$CFLAGS_ASAN -fsanitize=address -fno-omit-frame-pointer"
 LDFLAGS_ASAN="$LDFLAGS"
 LIBS_ASAN="$LIBS"
diff --git a/libkc3/env.c b/libkc3/env.c
index fc69143..5a28f02 100644
--- a/libkc3/env.c
+++ b/libkc3/env.c
@@ -1803,7 +1803,7 @@ bool env_eval_struct (s_env *env, const s_struct *s, s_struct *dest)
       if (! tag_to_const_pointer(tmp.type->map.value + i, type, &data))
         goto ko;
     }
-    if (true) {
+    if (false) {
       err_write_1("env_eval_struct: type = ");
       err_inspect_sym(&type);
       err_write_1("\n");