some staticcheck fixes

This commit is contained in:
RSWilli
2023-09-02 00:04:14 +02:00
parent c1392706ff
commit 095e65c800
20 changed files with 70 additions and 67 deletions

View File

@@ -21,11 +21,9 @@ import (
"github.com/go-gst/go-gst/gst"
)
var srcURI string
func playbin(mainLoop *glib.MainLoop) error {
if len(os.Args) < 2 {
return errors.New("Usage: playbin <uri>")
return errors.New("usage: playbin <uri>")
}
gst.Init(nil)