-
Notifications
You must be signed in to change notification settings - Fork 0
Add analyzer for ignoring results in do!. #7
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
base: master
Are you sure you want to change the base?
Conversation
c991849 to
b31f613
Compare
|
I have a reasonable use case for |
Sure, it can be useful in general. This is just to disallow the pattern |
|
Can you send me a link to the code where this was necessary? |
Guess I used |
Same, same - the analyzer will find both patterns. In the first case, the analyzer will not be triggered because the The second case could be written with |
This pattern is dangerous because it makes it easy to write very subtle bugs that ignore error handling.
b31f613 to
7be1d96
Compare
Results of running on the Verify solution7 occurrences detected, none of which were false positives. |
This pattern is dangerous because it makes it easy to write very subtle bugs that ignore error handling.