about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-10-25 14:11:27 +0000
committerAndreas Jaeger <aj@suse.de>2000-10-25 14:11:27 +0000
commit3509e9f24660650dc1a1f8f3bf7767c21e9b3123 (patch)
treeaae38a4560dff3f949face40f3e9f6d591cf5925 /elf
parentb05598ef313e7c37c6a8f4cbf15966890f35a8df (diff)
downloadglibc-3509e9f24660650dc1a1f8f3bf7767c21e9b3123.tar.gz
glibc-3509e9f24660650dc1a1f8f3bf7767c21e9b3123.tar.xz
glibc-3509e9f24660650dc1a1f8f3bf7767c21e9b3123.zip
(_dl_map_object_from_fd): Remove unused variable. (_dl_map_object): Likewise.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-load.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/elf/dl-load.c b/elf/dl-load.c
index 80fbf65c6b..ff24463cad 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -774,8 +774,6 @@ _dl_map_object_from_fd (const char *name, int fd, struct filebuf *fbp,
   for (l = _dl_loaded; l; l = l->l_next)
     if (l->l_ino == st.st_ino && l->l_dev == st.st_dev)
       {
-	unsigned int i;
-
 	/* The object is already loaded.
 	   Just bump its reference count and return it.  */
 	__close (fd);
@@ -1457,8 +1455,6 @@ _dl_map_object (struct link_map *loader, const char *name, int preloaded,
   /* Look for this name among those already loaded.  */
   for (l = _dl_loaded; l; l = l->l_next)
     {
-      unsigned int i;
-
       /* If the requested name matches the soname of a loaded object,
 	 use that object.  Elide this check for names that have not
 	 yet been opened.  */