diff options
| author | Daniel Martà <mvdan@mvdan.cc> | 2017-04-19 20:38:10 +0100 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2017-04-19 20:03:51 +0000 |
| commit | ff7994ac1030525be5229a9f665d01ed50cd945e (patch) | |
| tree | 4c326751a7ec56d3473e0f690c822aca87919bf6 /src/text/template/parse/parse.go | |
| parent | 78510bd17c35932cd45f1433adb21aeaa0587767 (diff) | |
| download | go-ff7994ac1030525be5229a9f665d01ed50cd945e.tar.xz | |
all: remove redundant returns
Returns at the end of func bodies where the funcs have no return values
are pointless.
Change-Id: I0da5ea78671503e41a9f56dd770df8c919310ce5
Reviewed-on: https://go-review.googlesource.com/41093
Run-TryBot: Daniel Martà <mvdan@mvdan.cc>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/text/template/parse/parse.go')
| -rw-r--r-- | src/text/template/parse/parse.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/text/template/parse/parse.go b/src/text/template/parse/parse.go index 6060c6d74b..a91a544ce0 100644 --- a/src/text/template/parse/parse.go +++ b/src/text/template/parse/parse.go @@ -202,7 +202,6 @@ func (t *Tree) recover(errp *error) { } *errp = e.(error) } - return } // startParse initializes the parser, using the lexer. |
