all: fix staticcheck warnings (#589)

Co-authored-by: Filippo Valsorda <github@bip.filippo.io>
This commit is contained in:
Alexander Yastrebov
2024-12-18 15:55:57 +01:00
committed by GitHub
parent 176e245b3c
commit cda3988cc7
4 changed files with 3 additions and 6 deletions

View File

@@ -9,7 +9,6 @@ package plugin
import (
"bufio"
"bytes"
"fmt"
"io"
"math/rand"
@@ -382,7 +381,6 @@ type clientConnection struct {
cmd *exec.Cmd
io.Reader // stdout
io.Writer // stdin
stderr bytes.Buffer
close func()
}