**Platform: Python** **Description of the false positive** Apparently ```python 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. **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 <!-- 1. Open the project on LGTM.com. For example, https://lgtm.com/projects/g/pallets/click/. 2. Switch to the `Alerts` tab. For example, https://lgtm.com/projects/g/pallets/click/alerts/. 3. Scroll to the alert that you would like to report. 4. Click on the right most icon `View this alert within the complete file`. 5. A new browser tab opens. Copy and paste the page URL here. For example, https://lgtm.com/projects/g/pallets/click/snapshot/719fb7d8322b0767cdd1e5903ba3eb3233ba8dd5/files/click/_winconsole.py#xa08d213ab3289f87:1. -->