Skip to content

Commit 496d36c

Browse files
committed
Remove redundant variable
1 parent 8b66984 commit 496d36c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Modules/Sources/Yosemite/Model/Storage/Order+ReadOnlyConvertible.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ extension Storage.Order: ReadOnlyConvertible {
8282
let orderCustomFields = customFields?.map { $0.toReadOnly() } ?? [Yosemite.MetaData]()
8383
let orderGiftCards = appliedGiftCards?.map { $0.toReadOnly() } ?? [Yosemite.OrderGiftCard]()
8484
let orderShippingLabels = shippingLabels?.map { $0.toReadOnly() } ?? [Yosemite.ShippingLabel]()
85-
let orderShipments = shipments?.map { $0.toReadOnly() } ?? [Yosemite.WooShippingShipment]()
8685

8786
return Order(siteID: siteID,
8887
orderID: orderID,

0 commit comments

Comments
 (0)