diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-06-10 00:36:38 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-06-10 00:36:38 +0000 |
commit | a1032d45752b8ff864201ca3ad0b7e289ec4e904 (patch) | |
tree | a415f10b5fa90cae15a7388bf478874520a28559 | |
parent | b367e79cd503950f1fd987100126b7ad2893861e (diff) | |
download | gcc-a1032d45752b8ff864201ca3ad0b7e289ec4e904.tar.gz |
runtime: Initialize variable to avoid compiler warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211394 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | libgo/runtime/chan.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |