]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/8g: fix possibly uninitialized variable in foptoas.
authorRémy Oudompheng <oudomphe@phare.normalesup.org>
Wed, 2 Jan 2013 22:20:52 +0000 (23:20 +0100)
committerRémy Oudompheng <oudomphe@phare.normalesup.org>
Wed, 2 Jan 2013 22:20:52 +0000 (23:20 +0100)
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/7045043

src/cmd/8g/gsubr.c

index 7cd9ad64ada929daa93547732629273b313a4972..b101d14a83f94c11291476915adbbfc228e0e331 100644 (file)
@@ -692,6 +692,7 @@ foptoas(int op, Type *t, int flg)
 {
        int et, a;
 
+       a = AGOK;
        et = simtype[t->etype];
 
        if(use_sse)