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

Silence erroneous lgtm alert by making a dead throw correct #40245

Merged
merged 3 commits into from
May 6, 2020

Conversation

kevingranade
Copy link
Member

SUMMARY: None

Silences a LGTM alert.

The statement in question is unreachable and only there because of other static analysis requirements.

src/units.h Outdated Show resolved Hide resolved
src/units.h Outdated Show resolved Hide resolved
@lgtm-com
Copy link

lgtm-com bot commented May 6, 2020

This pull request fixes 1 alert when merging 53c61f4 into c6bfe18 - view on LGTM.com

fixed alerts:

  • 1 for Accidental rethrow

@mlangsdorf mlangsdorf added the Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style label May 6, 2020
@ZhilkinSerg ZhilkinSerg merged commit ec79781 into master May 6, 2020
@kevingranade kevingranade deleted the kevingranade-lgtm-exception-faffing branch May 21, 2020 05:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants