[vala/wip/baedert/nullable: 21/25] astprinter: Remove unused function
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/baedert/nullable: 21/25] astprinter: Remove unused function
- Date: Tue, 8 Nov 2016 21:19:49 +0000 (UTC)
commit eba833aaddd7679654a56d89dd26b67ede164012
Author: Timm Bäder <mail baedert org>
Date: Tue Nov 8 09:38:41 2016 +0100
astprinter: Remove unused function
vala/valaastprinter.vala | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/vala/valaastprinter.vala b/vala/valaastprinter.vala
index 985f313..93403ea 100644
--- a/vala/valaastprinter.vala
+++ b/vala/valaastprinter.vala
@@ -216,18 +216,12 @@ public class Vala.AstPrinter : CodeVisitor {
public override void visit_delete_statement (DeleteStatement stmt) {
}
-
- private string type_str (DataType? t) {
- if (t == null) return "??";
- else return t.to_string ();
- }
public override void visit_expression (Expression expr) {
//print ("Expression %s (value_type: %s, target_type: %s, constant: %s, non_null: %s)"
//.printf (expr.type_name, type_str (expr.value_type), type_str (expr.target_type),
//expr.is_constant ().to_string (), expr.is_non_null
().to_string ()));
}
-
public override void visit_array_creation_expression (ArrayCreationExpression expr) {
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]