From 1f8b453d5855a18cdc7d2810167d7550669f6e33 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 10 Feb 2011 14:48:06 +0900 Subject: [PATCH] Add some return statments for now. At the moment, qfcc has no way of knowing that a function will never return. This is needed until the time qfcc can know that. --- ruamoko/lib/AutoreleasePool.r | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ruamoko/lib/AutoreleasePool.r b/ruamoko/lib/AutoreleasePool.r index a787811b0..36883db07 100644 --- a/ruamoko/lib/AutoreleasePool.r +++ b/ruamoko/lib/AutoreleasePool.r @@ -38,11 +38,13 @@ - (id) retain { [self error: "Don't send -retain to an autorelease pool."]; + return self; } - (id) autorelease { [self error: "Don't send -autorelease to an autorelease pool."]; + return self; } - (void) dealloc