]> Cypherpunks repositories - gostls13.git/commitdiff
gc: brace nit from last review
authorKyle Consalus <consalus@gmail.com>
Thu, 26 Aug 2010 22:46:56 +0000 (18:46 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 26 Aug 2010 22:46:56 +0000 (18:46 -0400)
R=rsc
CC=golang-dev
https://golang.org/cl/1997045

src/cmd/gc/subr.c

index ec0b869fca60e3d500c89b2abe55f0f188c75d31..a84f04e2afd19b43651cf8c1ea0167a36e4ec996 100644 (file)
@@ -477,11 +477,10 @@ algtype(Type *t)
 
        if(issimple[t->etype] || isptr[t->etype] || iscomplex[t->etype] ||
                t->etype == TCHAN || t->etype == TFUNC || t->etype == TMAP) {
-               if (t->width == widthptr) {
+               if(t->width == widthptr)
                        a = AMEMWORD;
-               } else {
+               else
                        a = AMEM;       // just bytes (int, ptr, etc)
-               }
        } else if(t->etype == TSTRING)
                a = ASTRING;    // string
        else if(isnilinter(t))