diff --git a/libgo/runtime/chan.c b/libgo/runtime/chan.c index cd3a2c5d173..2ef78eb3b6f 100644 --- a/libgo/runtime/chan.c +++ b/libgo/runtime/chan.c @@ -481,7 +481,7 @@ _Bool runtime_chanrecv2(ChanType *t, Hchan* c, byte* v) _Bool runtime_chanrecv2(ChanType *t, Hchan* c, byte* v) { - bool received; + bool received = false; chanrecv(t, c, v, true, &received); return received;