aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2007-10-10 09:55:49 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2007-10-10 09:55:49 +0000
commit393aec7966aec7f99b26345eee4065b4fe2c488a (patch)
tree68f0a113b096ea3d33805976b2be17e090961178
parent334182900e1a21e7c3dbaad3ebb7b27f87d6a1b9 (diff)
downloadpaludis-393aec7966aec7f99b26345eee4065b4fe2c488a.tar.gz
paludis-393aec7966aec7f99b26345eee4065b4fe2c488a.tar.xz
Kill dead conditional.
-rw-r--r--src/clients/reconcilio/littlelf/elf.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/clients/reconcilio/littlelf/elf.cc b/src/clients/reconcilio/littlelf/elf.cc
index d71f672..a8f152e 100644
--- a/src/clients/reconcilio/littlelf/elf.cc
+++ b/src/clients/reconcilio/littlelf/elf.cc
@@ -122,8 +122,6 @@ ElfObject<ElfType_>::is_valid_elf(std::istream & stream)
StreamExceptions exns(stream, std::ios::eofbit | std::ios::failbit | std::ios::badbit);
stream.seekg(0, std::ios::beg);
- if (stream.fail())
- return false;
std::vector<char> ident(EI_NIDENT,0);
stream.read(&ident.front(), EI_NIDENT);