[ExecutionEngine] Fix a warning
authorKazu Hirata <kazu@google.com>
Tue, 16 Aug 2022 03:33:10 +0000 (20:33 -0700)
committerKazu Hirata <kazu@google.com>
Tue, 16 Aug 2022 03:33:10 +0000 (20:33 -0700)
This patch fixes the warning:

  llvm/lib/ExecutionEngine/JITLink/ELF_i386.cpp:66:11: error: unused
  type alias 'Base' [-Werror,-Wunused-local-typedef]

llvm/lib/ExecutionEngine/JITLink/ELF_i386.cpp

index c6ddd32..456a80e 100644 (file)
@@ -63,8 +63,6 @@ private:
 
   Error addRelocations() override {
     LLVM_DEBUG(dbgs() << "Adding relocations\n");
-    using Base = ELFLinkGraphBuilder<ELFT>;
-
     return Error::success();
   }