runtime: Initialize variable to avoid compiler warning.
From-SVN: r211394
This commit is contained in:
parent
75b7d07330
commit
816002df70
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue