]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: remove useless assignment in test code
authorIan Lance Taylor <iant@golang.org>
Fri, 4 Nov 2016 13:43:48 +0000 (06:43 -0700)
committerIan Lance Taylor <iant@golang.org>
Fri, 4 Nov 2016 14:09:52 +0000 (14:09 +0000)
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>
src/runtime/crash_test.go

index e352540ac228776f498ac292d944e955f15fb7dc..1db0461242359cdcb2ecb501acbe02b834755330 100644 (file)
@@ -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