Fix MSVC C4060 warning (switch statement contains no case or default).
authorRui Ueyama <ruiu@google.com>
Thu, 29 Jan 2015 00:56:24 +0000 (00:56 +0000)
committerRui Ueyama <ruiu@google.com>
Thu, 29 Jan 2015 00:56:24 +0000 (00:56 +0000)
llvm-svn: 227410

lld/lib/ReaderWriter/ELF/ARM/ARMRelocationPass.cpp

index 488e5bb..02863f3 100644 (file)
@@ -51,8 +51,6 @@ template <class Derived> class ARMRelocationPass : public Pass {
     if (ref.kindNamespace() != Reference::KindNamespace::ELF)
       return;
     assert(ref.kindArch() == Reference::KindArch::ARM);
-    switch (ref.kindValue()) {
-    }
   }
 
 protected: