Commit 3f3d604a authored by Marat Khabibullin's avatar Marat Khabibullin Committed by Ian Lance Taylor
Browse files

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: default avatarIan Lance Taylor <iant@golang.org>
parent d5e0b898
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment