False positives for Rule 6405: Avoid defining variables that are not referenced inside the program

Hi Peter,

I'm not able to reproduce this issue locally here. For me, Rule 6405 is not triggered for the code you provided.

Have you tried Andre's solution provided in the following thread?

Thanks,

-John