Skip to content

Commit 723f915

Browse files
sammy-SCmeta-codesync[bot]
authored andcommitted
Remove dead file-local typedef RCTJSCSetOptionType in RCTPerfMonitor
Summary: `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] Differential Revision: D108012902
1 parent 7b5afa6 commit 723f915

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)