From 70a0f0997912fa6fd16cfe3682813d3ed1c444f3 Mon Sep 17 00:00:00 2001 From: Kazuho Okui Date: Wed, 7 Jul 2021 12:15:09 -0400 Subject: [PATCH] Update to Xcode 12.5 --- SwiftSVG/NSBezierPath+CrossPlatform.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SwiftSVG/NSBezierPath+CrossPlatform.swift b/SwiftSVG/NSBezierPath+CrossPlatform.swift index 2a37819..f62ce94 100644 --- a/SwiftSVG/NSBezierPath+CrossPlatform.swift +++ b/SwiftSVG/NSBezierPath+CrossPlatform.swift @@ -48,6 +48,8 @@ public extension NSBezierPath { path.addCurve(to: points[2], control1: points[0], control2: points[1]) case .closePath: path.closeSubpath() + @unknown default: + fatalError() } } return path