mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-29 12:45:37 +08:00
Disable RCTAssert completely in production builds
Reviewed By: @tadeuzagallo, @jspahrsummers Differential Revision: D2521700 fb-gh-sync-id: f769afd98bb662e8bbe773adb45990f2175cdfe4
This commit is contained in:
committed by
facebook-github-bot-4
parent
63a37be1dd
commit
6ca8f4836d
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user