gloo icon indicating copy to clipboard operation
gloo copied to clipboard

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

Open r-barnes opened this issue 1 year ago • 1 comments

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

r-barnes avatar Jan 05 '24 17:01 r-barnes

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

facebook-github-bot avatar Jan 05 '24 17:01 facebook-github-bot