diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-07-13 14:52:05 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-07-13 14:52:05 (GMT) |
commit | f3da623a4c6cade4d9a16aa66db02da092a6c429 (patch) | |
tree | 366ffce26b6ff1179a94025576529386e3bbb5a1 | |
parent | 9df340e157bc76ded2afbd740ad1db2912d83d96 (diff) |
fixed errors yielded by go vet
-rw-r--r-- | player/player.go | 2 | ||||
-rw-r--r-- | rddb/rddb.go | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/player/player.go b/player/player.go index 337d358..e60b416 100644 --- a/player/player.go +++ b/player/player.go @@ -424,7 +424,7 @@ func (p *Player) createPipeline() (err error) { } p.src.Connect("pad-added", func(_ interface{}, srcpad *gst.Pad) { if ret := srcpad.Link(sinkpad); ret != gst.PAD_LINK_OK { - p.stdlog.Println("player error linking src with conv1 (code: %v)", ret) + p.stdlog.Printf("player error linking src with conv1 (code: %v)", ret) } p.dbglog.Println("player succesfully linked src with conv1") }) diff --git a/rddb/rddb.go b/rddb/rddb.go index 45555f8..e7f1d3a 100644 --- a/rddb/rddb.go +++ b/rddb/rddb.go @@ -641,8 +641,6 @@ func (db *DB) getPoolCartList(pool PoolListEntry) (result getPoolCartListResult) } result.err = rows.Err() return - - return } func (db *DB) updateCutCartTitle(cart, cut uint, groupName, sourceFile string) (result updateCutCartTitleResult) { |