[llvm-commits] [llvm] r154661 - /llvm/trunk/lib/Object/MachOObjectFile.cpp
Benjamin Kramer
benny.kra at googlemail.com
Fri Apr 13 01:09:12 PDT 2012
Author: d0k
Date: Fri Apr 13 03:09:12 2012
New Revision: 154661
URL: http://llvm.org/viewvc/llvm-project?rev=154661&view=rev
Log:
Remove unused variable.
Modified:
llvm/trunk/lib/Object/MachOObjectFile.cpp
Modified: llvm/trunk/lib/Object/MachOObjectFile.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Object/MachOObjectFile.cpp?rev=154661&r1=154660&r2=154661&view=diff
==============================================================================
--- llvm/trunk/lib/Object/MachOObjectFile.cpp (original)
+++ llvm/trunk/lib/Object/MachOObjectFile.cpp Fri Apr 13 03:09:12 2012
@@ -275,19 +275,16 @@
uint32_t &Result) const {
uint16_t MachOFlags;
uint8_t MachOType;
- uint8_t MachOSectionIndex;
if (MachOObj->is64Bit()) {
InMemoryStruct<macho::Symbol64TableEntry> Entry;
getSymbol64TableEntry(DRI, Entry);
MachOFlags = Entry->Flags;
MachOType = Entry->Type;
- MachOSectionIndex = Entry->SectionIndex;
} else {
InMemoryStruct<macho::SymbolTableEntry> Entry;
getSymbolTableEntry(DRI, Entry);
MachOFlags = Entry->Flags;
MachOType = Entry->Type;
- MachOSectionIndex = Entry->SectionIndex;
}
// TODO: Correctly set SF_ThreadLocal
More information about the llvm-commits
mailing list