From: David Symonds Date: Tue, 5 Mar 2013 00:16:58 +0000 (+1100) Subject: text/template/parse: remove self-assignment. X-Git-Tag: go1.1rc2~690 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=6a752520886de9acae09081cb89c0300f33d949a;p=gostls13.git text/template/parse: remove self-assignment. R=golang-dev, adg CC=golang-dev https://golang.org/cl/7431054 --- 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 }