summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-29 09:12:16 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-29 09:12:16 +0000
commit6dd2cdf4036aa0426cbf0a2066a2435fe18927db (patch)
tree5105552c24d9a46ff2851d0fc8b4b3b52d7c2395
parent32c34efba5ed5777c435325b5f2573eaf5f6871f (diff)
Bernhard Fischer writes: remove unused variable name
-rw-r--r--ldso/libdl/libdl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c
index 5c542e8ad..85447a147 100644
--- a/ldso/libdl/libdl.c
+++ b/ldso/libdl/libdl.c
@@ -233,11 +233,8 @@ void *dlopen(const char *libname, int flag)
runp->tpnt->init_fini = NULL; /* clear any previous dependcies */
for (dpnt = (ElfW(Dyn) *) runp->tpnt->dynamic_addr; dpnt->d_tag; dpnt++) {
if (dpnt->d_tag == DT_NEEDED) {
- char *name;
-
lpntstr = (char*) (runp->tpnt->dynamic_info[DT_STRTAB] +
dpnt->d_un.d_val);
- name = _dl_get_last_path_component(lpntstr);
_dl_if_debug_print("Trying to load '%s', needed by '%s'\n",
lpntstr, runp->tpnt->libname);
tpnt1 = _dl_load_shared_library(0, &rpnt, runp->tpnt, lpntstr, 0);