Commit 3c06cff7 authored by Josh Bleecher Snyder's avatar Josh Bleecher Snyder

cmd/internal/gc: explicitly set zero bool Val

This trivial change is a prerequisite to
converting Val.U to an interface{}.

No functional changes. Passes toolstash -cmp.

Change-Id: I17ff036f68d29a9ed0097a8b23ae1c91e6ce8c21
Reviewed-on: https://go-review.googlesource.com/10058Reviewed-by: default avatarRuss Cox <rsc@golang.org>
parent ba577811
......@@ -348,6 +348,7 @@ func Clearslim(n *Node) {
case TBOOL:
z.Val.Ctype = CTBOOL
z.Val.U.Bval = false
case TINT8,
TINT16,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment