Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused exception parameter from velox/common/base/tests/AsyncSourceTest.cpp #9910

Closed
wants to merge 1 commit into from

Conversation

r-barnes
Copy link
Contributor

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

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 23, 2024
@facebook-github-bot
Copy link
Contributor

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

Copy link

netlify bot commented May 23, 2024

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit ee4512b
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/664f54314fdf700008046314

Copy link
Contributor

@mbasmanova mbasmanova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

…ourceTest.cpp (facebookincubator#9910)

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, mbasmanova

Differential Revision: D57636920
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 5eeb3f9.

Copy link

Conbench analyzed the 1 benchmark run on commit 5eeb3f9f.

There was 1 benchmark result indicating a performance regression:

The full Conbench report has more details.

Joe-Abraham pushed a commit to Joe-Abraham/velox that referenced this pull request Jun 7, 2024
…ourceTest.cpp (facebookincubator#9910)

Summary:
Pull Request resolved: facebookincubator#9910

`-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, mbasmanova

Differential Revision: D57636920

fbshipit-source-id: 8861d0269a24d57b421f03c111f09de5fefc3422
Joe-Abraham pushed a commit to Joe-Abraham/velox that referenced this pull request Jun 7, 2024
…ourceTest.cpp (facebookincubator#9910)

Summary:
Pull Request resolved: facebookincubator#9910

`-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, mbasmanova

Differential Revision: D57636920

fbshipit-source-id: 8861d0269a24d57b421f03c111f09de5fefc3422
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants