diff --git a/format/bplist/bplist.go b/format/bplist/bplist.go index 90a43726..fe1348ed 100644 --- a/format/bplist/bplist.go +++ b/format/bplist/bplist.go @@ -87,7 +87,7 @@ func decodeSize(d *decode.D, sms ...scalar.Mapper) uint64 { return n } -func decodeItem(d *decode.D, p *plist) any { +func decodeItem(d *decode.D, p *plist) { m := d.FieldU4("type", elementTypeMap) switch m { case elementTypeNullOrBoolOrFill: @@ -177,8 +177,6 @@ func decodeItem(d *decode.D, p *plist) any { default: d.Errorf("unknown type marker: %d", m) } - - return nil } func decodeReference(d *decode.D, p *plist, idx uint64) {