[vala/emit: 2/2] Remove unused local from member access module



commit 6bf2285256842f4cb6cdf7ed3c26a1b51bb705a7
Author: Jürg Billeter <j bitron ch>
Date:   Sat Aug 7 19:36:27 2010 +0200

    Remove unused local from member access module

 codegen/valaccodememberaccessmodule.vala |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/codegen/valaccodememberaccessmodule.vala b/codegen/valaccodememberaccessmodule.vala
index 6e8ff0c..bf1ed81 100644
--- a/codegen/valaccodememberaccessmodule.vala
+++ b/codegen/valaccodememberaccessmodule.vala
@@ -31,14 +31,9 @@ public class Vala.CCodeMemberAccessModule : CCodeControlFlowModule {
 
 	public override void visit_member_access (MemberAccess expr) {
 		CCodeExpression pub_inst = null;
-		DataType base_type = null;
 	
 		if (expr.inner != null) {
 			pub_inst = (CCodeExpression) expr.inner.ccodenode;
-
-			if (expr.inner.value_type != null) {
-				base_type = expr.inner.value_type;
-			}
 		}
 
 		if (expr.symbol_reference is Method) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]