mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 01:45:36 +00:00
cmd/gogio: fix a couple of staticcheck positives
Spotted the javac one by chance when reading the code, so I ran the tool and fixed another small bug while at it. Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ type buildInfo struct {
|
||||
|
||||
func main() {
|
||||
flag.Usage = func() {
|
||||
fmt.Fprintf(os.Stderr, mainUsage)
|
||||
fmt.Fprint(os.Stderr, mainUsage)
|
||||
}
|
||||
flag.Parse()
|
||||
if err := mainErr(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user