aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-05 20:50:24 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-05 20:50:24 +0000
commit9128a5038636399af323891c0ab2d3931f24e33f (patch)
tree3fc0e4c957ace777ca3dfafb53666fb429838a0c /gdb
parentaa369b55ebb701c579d42962b1176fd3629c32fb (diff)
downloadgdb-9128a5038636399af323891c0ab2d3931f24e33f.zip
gdb-9128a5038636399af323891c0ab2d3931f24e33f.tar.gz
gdb-9128a5038636399af323891c0ab2d3931f24e33f.tar.bz2
2010-05-05 Michael Snyder <msnyder@vmware.com>
* dcache.c (dcache_init): Delete unused variable. (dcache_info): Delete unused variable.
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)
{