runtime: Initialize variable to avoid compiler warning.
From-SVN: r211394
This commit is contained in:
parent
75b7d07330
commit
816002df70
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue