[vala] codegen: Remove unused variable



commit 1e7289bbe4c2cdec03926b4587bf3c167a81071f
Author: JÃrg Billeter <j bitron ch>
Date:   Mon Aug 22 13:48:36 2011 +0200

    codegen: Remove unused variable

 codegen/valaccodebasemodule.vala |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/codegen/valaccodebasemodule.vala b/codegen/valaccodebasemodule.vala
index 3bd3f81..4685ec2 100644
--- a/codegen/valaccodebasemodule.vala
+++ b/codegen/valaccodebasemodule.vala
@@ -4387,7 +4387,6 @@ public abstract class Vala.CCodeBaseModule : CodeGenerator {
 		if (!(arg.value_type is NullType) && type.is_real_struct_type ()) {
 			// we already use a reference for arguments of ref, out, and nullable parameters
 			if (!(unary != null && (unary.operator == UnaryOperator.OUT || unary.operator == UnaryOperator.REF)) && !type.nullable) {
-				var cunary = cexpr as CCodeUnaryExpression;
 				if (cexpr is CCodeIdentifier || cexpr is CCodeMemberAccess) {
 					return new CCodeUnaryExpression (CCodeUnaryOperator.ADDRESS_OF, cexpr);
 				} else {



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