Remove warnings in RCTBridgeTests

Reviewed By: majak

Differential Revision: D2771228

fb-gh-sync-id: dd935094ceeff196c272565bf7efea5112059a1a
This commit is contained in:
Pieter De Baets
2015-12-23 14:41:39 -08:00
committed by facebook-github-bot-9
parent 0cfe76399c
commit 4fde511f5c
2 changed files with 12 additions and 12 deletions

View File

@@ -818,10 +818,7 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithBundleURL:(__unused NSURL *)bundleUR
dispatch_block_t block = ^{
RCTProfileEndFlowEvent();
#if RCT_DEV
NSString *_threadName = RCTCurrentThreadName();
RCT_PROFILE_BEGIN_EVENT(0, _threadName, nil);
#endif
RCT_PROFILE_BEGIN_EVENT(0, RCTCurrentThreadName(), nil);
NSOrderedSet *calls = [buckets objectForKey:queue];
@autoreleasepool {