Commit ec7d8a61 authored by David Crawshaw's avatar David Crawshaw

runtime: remove makeStringSlice

Change-Id: I38d716de9d5a9c1b868641262067d0456d52c86d
Reviewed-on: https://go-review.googlesource.com/6612Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
parent f584c05f
......@@ -220,7 +220,7 @@ func goenvs() {
n++
}
}
envs = makeStringSlice(n)
envs = make([]string, n)
for i := range envs {
envs[i] = gostringw(&p[0])
......
......@@ -43,10 +43,6 @@ func tickspersecond() int64 {
return r
}
func makeStringSlice(n int) []string {
return make([]string, n)
}
var envs []string
var argslice []string
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment