facebookincubator / gloo

Collective communications library with various primitives for multi-machine training.
Other
1.23k stars 303 forks source link

Remove unused exception parameter from gloo/rendezvous/context.cc #378

Open r-barnes opened 10 months ago

r-barnes commented 10 months ago

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: palmje

Differential Revision: D51785901

facebook-github-bot commented 10 months ago

This pull request was exported from Phabricator. Differential Revision: D51785901