Skip to content

Commit de2c9c6

Browse files
[gardening] Remove unused argument otherArg.
Added in commit 49b833b.
1 parent f39a51d commit de2c9c6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/Sema/CSGen.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,6 @@ namespace {
506506
Type paramTy,
507507
Expr *arg,
508508
Type argTy,
509-
Expr *otherArg = nullptr,
510509
Type otherArgTy = Type()) {
511510
// Determine the argument type.
512511
argTy = argTy->getLValueOrInOutObjectType();
@@ -925,9 +924,9 @@ namespace {
925924

926925
return
927926
(isFavoredParamAndArg(CS, firstParamTy, firstArg, firstArgTy,
928-
secondArg, secondArgTy) ||
927+
secondArgTy) ||
929928
isFavoredParamAndArg(CS, secondParamTy, secondArg, secondArgTy,
930-
firstArg, firstArgTy)) &&
929+
firstArgTy)) &&
931930
firstParamTy->isEqual(secondParamTy) &&
932931
(!contextualTy || contextualTy->isEqual(resultTy));
933932
};

0 commit comments

Comments
 (0)