]> Cypherpunks repositories - gostls13.git/commit
runtime: don't check _defer against nil twice
authorAinar Garipov <gugl.zadolbal@gmail.com>
Fri, 9 Nov 2018 21:01:14 +0000 (00:01 +0300)
committerIan Lance Taylor <iant@golang.org>
Fri, 9 Nov 2018 23:56:58 +0000 (23:56 +0000)
commit084f2eafcdc55392cf8d32f58b417b9575de001d
treeeb0d63680abe97f9ed96d1e1abddb408fc5f7b67
parentff7b245a31394b700a252fd547cf16ad0ad838b6
runtime: don't check _defer against nil twice

This issue was found by the new vet's nilness check. _defer was already
checked against nil, so don't check it again.

Change-Id: I78725eaec7234b262b3c941e06441ca57f82bdd9
Reviewed-on: https://go-review.googlesource.com/c/148917
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/traceback.go