Skip to content

Commit 90dc888

Browse files
authored
Merge pull request swiftlang#38578 from xedin/remove-unused-var-in-code-completion
[TypeChecker] NFC: Remove unused reference to constraint system
2 parents 5feb206 + ab15bef commit 90dc888

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/Sema/TypeCheckCodeCompletion.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1323,7 +1323,6 @@ void KeyPathTypeCheckCompletionCallback::sawSolution(
13231323
assert(ComponentIndex < KeyPath->getComponents().size() &&
13241324
"Didn't find a code compleiton component?");
13251325

1326-
auto &CS = S.getConstraintSystem();
13271326
Type BaseType;
13281327
if (ComponentIndex == 0) {
13291328
// We are completing on the root and need to extract the key path's root

0 commit comments

Comments
 (0)