From a1032d45752b8ff864201ca3ad0b7e289ec4e904 Mon Sep 17 00:00:00 2001 From: ian Date: Tue, 10 Jun 2014 00:36:38 +0000 Subject: [PATCH] runtime: Initialize variable to avoid compiler warning. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211394 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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; -- 2.11.4.GIT