From 6a752520886de9acae09081cb89c0300f33d949a Mon Sep 17 00:00:00 2001 From: David Symonds Date: Tue, 5 Mar 2013 11:16:58 +1100 Subject: [PATCH] text/template/parse: remove self-assignment. R=golang-dev, adg CC=golang-dev https://golang.org/cl/7431054 --- src/pkg/text/template/parse/parse.go | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pkg/text/template/parse/parse.go b/src/pkg/text/template/parse/parse.go index c0fb9274a3..03bd22d95c 100644 --- a/src/pkg/text/template/parse/parse.go +++ b/src/pkg/text/template/parse/parse.go @@ -445,7 +445,6 @@ func (t *Tree) parseControl(context string) (pos Pos, line int, pipe *PipeNode, if next.Type() != nodeEnd { t.errorf("expected end; found %s", next) } - elseList = elseList } return pipe.Position(), line, pipe, list, elseList } -- 2.48.1