[vala] girparser: Remove unused variables
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] girparser: Remove unused variables
- Date: Thu, 9 Jun 2011 18:29:17 +0000 (UTC)
commit 22944818d00c64b8ed99bff655ab635ceba91ec0
Author: Luca Bruno <lucabru src gnome org>
Date: Thu Jun 9 20:28:38 2011 +0200
girparser: Remove unused variables
vala/valagirparser.vala | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/vala/valagirparser.vala b/vala/valagirparser.vala
index ee66810..567d9be 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<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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]