diff options
| author | Daniel Martí <mvdan@mvdan.cc> | 2017-09-06 21:59:00 +0200 |
|---|---|---|
| committer | Daniel Martí <mvdan@mvdan.cc> | 2017-09-07 08:26:27 +0000 |
| commit | 38ad33088c3bee63e8d53e7aff4d6610d82ca84c (patch) | |
| tree | db8011a878cb56c8551f51da8447c0af4f05161a /src/text/template/parse | |
| parent | ec0e2edd3b8e92ca003416a4cdbd9b7345d9d38f (diff) | |
| download | go-38ad33088c3bee63e8d53e7aff4d6610d82ca84c.tar.xz | |
cmd/vet: remove two unused parameters and simplify
The isStar and directory function parameters have been unused ever since
they were introduced. Remove them.
While at it, apply some other minor simplifications, such as simplifying
a HasPrefix if and using an early continue to unindent many lines of
code.
Change-Id: I8d57353e9ec10cdb59c5388cf6152ce0ec17bdba
Reviewed-on: https://go-review.googlesource.com/62030
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Marvin Stenger <marvin.stenger94@gmail.com>
Diffstat (limited to 'src/text/template/parse')
0 files changed, 0 insertions, 0 deletions
