1
0
mirror of https://github.com/golang/go synced 2024-11-18 15:14:44 -07:00
go/cmd/present
Daniel Martí 90b807ada4 all: fix a few issues found by unparam
In cmd/present, a mode was being passed to the function parse, but it
wasn't actually being used. Use it.

In go/ssa, checkFinalInstr received an idx integer but it doesn't
actually need it. Get rid of it.

Lastly, in imports, findImportStdlib always returned rename==false. Get
rid of that result parameter.

Change-Id: I719006b69ee80a3ef4b0ea24c1c206016a7e304b
Reviewed-on: https://go-review.googlesource.com/93596
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2018-02-13 22:52:51 +00:00
..
static present: Scale down slides on smaller displays 2017-08-31 21:56:44 +00:00
templates present: Set the background using CSS 2017-07-17 00:28:30 +00:00
appengine.go cmd/present: move critical _ import to another file 2015-09-17 03:09:26 +00:00
dir.go all: fix a few issues found by unparam 2018-02-13 22:52:51 +00:00
doc.go x/tools/present: add presenter notes documentation 2016-06-01 21:14:44 +00:00
local.go x/tools/present: add command line flag to enable presenter notes 2016-04-07 00:38:29 +00:00
play_http.go cmd/present: move critical _ import to another file 2015-09-17 03:09:26 +00:00
play_socket.go playground: recognize managed vm's as being "on app engine" 2015-09-17 02:42:04 +00:00
play.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00