SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Remove unused exception parameter from js/react-native-github/packages/react-native/React/CxxModule/RCTCxxUtils.mm (#54539)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/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: 4edbaaf59a06db619e85d272e77b55081623fed5
R
Richard Barnes committed
dd6805dec1ed208bb130a7821c90802e62124aae
Parent: 1859245
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com> on 11/13/2025, 11:17:46 PM