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

fix V523 with PVS-Studio #5

Merged
merged 1 commit into from
Oct 28, 2017
Merged

fix V523 with PVS-Studio #5

merged 1 commit into from
Oct 28, 2017

Conversation

ip-gpu
Copy link
Contributor

@ip-gpu ip-gpu commented Oct 27, 2017

I'm a member of the Pinguem.ru competition on finding errors in open source projects. A bug, found using PVS-Studio. Warning: V523 The 'then' statement is equivalent to the 'else' statement.

(https://github.com/zeux/qgrep/blob/master/src/encoding.cpp#L136)

The 'then' statement is equivalent to the 'else' statement.
@zeux zeux merged commit f5eac48 into zeux:master Oct 28, 2017
@zeux
Copy link
Owner

zeux commented Oct 28, 2017

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants