mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
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: dtolnay
Pull Request resolved: https://github.com/pytorch/pytorch/pull/149328
Approved by: https://github.com/Skylion007, https://github.com/eqy
|
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| crc_alt.h | ||
| crc.cc | ||
| file_adapter.cc | ||
| file_adapter.h | ||
| in_memory_adapter.h | ||
| inline_container_test.cc | ||
| inline_container.cc | ||
| inline_container.h | ||
| istream_adapter.cc | ||
| istream_adapter.h | ||
| read_adapter_interface.cc | ||
| read_adapter_interface.h | ||
| versions.h | ||