Commit 816002df by Ian Lance Taylor

runtime: Initialize variable to avoid compiler warning.

From-SVN: r211394
parent 75b7d073
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment