From 816002df70d65b79158d45d5c690a4d7e061da03 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 10 Jun 2014 00:36:38 +0000 Subject: [PATCH] runtime: Initialize variable to avoid compiler warning. From-SVN: r211394 --- libgo/runtime/chan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;