1
1
mirror of https://github.com/wader/fq.git synced 2024-12-25 14:23:18 +03:00

removed unused return type

This commit is contained in:
David McDonald 2022-09-18 01:41:11 -05:00
parent 369f4016c1
commit 3198602d25

View File

@ -87,7 +87,7 @@ func decodeSize(d *decode.D, sms ...scalar.Mapper) uint64 {
return n return n
} }
func decodeItem(d *decode.D, p *plist) any { func decodeItem(d *decode.D, p *plist) {
m := d.FieldU4("type", elementTypeMap) m := d.FieldU4("type", elementTypeMap)
switch m { switch m {
case elementTypeNullOrBoolOrFill: case elementTypeNullOrBoolOrFill:
@ -177,8 +177,6 @@ func decodeItem(d *decode.D, p *plist) any {
default: default:
d.Errorf("unknown type marker: %d", m) d.Errorf("unknown type marker: %d", m)
} }
return nil
} }
func decodeReference(d *decode.D, p *plist, idx uint64) { func decodeReference(d *decode.D, p *plist, idx uint64) {