aboutsummaryrefslogtreecommitdiff
path: root/coroutine-ucontext.c
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2011-08-08 13:46:51 +0400
committermalc <av1474@comtv.ru>2011-08-08 13:46:51 +0400
commit32b746775d828b016cd19ef99fcd9bf1d085c7bc (patch)
tree5a9df1590cb9647d56534e378062d62e23edc0b1 /coroutine-ucontext.c
parent9f058c19fcf53c77af15894937ccb380381649c3 (diff)
Unbreak the build on ppc32
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'coroutine-ucontext.c')
-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