From 3c06cff7d1d7382b74ab39bd3bf0e46264ac845d Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Thu, 14 May 2015 17:32:07 -0700 Subject: [PATCH] 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/10058 Reviewed-by: Russ Cox --- src/cmd/internal/gc/gen.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cmd/internal/gc/gen.go b/src/cmd/internal/gc/gen.go index fcb2499d3ba560..8f6a43c12140de 100644 --- a/src/cmd/internal/gc/gen.go +++ b/src/cmd/internal/gc/gen.go @@ -348,6 +348,7 @@ func Clearslim(n *Node) { case TBOOL: z.Val.Ctype = CTBOOL + z.Val.U.Bval = false case TINT8, TINT16,