From e0ddeff188d04291feaacf8e4ccd64784798e3c7 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 11 Nov 2009 04:33:31 +0000 Subject: [PATCH] OMG, the last fix didn't even work, because Apple's compiler doesn't even consider a failed try to exit a function. --- ObjectiveC/Library.mm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ObjectiveC/Library.mm b/ObjectiveC/Library.mm index 1f2aea2..8642ba1 100644 --- a/ObjectiveC/Library.mm +++ b/ObjectiveC/Library.mm @@ -102,8 +102,7 @@ #define CYSadCatch(value) \ @catch (NSException *error ) { \ throw CYJSError(context, CYCastJSValue(context, error)); \ - return value; \ - } \ + } return value; \ } #ifndef __APPLE__ -- 2.45.2