Fix ObjectFileELF to not use the file_offset twice.

llvm-svn: 182061
This commit is contained in:
Filipe Cabecinhas 2013-05-16 23:29:36 +00:00
parent e8be51d7d7
commit 22b40f7b0b
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ ObjectFileELF::SectionIndex(const SectionHeaderCollConstIter &I) const
bool
ObjectFileELF::ParseHeader()
{
lldb::offset_t offset = GetFileOffset();
lldb::offset_t offset = 0;
return m_header.Parse(m_data, &offset);
}