Commit ce048ff9d8debc42c14eb7546ef1dc03fc955773

Thomas de Grivel 2023-02-22T17:54:00

fix compilation on Linux

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/libc3/env.c b/libc3/env.c
index fc8af05..e9b0924 100644
--- a/libc3/env.c
+++ b/libc3/env.c
@@ -207,7 +207,7 @@ bool env_eval_equal_list (s_env *env, const s_list *a, const s_list *b,
 {
   s_list *a_next;
   s_list *b_next;
-  s_list *tmp;
+  s_list *tmp = NULL;
   s_list **t;
   t = &tmp;
   while (1) {