2010-05-05 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Wed, 5 May 2010 20:50:24 +0000 (20:50 +0000)
committerMichael Snyder <msnyder@vmware.com>
Wed, 5 May 2010 20:50:24 +0000 (20:50 +0000)
* dcache.c (dcache_init): Delete unused variable.
(dcache_info): Delete unused variable.

gdb/ChangeLog
gdb/dcache.c

index a21a9f96f9678801e8e399339d5e104a09a5e6d9..0b7246ebc43ace690face3d2a7beaa066f253820 100644 (file)
@@ -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.
index e1386e0180f61b081eddaccfa4166b813b584687..40952d34e96aa3690e642fa2336567387b2c94a4 100644 (file)
@@ -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)
     {