From: Ian Lance Taylor Date: Tue, 10 Jun 2014 00:36:38 +0000 (+0000) Subject: runtime: Initialize variable to avoid compiler warning. X-Git-Tag: releases/gcc-5.1.0~6996 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=816002df70d65b79158d45d5c690a4d7e061da03;p=thirdparty%2Fgcc.git runtime: Initialize variable to avoid compiler warning. From-SVN: r211394 --- diff --git a/libgo/runtime/chan.c b/libgo/runtime/chan.c index cd3a2c5d173c..2ef78eb3b6fe 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;