runtime: Initialize variable to avoid compiler warning.

From-SVN: r211394
This commit is contained in:
Ian Lance Taylor 2014-06-10 00:36:38 +00:00
parent 75b7d07330
commit 816002df70
1 changed files with 1 additions and 1 deletions

View File

@ -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;