[vala] Remove unused local from member access module
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] Remove unused local from member access module
- Date: Thu, 12 Aug 2010 12:28:54 +0000 (UTC)
commit f0e1fe3dc4c34f754a27cbf551ee3cc664f75f6a
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]