Disable RCTAssert completely in production builds

Reviewed By: @tadeuzagallo, @jspahrsummers

Differential Revision: D2521700

fb-gh-sync-id: f769afd98bb662e8bbe773adb45990f2175cdfe4
This commit is contained in:
Pieter De Baets
2015-10-08 08:13:16 -07:00
committed by facebook-github-bot-4
parent 63a37be1dd
commit 6ca8f4836d
2 changed files with 6 additions and 2 deletions

View File

@@ -104,7 +104,6 @@ void _RCTAssertFormat(
{
RCTAssertFunction assertFunction = RCTGetLocalAssertFunction();
if (assertFunction) {
va_list args;
va_start(args, format);
NSString *message = [[NSString alloc] initWithFormat:format arguments:args];