Sfoglia il codice sorgente

Remove unused parameter (#4832)

Post-commit review in #4732
David Blaikie 1 anno fa
parent
commit
d620f3f2da
1 ha cambiato i file con 2 aggiunte e 3 eliminazioni
  1. 2 3
      toolchain/check/import_ref.cpp

+ 2 - 3
toolchain/check/import_ref.cpp

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