Skip to content

Commit b3be574

Browse files
terriblebenfacebook-github-bot
authored andcommitted
Fix property accessor warning in RCTDevSettings::websocketExecutorName
Summary: Motivation: Fixes Xcode warning `Ivar '_websocketExecutorName' which backs the property is not referenced in this property's accessor` which shows up because this property has no setter (and is never set anywhere). Closes #12639 Differential Revision: D4745437 Pulled By: javache fbshipit-source-id: 3ab4b0df62f90adc2b62d891197dc783e07da4e3
1 parent a4300da commit b3be574

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

React/Modules/RCTDevSettings.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
* Alternate name for the websocket executor, if not the generic term "remote".
4747
* TODO t16297016: this seems to be unused, remove?
4848
*/
49-
@property (nonatomic, copy) NSString *websocketExecutorName;
49+
@property (nonatomic, readonly) NSString *websocketExecutorName;
5050

5151
/*
5252
* Whether shaking will show RCTDevMenu. The menu is enabled by default if RCT_DEV=1, but

0 commit comments

Comments
 (0)