]> git.saurik.com Git - cycript.git/commitdiff
Stupid _assert() throw-away.
authorJay Freeman (saurik) <saurik@saurik.com>
Tue, 1 Sep 2009 07:48:07 +0000 (07:48 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Tue, 1 Sep 2009 07:48:07 +0000 (07:48 +0000)
Tweak.mm

index ba44bfdb28a32955890cb5adddc1dec970632eeb..171e84ae297f50e5a151eb2e928967992f9a80e1 100644 (file)
--- a/Tweak.mm
+++ b/Tweak.mm
@@ -74,7 +74,6 @@
 #define _assert(test) do { \
     if (!(test)) \
         @throw [NSException exceptionWithName:NSInternalInconsistencyException reason:[NSString stringWithFormat:@"_assert(%s):%s(%u):%s", #test, __FILE__, __LINE__, __FUNCTION__] userInfo:nil]; \
 #define _assert(test) do { \
     if (!(test)) \
         @throw [NSException exceptionWithName:NSInternalInconsistencyException reason:[NSString stringWithFormat:@"_assert(%s):%s(%u):%s", #test, __FILE__, __LINE__, __FUNCTION__] userInfo:nil]; \
-    @throw [NSNumber class]; \
 } while (false)
 
 #define _trace() do { \
 } while (false)
 
 #define _trace() do { \