diff options
author | Ian Lance Taylor <iant@google.com> | 2014-06-10 00:36:38 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2014-06-10 00:36:38 +0000 |
commit | 0c00dd620f30a059239c878c4fb77120a2b7a7d9 (patch) | |
tree | a415f10b5fa90cae15a7388bf478874520a28559 | |
parent | edcf4304739bab49647a5bcc15c6b0bb30f1f74d (diff) |
runtime: Initialize variable to avoid compiler warning.
git-svn-id: https://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; |