Show quoted text 7 lines
On Fri, Oct 3, 2014 at 1:24 AM, Martin Frb wrote:
> There is also an entry in "Refactoring" (pop up, or Menu: Source)
> "Unused Units" (Though (iirc) it in only 99% accurate)
It is not accurate when a unit has an initialization section. Then the
unit is most likely needed by the project but it is reported as
"unused".
The units with initialization/finalization sections are shown with a battery like icon, while those without are shown with a book icon.
Feel free to improve it with a checkbox "hide units with initialization/finalization sections".
I guess it is difficult to analyse the real "used" status then.
What Martin means with 99% is the following:
If two units provides an identifier with the same name, the tool does not check which identifier is used and treat both units as used.
Mattias