Files
Richard Barnes 0213024dcf [codemod][lowrisk] Remove unused exception parameter from caffe2 (#170325)
Summary:
`-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.

Test Plan: Sandcastle

Reviewed By: dmm-fb

Differential Revision: D89071569

Pull Request resolved: https://github.com/pytorch/pytorch/pull/170325
Approved by: https://github.com/malfet
2025-12-13 00:03:47 +00:00
..