summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--coroutine-ucontext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coroutine-ucontext.c b/coroutine-ucontext.c
index 41c2379a2a..42dc3e2cf6 100644
--- a/coroutine-ucontext.c
+++ b/coroutine-ucontext.c
@@ -133,7 +133,7 @@ static Coroutine *coroutine_new(void)
     CoroutineUContext *co;
     ucontext_t old_uc, uc;
     jmp_buf old_env;
-    union cc_arg arg;
+    union cc_arg arg = {0};
 
     /* The ucontext functions preserve signal masks which incurs a system call
      * overhead.  setjmp()/longjmp() does not preserve signal masks but only