You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove unused exception parameter from pytorch/text/examples/libtorchtext/tokenizer/main.cpp
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.
Reviewed By: dmm-fb
Differential Revision: D58830948
fbshipit-source-id: 129097585ca4b0ae2ef3ef1621c290ea52375282
0 commit comments