mirror of
https://github.com/taigrr/adb.git
synced 2026-04-01 18:48:42 -07:00
refactor: remove unused const and var to pass staticcheck
- Remove unused 'killed' const in util.go - Remove unused 'command' var in examples/injection/main.go
This commit is contained in:
@@ -7,13 +7,6 @@ import (
|
|||||||
"github.com/taigrr/adb"
|
"github.com/taigrr/adb"
|
||||||
)
|
)
|
||||||
|
|
||||||
var command string
|
|
||||||
|
|
||||||
func init() {
|
|
||||||
// TODO allow for any input to be used as the command
|
|
||||||
command = "ls"
|
|
||||||
}
|
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
ctx := context.TODO()
|
ctx := context.TODO()
|
||||||
devs, err := adb.Devices(ctx)
|
devs, err := adb.Devices(ctx)
|
||||||
|
|||||||
Reference in New Issue
Block a user