Skip to content

Commit

Permalink
Remove unused parameter
Browse files Browse the repository at this point in the history
Post-commit review in carbon-language#4732
  • Loading branch information
dwblaikie committed Jan 22, 2025
1 parent 3f4de65 commit 78cb8f2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions toolchain/check/import_ref.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1421,8 +1421,7 @@ static auto TryResolveTypedInst(ImportRefResolver& resolver,
inst_id);
}

static auto TryResolveTypedInst(ImportRefResolver& resolver, SemIR::Vtable inst,
SemIR::InstId /*import_inst_id*/)
static auto TryResolveTypedInst(ImportRefResolver& resolver, SemIR::Vtable inst)
-> ResolveResult {
auto type_const_id = GetLocalConstantId(resolver, inst.type_id);
auto virtual_functions =
Expand Down Expand Up @@ -2743,7 +2742,7 @@ static auto TryResolveInstCanonical(ImportRefResolver& resolver,
return TryResolveTypedInst(resolver, inst);
}
case CARBON_KIND(SemIR::Vtable inst): {
return TryResolveTypedInst(resolver, inst, inst_id);
return TryResolveTypedInst(resolver, inst);
}
default: {
// This instruction might have a constant value of a different kind.
Expand Down

0 comments on commit 78cb8f2

Please sign in to comment.