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] lambda-code.c: Remove a local variable that is set but notused.


Hi,

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

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

Kazu Hirata

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

	* lambda-code.c (lambda_compute_auxillary_space): Remove local
	variable determinant.

Index: lambda-code.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/lambda-code.c,v
retrieving revision 2.29
diff -u -d -p -r2.29 lambda-code.c
--- lambda-code.c	11 Mar 2005 09:05:02 -0000	2.29
+++ lambda-code.c	13 Mar 2005 00:33:50 -0000
@@ -672,7 +672,7 @@ lambda_compute_auxillary_space (lambda_l
   lambda_matrix A, B, A1, B1;
   lambda_vector a, a1;
   lambda_matrix invertedtrans;
-  int determinant, depth, invariants, size;
+  int depth, invariants, size;
   int i, j;
   lambda_loop loop;
   lambda_linear_expression expression;
@@ -787,8 +787,8 @@ lambda_compute_auxillary_space (lambda_l
   invertedtrans = lambda_matrix_new (depth, depth);
 
   /* Compute the inverse of U.  */
-  determinant = lambda_matrix_inverse (LTM_MATRIX (trans),
-				       invertedtrans, depth);
+  lambda_matrix_inverse (LTM_MATRIX (trans),
+			 invertedtrans, depth);
 
   /* A = A1 inv(U).  */
   lambda_matrix_mult (A1, invertedtrans, A, size, depth, depth);


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