Hi,
I recently ran CodeIssues on my solution. It detected a lot of unused local variables that are in a catch block (ex in the sample below)
Visual BasicTry
Foo()
Catch ex as Exception
End Try
Not having a catch variable is bad practice and makes it hard to debug hence the variable.
Please add some option to ignore unused variables like this
Hi Dan,
I agree with you that the 'Unused local variable' code issue shouldn't be shown in this case. We will correct this in one of our next updates.