We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Platform: Python
Description of the false positive
Apparently
if n == 0: print("a") elif not n: print("b") else: print("c")
Shows the elif as dead code. However if n is None it will get triggered.
None
URL to the alert on the project page on LGTM.com: https://lgtm.com/projects/g/secdev/scapy/snapshot/4d06eb2812a98a1001478bf06e033fbbb2afbef7/files/scapy/volatile.py?sort=name&dir=ASC&mode=heatmap#xf144c20a181fcce0:1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Platform: Python
Description of the false positive
Apparently
Shows the elif as dead code. However if n is
None
it will get triggered.URL to the alert on the project page on LGTM.com: https://lgtm.com/projects/g/secdev/scapy/snapshot/4d06eb2812a98a1001478bf06e033fbbb2afbef7/files/scapy/volatile.py?sort=name&dir=ASC&mode=heatmap#xf144c20a181fcce0:1
The text was updated successfully, but these errors were encountered: