aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/dcache.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a21a9f9..0b7246e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,7 +1,10 @@
2010-05-05 Michael Snyder <msnyder@vmware.com>
+ * 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 e1386e0..40952d3 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)
{