]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
girparser: Remove unused variables
authorLuca Bruno <lucabru@src.gnome.org>
Thu, 9 Jun 2011 18:28:38 +0000 (20:28 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Thu, 9 Jun 2011 18:28:38 +0000 (20:28 +0200)
vala/valagirparser.vala

index ee668105bd2dc104fcdf8811dbac55716bdff417..567d9beef6143c61220fa9404e95f5cbd862a2fa 100644 (file)
@@ -2854,7 +2854,6 @@ public class Vala.GirParser : CodeVisitor {
        void process_callable (Node node) {
                var s = node.symbol;
                List<ParameterInfo> 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;