From: Luca Bruno Date: Thu, 9 Jun 2011 18:28:38 +0000 (+0200) Subject: girparser: Remove unused variables X-Git-Tag: 0.13.0~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22944818d00c64b8ed99bff655ab635ceba91ec0;p=thirdparty%2Fvala.git girparser: Remove unused variables --- diff --git a/vala/valagirparser.vala b/vala/valagirparser.vala index ee668105b..567d9beef 100644 --- a/vala/valagirparser.vala +++ b/vala/valagirparser.vala @@ -2854,7 +2854,6 @@ public class Vala.GirParser : CodeVisitor { void process_callable (Node node) { var s = node.symbol; List parameters = node.parameters; - Metadata metadata = node.metadata; DataType return_type = null; if (s is Method) { @@ -3061,7 +3060,6 @@ public class Vala.GirParser : CodeVisitor { if (gtype_node == null || !(gtype_node.symbol is ObjectTypeSymbol)) { Report.error (gtype_struct_for.source_reference, "Unknown symbol `%s' for virtual method field `%s'".printf (gtype_struct_for.to_string (), node.to_string ())); } - var gtype = (ObjectTypeSymbol) gtype_node.symbol; var nodes = gtype_node.lookup_all (d.name); if (nodes == null) { return;