Commit 6a752520 authored by David Symonds's avatar David Symonds

text/template/parse: remove self-assignment.

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/7431054
parent eeade745
...@@ -445,7 +445,6 @@ func (t *Tree) parseControl(context string) (pos Pos, line int, pipe *PipeNode, ...@@ -445,7 +445,6 @@ func (t *Tree) parseControl(context string) (pos Pos, line int, pipe *PipeNode,
if next.Type() != nodeEnd { if next.Type() != nodeEnd {
t.errorf("expected end; found %s", next) t.errorf("expected end; found %s", next)
} }
elseList = elseList
} }
return pipe.Position(), line, pipe, list, elseList return pipe.Position(), line, pipe, list, elseList
} }
......
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