From: Jay Freeman (saurik) Date: Wed, 11 Nov 2009 04:33:31 +0000 (+0000) Subject: OMG, the last fix didn't even work, because Apple's compiler doesn't even consider... X-Git-Tag: v0.9.432~169 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/e0ddeff188d04291feaacf8e4ccd64784798e3c7 OMG, the last fix didn't even work, because Apple's compiler doesn't even consider a failed try to exit a function. --- 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__