Skip to content

Commit ceed05a

Browse files
committed
Fix warning
1 parent 0e0c2ae commit ceed05a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tool/Sources/Preferences/Types/StorableFont.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public struct StorableFont: Codable {
1313
}
1414

1515
public init(from decoder: Decoder) throws {
16-
var container = try decoder.container(keyedBy: CodingKeys.self)
16+
let container = try decoder.container(keyedBy: CodingKeys.self)
1717
let fontData = try container.decode(Data.self, forKey: .nsFont)
1818
guard let nsFont = try NSKeyedUnarchiver.unarchivedObject(
1919
ofClass: NSFont.self,

0 commit comments

Comments
 (0)