Skip to content

Commit ca0381b

Browse files
sammy-SCmeta-codesync[bot]
authored andcommitted
Remove dead file-local typedef RCTJSCSetOptionType in RCTPerfMonitor
Summary: X-link: #57139 `RCTJSCSetOptionType` was a file-local `using` alias (`BOOL (*)(const char *)`) in `RCTPerfMonitor.mm` that was never referenced. The concrete `RCTJSCSetOption` function is called directly at its two call sites; no code ever used the function-pointer typedef. This removes the dead alias. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D108012902 fbshipit-source-id: 2d8b207c6d216356a5b4eef9b71effda47db5744
1 parent 92c5140 commit ca0381b

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

packages/react-native/React/CoreModules/RCTPerfMonitor.mm

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@
3939
static const CGFloat RCTPerfMonitorBarHeight = 50;
4040
static const CGFloat RCTPerfMonitorExpandHeight = 250;
4141

42-
using RCTJSCSetOptionType = BOOL (*)(const char *);
43-
4442
NSArray<NSString *> *LabelsForRCTPerformanceLoggerTags();
4543

4644
static BOOL RCTJSCSetOption(const char *option)

0 commit comments

Comments
 (0)