diff options
| author | Tim Cooper <tim.cooper@layeh.com> | 2018-09-27 16:55:24 -0500 |
|---|---|---|
| committer | Daniel Martà <mvdan@mvdan.cc> | 2018-10-06 12:11:53 +0000 |
| commit | 8aee193fb8b61d474a7e3e6d43625f4e746c5b65 (patch) | |
| tree | 3c15c3f8811e47bee329940a8ea434f91510943f /src/cmd | |
| parent | 963776e689c4c015c89464ab4fef90ae50373f66 (diff) | |
| download | go-8aee193fb8b61d474a7e3e6d43625f4e746c5b65.tar.xz | |
all: remove unneeded parentheses from package consts and vars
Change-Id: Ic7fce53c6264107c15b127d9c9ca0bec11a888ff
Reviewed-on: https://go-review.googlesource.com/c/138183
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/cmd')
| -rw-r--r-- | src/cmd/internal/obj/x86/asm6.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/internal/obj/x86/asm6.go b/src/cmd/internal/obj/x86/asm6.go index d3389e4f15..23ff7f32af 100644 --- a/src/cmd/internal/obj/x86/asm6.go +++ b/src/cmd/internal/obj/x86/asm6.go @@ -2288,7 +2288,7 @@ func instinit(ctxt *obj.Link) { } } -var isAndroid = (objabi.GOOS == "android") +var isAndroid = objabi.GOOS == "android" func prefixof(ctxt *obj.Link, a *obj.Addr) int { if a.Reg < REG_CS && a.Index < REG_CS { // fast path |
