Current filter:
                                You should refresh the page.
                                  • 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)

                                    Try 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

                                • Alex Eg (DevExpress) 08.26.2019

                                  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.

                                1 Solution

                                Creation Date Importance Sort by