summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorR?my Oudompheng <oudomphe@phare.normalesup.org>2013-01-02 23:20:52 +0100
committerR?my Oudompheng <oudomphe@phare.normalesup.org>2013-01-02 23:20:52 +0100
commit41affb5277af5e306ac8e66d783ed8ee876c5f03 (patch)
tree4858ea6460d94614e62f9ac6442d08034ffa4b8a
parentacc8d0592cd909df73a2b9a4ffd8bb62a39b7ef6 (diff)
downloadgo-41affb5277af5e306ac8e66d783ed8ee876c5f03.tar.gz
cmd/8g: fix possibly uninitialized variable in foptoas.
R=golang-dev, rsc CC=golang-dev https://codereview.appspot.com/7045043
-rw-r--r--src/cmd/8g/gsubr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/8g/gsubr.c b/src/cmd/8g/gsubr.c
index 7cd9ad64a..b101d14a8 100644
--- a/src/cmd/8g/gsubr.c
+++ b/src/cmd/8g/gsubr.c
@@ -692,6 +692,7 @@ foptoas(int op, Type *t, int flg)
{
int et, a;
+ a = AGOK;
et = simtype[t->etype];
if(use_sse)