mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
remove ATOMIC_VAR_INIT
Summary: ATOMIC_VAR_INIT is deprecated in C17, and does nothing anyway. Changelog: [iOS][Fixed] - Remove deprecated ATOMIC_VAR_INIT macro in RCTProfile.m Reviewed By: NSProgrammer Differential Revision: D74002901 fbshipit-source-id: e453fbc084cd0b1049c7f8b052c9779d9b19b44f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
e4b6b346bc
commit
21bf7cf6cf
@@ -42,7 +42,7 @@ static NSString *const kProfilePrefix = @"rct_profile_";
|
||||
|
||||
#pragma mark - Variables
|
||||
|
||||
static atomic_bool RCTProfileProfiling = ATOMIC_VAR_INIT(NO);
|
||||
static atomic_bool RCTProfileProfiling = NO;
|
||||
|
||||
static NSDictionary *RCTProfileInfo;
|
||||
static NSMutableDictionary *RCTProfileOngoingEvents;
|
||||
|
||||
Reference in New Issue
Block a user