aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/text/template/parse/parse.go
diff options
context:
space:
mode:
authorDavid Symonds <dsymonds@golang.org>2013-03-05 11:16:58 +1100
committerDavid Symonds <dsymonds@golang.org>2013-03-05 11:16:58 +1100
commit6a752520886de9acae09081cb89c0300f33d949a (patch)
tree19ff53bba373416bf73e66c29177d12e05cc508a /src/pkg/text/template/parse/parse.go
parenteeade7452929affd164e5a8396e4d2b086772f7d (diff)
downloadgo-6a752520886de9acae09081cb89c0300f33d949a.tar.xz
text/template/parse: remove self-assignment.
R=golang-dev, adg CC=golang-dev https://golang.org/cl/7431054
Diffstat (limited to 'src/pkg/text/template/parse/parse.go')
-rw-r--r--src/pkg/text/template/parse/parse.go1
1 files changed, 0 insertions, 1 deletions
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
}