From 04d71354eb54b62e9fc520a2fbff8dd76a5782d0 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 4 Nov 2016 06:43:48 -0700 Subject: [PATCH] runtime: remove useless assignment in test code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I5fecdf52e9e3035ea8feb5768985ed5200dbd6af Reviewed-on: https://go-review.googlesource.com/32752 Run-TryBot: Ian Lance Taylor TryBot-Result: Gobot Gobot Reviewed-by: Martin Möhrmann --- src/runtime/crash_test.go | 1 - 1 file changed, 1 deletion(-) 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