From 9a2b807dcb035f521d2dece9077bfe0d025fe994 Mon Sep 17 00:00:00 2001 From: Eric Rozell Date: Fri, 13 Dec 2024 16:44:01 -0800 Subject: [PATCH] Remove unnecessary semi-colon before method body (#48266) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/48266 For some clang build configurations the semi-colon triggers `-Wsemicolon-before-method-body`. This fixes that warning in iOS sources. ## Changelog [Internal] Reviewed By: cipolleschi Differential Revision: D67203041 fbshipit-source-id: f2f2f3799691c3fc59e102a852ca2cf61154e55e --- .../Libraries/NativeAnimation/RCTNativeAnimatedNodesManager.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/Libraries/NativeAnimation/RCTNativeAnimatedNodesManager.mm b/packages/react-native/Libraries/NativeAnimation/RCTNativeAnimatedNodesManager.mm index db3e2f8b4e1adf..206fdd26f8512c 100644 --- a/packages/react-native/Libraries/NativeAnimation/RCTNativeAnimatedNodesManager.mm +++ b/packages/react-native/Libraries/NativeAnimation/RCTNativeAnimatedNodesManager.mm @@ -57,7 +57,7 @@ @implementation RCTNativeAnimatedNodesManager { } - (instancetype)initWithBridge:(nullable RCTBridge *)bridge - surfacePresenter:(id)surfacePresenter; + surfacePresenter:(id)surfacePresenter { if ((self = [super init])) { _bridge = bridge;