Skip to content

Commit

Permalink
runtime: remove useless assignment in test code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ianlancetaylor committed Nov 4, 2016
1 parent d62b313 commit 04d7135
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/runtime/crash_test.go
Expand Up @@ -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
Expand Down

0 comments on commit 04d7135

Please sign in to comment.