Skip to content

Commit b3d513b

Browse files
committed
[CSDiagnostics] NFC: Remove leftover unused variable
1 parent b17f0b5 commit b3d513b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/Sema/CSDiagnostics.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8202,7 +8202,6 @@ bool UnableToInferClosureReturnType::diagnoseAsError() {
82028202

82038203
bool UnableToInferGenericPackElementType::diagnoseAsError() {
82048204
auto *locator = getLocator();
8205-
auto path = locator->getPath();
82068205

82078206
auto packElementElt = locator->getLastElementAs<LocatorPathElt::PackElement>();
82088207
assert(packElementElt && "Expected path to end with a pack element locator");

0 commit comments

Comments
 (0)