Remove unused return value from PopValueInto.

This commit is contained in:
Alec Thomas
2019-06-21 10:07:24 +10:00
parent 9d0bd59611
commit 1076f5ee1f
4 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ type mappedValue struct {
}
func (m *mappedValue) Decode(ctx *kong.DecodeContext) error {
_, err := ctx.Scan.PopValueInto("mapped", &m.decoded)
err := ctx.Scan.PopValueInto("mapped", &m.decoded)
return err
}