]> Cypherpunks repositories - gostls13.git/commit
go/cmd, crypto/x509, net/textproto, html/template: fix minor issues with nil values
authorMarat Khabibullin <marat.khabibullin@jetbrains.com>
Fri, 15 Feb 2019 13:22:36 +0000 (13:22 +0000)
committerIan Lance Taylor <iant@golang.org>
Fri, 8 Mar 2019 13:24:07 +0000 (13:24 +0000)
commit3f3d604a7aa2194ac25ce74c686ad6da3a25cb63
tree77a607a54ac9dd6de387c08aa920403f27c627fe
parentd5e0b898a5df047ce010540767bd7bdd7d9a3fae
go/cmd, crypto/x509, net/textproto, html/template: fix minor issues with nil values

Remove redundant checks for nil value, add missing nil checks to prevent tests from failing with 'nil pointer dereference'.

Fixes #30208.

Change-Id: I59091ba4014afcb5300567fd7e73fea43c6bb2ee
GitHub-Last-Rev: 20501470bbb8ad8fd60f6f87b4594ab64fcfdff1
GitHub-Pull-Request: golang/go#30226
Reviewed-on: https://go-review.googlesource.com/c/go/+/162657
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/go/internal/work/exec.go