aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime1.go
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2015-06-09 15:24:38 -0700
committerMatthew Dempsky <mdempsky@google.com>2015-10-23 18:11:17 +0000
commit8ee0fd862357aade3f58cdb41467408105c9e865 (patch)
treecc2f1636b5ade79a3dc62eef64252e1c2dec067d /src/runtime/runtime1.go
parente4feb18fc2aa7618d612e9f4eedb86821240c20b (diff)
downloadgo-8ee0fd862357aade3f58cdb41467408105c9e865.tar.gz
go-8ee0fd862357aade3f58cdb41467408105c9e865.zip
runtime: replace is{plan9,solaris,windows} with GOOS tests
Change-Id: I27589395f547c5837dc7536a0ab5bc7cc23a4ff6 Reviewed-on: https://go-review.googlesource.com/10872 Run-TryBot: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/runtime1.go')
-rw-r--r--src/runtime/runtime1.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/runtime/runtime1.go b/src/runtime/runtime1.go
index 134c999088..e476bca8e5 100644
--- a/src/runtime/runtime1.go
+++ b/src/runtime/runtime1.go
@@ -51,13 +51,6 @@ func args(c int32, v **byte) {
sysargs(c, v)
}
-var (
- // TODO: Retire in favor of GOOS== checks.
- isplan9 int32
- issolaris int32
- iswindows int32
-)
-
func goargs() {
if GOOS == "windows" {
return