This is a migrated thread and some comments may be shown as answers.

Warning for unused const

3 Answers 31 Views
Code Analysis
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
miksh
Top achievements
Rank 1
Iron
miksh asked on 09 Feb 2010, 03:58 PM
It would be great to have a warning for unused constants. The option might be confugurable.
Thanks.

3 Answers, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 12 Feb 2010, 09:05 AM
Hi MIchael,

Currently JustCode gives a warning only when a private field/method is not used, be it constant or not. We do not warn for the usage of public/internal/protected ones, though, because we cannot make that assessment solutionwide. Is that what you had in mind, or am I missing something?

Greetings,
Kaloyan
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0
miksh
Top achievements
Rank 1
Iron
answered on 12 Feb 2010, 01:20 PM
Yes, it was for public contants.
0
Kaloyan
Telerik team
answered on 12 Feb 2010, 01:42 PM
Hello Michael,

All's clear now. I've added the feature to our product backlog and it will be implemented soon, so stay tuned.

Best wishes,
Kaloyan
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Code Analysis
Asked by
miksh
Top achievements
Rank 1
Iron
Answers by
Kaloyan
Telerik team
miksh
Top achievements
Rank 1
Iron
Share this question
or