Deadcode not flagged when part of new code block

I’ve added some deadcode on it’s own (the complete block is deadcode) and this is flagged up , great.

I’ve also added a block of code and there is deadcode at the top which is not flagged as an issue. Is this deliberate/expected or a chance to improve the analysis?

Hey there.

I’ve moved your post to the section on reporting false-positives.

Can you please review the post and add any missing information? Specifically, we need a text-based sample of code that can reproduce the issuer rather than a screenshot.