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:
2026-02-23 18:07:29 +00:00
parent 2a47181ccf
commit 2b1116d920
2 changed files with 0 additions and 9 deletions

View File

@@ -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)

View File

@@ -10,8 +10,6 @@ import (
var adb string var adb string
const killed = 130
func init() { func init() {
path, err := exec.LookPath("adb") path, err := exec.LookPath("adb")
if err != nil { if err != nil {