This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] cfghooks.c: Remove num_bb_notes.


Hi,

Attached is a patch to remove local variable num_bb_notes that is set
but never used.

Bootstrapped on i686-pc-linux-gnu.  Committed as obvious.

Kazu Hirata

2005-03-07  Kazu Hirata  <kazu@cs.umass.edu>

	* cfghooks.c (verify_flow_info): Remove local variable
	num_bb_notes.

Index: cfghooks.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cfghooks.c,v
retrieving revision 1.21
diff -u -d -p -r1.21 cfghooks.c
--- cfghooks.c	22 Nov 2004 22:04:21 -0000	1.21
+++ cfghooks.c	6 Mar 2005 14:24:07 -0000
@@ -72,7 +72,7 @@ void
 verify_flow_info (void)
 {
   size_t *edge_checksum;
-  int num_bb_notes, err = 0;
+  int err = 0;
   basic_block bb, last_bb_seen;
   basic_block *last_visited;
 
@@ -215,7 +215,6 @@ verify_flow_info (void)
 	err = 1;
       }
 
-  num_bb_notes = 0;
   last_bb_seen = ENTRY_BLOCK_PTR;
 
   /* Clean up.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]