From 9128a5038636399af323891c0ab2d3931f24e33f Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Wed, 5 May 2010 20:50:24 +0000 Subject: [PATCH] 2010-05-05 Michael Snyder * dcache.c (dcache_init): Delete unused variable. (dcache_info): Delete unused variable. --- gdb/ChangeLog | 5 ++++- gdb/dcache.c | 3 +-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a21a9f96f96..0b7246ebc43 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,7 +1,10 @@ 2010-05-05 Michael Snyder + * dcache.c (dcache_init): Delete unused variable. + (dcache_info): Delete unused variable. + * remote.c (remote_threads_info): Delete unused variable. - (process_stop_reply): Delete unused variable. + (process_stop_reply) :Delete unused variable. (remote_get_trace_status): Delete unused variables. * linux-thread-db.c (add_thread_db_info): Delete unused variable. diff --git a/gdb/dcache.c b/gdb/dcache.c index e1386e0180f..40952d34e96 100644 --- a/gdb/dcache.c +++ b/gdb/dcache.c @@ -417,7 +417,6 @@ DCACHE * dcache_init (void) { DCACHE *dcache; - int i; dcache = (DCACHE *) xmalloc (sizeof (*dcache)); @@ -585,7 +584,7 @@ static void dcache_info (char *exp, int tty) { splay_tree_node n; - int i, refcount, lineno; + int i, refcount; if (exp) { -- 2.30.2