Skip to content

Commit 521a8a5

Browse files
committed
remove unused nextArgIdx operation
1 parent 14c6155 commit 521a8a5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/Sema/CSSimplify.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -539,12 +539,10 @@ matchCallArguments(SmallVectorImpl<AnyFunctionType::Param> &args,
539539
// If we found a parameter to fulfill, do it.
540540
if (bestScore > 0) {
541541
// Bind this parameter to the argument.
542-
nextArgIdx = argIdx;
543542
paramIdx = unfulfilledNamedParams[best];
544543
auto paramLabel = params[paramIdx].getLabel();
545544

546545
parameterBindings[paramIdx].push_back(claim(paramLabel, argIdx));
547-
skipClaimedArgs();
548546

549547
// Erase this parameter from the list of unfulfilled named
550548
// parameters, so we don't try to fulfill it again.

0 commit comments

Comments
 (0)