[vala/emit: 3/5] Remove unused local from member access module
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/emit: 3/5] Remove unused local from member access module
- Date: Sun, 8 Aug 2010 13:09:20 +0000 (UTC)
commit 434c3c575df1e57f2f7f03b1b00bf0a711941eea
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]