diff options
-rw-r--r-- | lib/libthread_db/libpthread_db.c | 2 | ||||
-rw-r--r-- | lib/libthread_db/libthr_db.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/lib/libthread_db/libpthread_db.c b/lib/libthread_db/libpthread_db.c index 4d08545..7f858e7 100644 --- a/lib/libthread_db/libpthread_db.c +++ b/lib/libthread_db/libpthread_db.c @@ -946,7 +946,7 @@ pt_thr_tls_get_addr(const td_thrhandle_t *th, void *_linkmap, size_t offset, { char *obj_entry; const td_thragent_t *ta = th->th_ta; - psaddr_t tcb_addr, *dtv_addr, tcb_tp; + psaddr_t tcb_addr, *dtv_addr; int tls_index, ret; /* linkmap is a member of Obj_Entry */ diff --git a/lib/libthread_db/libthr_db.c b/lib/libthread_db/libthr_db.c index d97ca5d..0bfa020 100644 --- a/lib/libthread_db/libthr_db.c +++ b/lib/libthread_db/libthr_db.c @@ -200,7 +200,6 @@ pt_ta_delete(td_thragent_t *ta) static td_err_e pt_ta_map_id2thr(const td_thragent_t *ta, thread_t id, td_thrhandle_t *th) { - prgregset_t gregs; TAILQ_HEAD(, pthread) thread_list; psaddr_t pt; long lwp; @@ -681,7 +680,7 @@ pt_thr_tls_get_addr(const td_thrhandle_t *th, void *_linkmap, size_t offset, { char *obj_entry; const td_thragent_t *ta = th->th_ta; - psaddr_t tcb_addr, *dtv_addr, tcb_tp; + psaddr_t tcb_addr, *dtv_addr; int tls_index, ret; /* linkmap is a member of Obj_Entry */ |