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] c-decl.c: Remove local variables that are set but not used.


Hi,

Attached is a patch to remove local variables that are set but not
used.

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

Kazu Hirata

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

	* c-decl.c (c_init_decl_processing): Remove local variables
	ptr_ftype_void and ptr_ftype_ptr.

Index: c-decl.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/c-decl.c,v
retrieving revision 1.634
diff -u -d -p -r1.634 c-decl.c
--- c-decl.c	12 Mar 2005 06:37:42 -0000	1.634
+++ c-decl.c	12 Mar 2005 14:26:37 -0000
@@ -2578,7 +2578,6 @@ void
 c_init_decl_processing (void)
 {
   tree endlink;
-  tree ptr_ftype_void, ptr_ftype_ptr;
   location_t save_loc = input_location;
 
   /* Initialize reserved words for parser.  */
@@ -2616,10 +2615,9 @@ c_init_decl_processing (void)
 			boolean_type_node));
 
   endlink = void_list_node;
-  ptr_ftype_void = build_function_type (ptr_type_node, endlink);
-  ptr_ftype_ptr
-    = build_function_type (ptr_type_node,
-			   tree_cons (NULL_TREE, ptr_type_node, endlink));
+  build_function_type (ptr_type_node, endlink);
+  build_function_type (ptr_type_node,
+		       tree_cons (NULL_TREE, ptr_type_node, endlink));
 
   input_location = save_loc;
 


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