Commit dd6805d
Remove unused exception parameter from js/react-native-github/packages/react-native/React/CxxModule/RCTCxxUtils.mm (#54539)
Summary:
Pull Request resolved: #54539
`-Wunused-exception-parameter` has identified an unused exception parameter. This diff removes it.
This:
```
try {
...
} catch (exception& e) {
// no use of e
}
```
should instead be written as
```
} catch (exception&) {
```
If the code compiles, this is safe to land.
Differential Revision: D85813832
fbshipit-source-id: 4edbaaf59a06db619e85d272e77b55081623fed51 parent 1859245 commit dd6805d
File tree
1 file changed
+2
-2
lines changed- packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
694 | 694 | | |
695 | 695 | | |
696 | 696 | | |
697 | | - | |
| 697 | + | |
698 | 698 | | |
699 | 699 | | |
700 | 700 | | |
| |||
742 | 742 | | |
743 | 743 | | |
744 | 744 | | |
745 | | - | |
| 745 | + | |
746 | 746 | | |
747 | 747 | | |
748 | 748 | | |
| |||
0 commit comments