Pycharm keeps warning that statement has no effect (false positive)

I keep on getting "statement seem to have no effect" on places that obviously do have an effect (yellow backgroud fields)

Of course I can turn the warning off, but I would like to be reminded if I have a statement with no effect.

I'm using Build #PY-221.5080.212, built on April 12, 2022 (pro)

 

2 comments
Comment actions Permalink

I have exactly this issue also.

Further evidence for these being false positives: If i open the same project on a different machine, the warning does not show.

 

0
Comment actions Permalink

Please feel free to submit an issue to https://youtrack.jetbrains.com with a textual code sample.

0

Please sign in to leave a comment.