[vala/wip/transform: 85/121] Don't set source ref in	Block.get_error_types
- From: Luca Bruno <lucabru src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [vala/wip/transform: 85/121] Don't set source ref in	Block.get_error_types
 
- Date: Tue, 25 Mar 2014 20:59:23 +0000 (UTC)
 
commit 9b858a30e68e9b67604e933e493aee4dca808f1b
Author: Luca Bruno <lucabru src gnome org>
Date:   Fri Nov 2 17:41:27 2012 +0100
    Don't set source ref in Block.get_error_types
 vala/valablock.vala |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/vala/valablock.vala b/vala/valablock.vala
index 488c499..0109971 100644
--- a/vala/valablock.vala
+++ b/vala/valablock.vala
@@ -172,9 +172,6 @@ public class Vala.Block : Symbol, Statement {
        }
 
        public override void get_error_types (Collection<DataType> collection, SourceReference? 
source_reference = null) {
-               if (source_reference == null) {
-                       source_reference = this.source_reference;
-               }
                // use get_statements () instead of statement_list to not miss errors within StatementList 
objects
                foreach (Statement stmt in this) {
                        stmt.get_error_types (collection, source_reference);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]