diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2013-07-05 15:58:12 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2013-07-05 15:58:12 +0000 |
commit | 751447a3acf53309fbaa3a1a9d20757d4c0cc6c6 (patch) | |
tree | 664f0e447023b2ea7df08f8f9dae693d85cdda25 /llvm/lib/Object/Archive.cpp | |
parent | f5d46005b654ddb8a7f4de465c364df33ba76be1 (diff) | |
download | bcm5719-llvm-751447a3acf53309fbaa3a1a9d20757d4c0cc6c6.tar.gz bcm5719-llvm-751447a3acf53309fbaa3a1a9d20757d4c0cc6c6.zip |
Remove a useless declarations (found by scan-build)
llvm-svn: 185709
Diffstat (limited to 'llvm/lib/Object/Archive.cpp')
-rw-r--r-- | llvm/lib/Object/Archive.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Object/Archive.cpp b/llvm/lib/Object/Archive.cpp index 27676cf454a..1b6386f0be3 100644 --- a/llvm/lib/Object/Archive.cpp +++ b/llvm/lib/Object/Archive.cpp @@ -294,7 +294,6 @@ Archive::symbol_iterator Archive::end_symbols() const { uint32_t symbol_count = 0; if (kind() == K_GNU) { symbol_count = *reinterpret_cast<const support::ubig32_t*>(buf); - buf += sizeof(uint32_t) + (symbol_count * (sizeof(uint32_t))); } else if (kind() == K_BSD) { llvm_unreachable("BSD archive format is not supported"); } else { |