aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/runtime/os1_windows.go2
-rw-r--r--src/runtime/runtime.go4
2 files changed, 1 insertions, 5 deletions
diff --git a/src/runtime/os1_windows.go b/src/runtime/os1_windows.go
index 744b1a9072..f91e9d596d 100644
--- a/src/runtime/os1_windows.go
+++ b/src/runtime/os1_windows.go
@@ -220,7 +220,7 @@ func goenvs() {
n++
}
}
- envs = makeStringSlice(n)
+ envs = make([]string, n)
for i := range envs {
envs[i] = gostringw(&p[0])
diff --git a/src/runtime/runtime.go b/src/runtime/runtime.go
index 0f660038fb..6d32de2a4f 100644
--- a/src/runtime/runtime.go
+++ b/src/runtime/runtime.go
@@ -43,10 +43,6 @@ func tickspersecond() int64 {
return r
}
-func makeStringSlice(n int) []string {
- return make([]string, n)
-}
-
var envs []string
var argslice []string