[vala/wip/attributes: 97/100] Drop unused NoThrow and FloatingReference



commit 6aa9b44aafc67df47ec73e320166e84b6e6d7da5
Author: Luca Bruno <lucabru src gnome org>
Date:   Sat Jul 2 14:03:29 2011 +0200

    Drop unused NoThrow and FloatingReference

 vala/valamethod.vala |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/vala/valamethod.vala b/vala/valamethod.vala
index 2507346..953601f 100644
--- a/vala/valamethod.vala
+++ b/vala/valamethod.vala
@@ -262,16 +262,12 @@ public class Vala.Method : Subroutine {
 		foreach (Attribute a in attributes) {
 			if (a.name == "ReturnsModifiedPointer") {
 				returns_modified_pointer = true;
-			} else if (a.name == "FloatingReference") {
-				return_type.floating_reference = true;
 			} else if (a.name == "PrintfFormat") {
 				printf_format = true;
 			} else if (a.name == "ScanfFormat") {
 				scanf_format = true;
 			} else if (a.name == "Deprecated") {
 				process_deprecated_attribute (a);
-			} else if (a.name == "NoThrow") {
-				get_error_types ().clear ();
 			} else if (a.name == "Experimental") {
 				process_experimental_attribute (a);
 			} else if (a.name == "DestroysInstance") {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]