From 3198602d2516e1cef16c583a8a878158f3253c3a Mon Sep 17 00:00:00 2001 From: David McDonald Date: Sun, 18 Sep 2022 01:41:11 -0500 Subject: [PATCH] removed unused return type --- format/bplist/bplist.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) {