Commit 58bc6c3
Fix unused exception parameter compile error in RCTUIManager catch block
Summary:
In some configurations the errors might be stripped out and leading toward those kind of issues:
```
stderr:
xplat/js/react-native-github/packages/react-native/React/Modules/RCTUIManager.mm:1251:28: error: unused exception parameter 'exception' [-Werror,-Wunused-exception-parameter]
1251 | } catch (NSException \*exception) {
| ^\~\~\~\~\~\~\~\~
1 error generated.
```
So marking the param as potentially unused.
## Changelog:
- [iOS] [Fixed] - Fix unused exception parameter compile error in RCTUIManager catch block in certain build mode
Reviewed By: lodhaayush
Differential Revision: D90192993
fbshipit-source-id: bd17fc04941ac55e529e6d851632a5febdc1c76e1 parent c295ec2 commit 58bc6c3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1248 | 1248 | | |
1249 | 1249 | | |
1250 | 1250 | | |
1251 | | - | |
| 1251 | + | |
1252 | 1252 | | |
1253 | 1253 | | |
1254 | 1254 | | |
| |||
0 commit comments