aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/crash_test.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2016-11-04 06:43:48 -0700
committerIan Lance Taylor <iant@golang.org>2016-11-04 14:09:52 +0000
commit04d71354eb54b62e9fc520a2fbff8dd76a5782d0 (patch)
treeff398a9ae7124845efac830ea95613a7fc33a8fa /src/runtime/crash_test.go
parentd62b31386338364b3f319337ca0a1e511c6f23f7 (diff)
downloadgo-04d71354eb54b62e9fc520a2fbff8dd76a5782d0.tar.gz
go-04d71354eb54b62e9fc520a2fbff8dd76a5782d0.zip
runtime: remove useless assignment in test code
Change-Id: I5fecdf52e9e3035ea8feb5768985ed5200dbd6af Reviewed-on: https://go-review.googlesource.com/32752 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Martin Möhrmann <martisch@uos.de>
Diffstat (limited to 'src/runtime/crash_test.go')
-rw-r--r--src/runtime/crash_test.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/runtime/crash_test.go b/src/runtime/crash_test.go
index e352540ac2..1db0461242 100644
--- a/src/runtime/crash_test.go
+++ b/src/runtime/crash_test.go
@@ -141,7 +141,6 @@ func buildTestProg(t *testing.T, binary string, flags ...string) (string, error)
cmd.Dir = "testdata/" + binary
out, err := testEnv(cmd).CombinedOutput()
if err != nil {
- exe = ""
target.err = fmt.Errorf("building %s %v: %v\n%s", binary, flags, err, out)
testprog.target[name] = target
return "", target.err