aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorMarek Polacek <mpolacek@redhat.com>2011-07-19 20:17:51 -0400
committerUlrich Drepper <drepper@gmail.com>2011-07-19 20:17:51 -0400
commit8991e135f7cc0f9e9c11860e570516f5d5b581dc (patch)
tree9f29aa449d6de43f393ffe98934e371f2476cbe8 /elf
parentb902330ca8abb08c2114aa9636c77ac0553257f9 (diff)
downloadglibc-8991e135f7cc0f9e9c11860e570516f5d5b581dc.tar
glibc-8991e135f7cc0f9e9c11860e570516f5d5b581dc.tar.gz
glibc-8991e135f7cc0f9e9c11860e570516f5d5b581dc.tar.bz2
glibc-8991e135f7cc0f9e9c11860e570516f5d5b581dc.zip
elf/cache.c: Remove unnecessary condition
Diffstat (limited to 'elf')
-rw-r--r--elf/cache.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/elf/cache.c b/elf/cache.c
index 09885930d7..393b4e5939 100644
--- a/elf/cache.c
+++ b/elf/cache.c
@@ -675,7 +675,6 @@ load_aux_cache (const char *aux_cache_name)
if (aux_cache == MAP_FAILED
|| aux_cache_size < sizeof (struct aux_cache_file)
|| memcmp (aux_cache->magic, AUX_CACHEMAGIC, sizeof AUX_CACHEMAGIC - 1)
- || aux_cache->nlibs < 0
|| aux_cache->nlibs >= aux_cache_size)
{
close (fd);