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



commit 420a5b1b01e27d2027f86325f54cd5bbfdac0f72
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 9dfe2c7..f71a5dc 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]