OSDN Git Service

Remove unused variable.
authorEric Christopher <echristo@apple.com>
Wed, 26 Oct 2011 03:47:16 +0000 (03:47 +0000)
committerEric Christopher <echristo@apple.com>
Wed, 26 Oct 2011 03:47:16 +0000 (03:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143011 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Object/MachOObjectFile.cpp

index 9abdc8b..e3a7499 100644 (file)
@@ -793,7 +793,6 @@ error_code MachOObjectFile::getRelocationValueString(DataRefImpl Rel,
   InMemoryStruct<macho::RelocationEntry> RE;
   getRelocation(Rel, RE);
 
-  bool isPCRel = (RE->Word1 >> 25) & 1;
   unsigned Type = (RE->Word1 >> 28) & 0xF;
 
   std::string fmtbuf;