[fpc-pascal] Finding Unsed Variable, Procedures, & Functions

James Richters james at productionautomation.net
Sat Sep 3 20:46:19 CEST 2016


Thank you very much!  I found how to enable warning and hints..  phew 87
unused variables have accumulated, this will clean things up greatly!


-----Original Message-----
From: fpc-pascal-bounces at lists.freepascal.org
[mailto:fpc-pascal-bounces at lists.freepascal.org] On Behalf Of Michael Van
Canneyt
Sent: Saturday, September 03, 2016 2:35 PM
To: FPC-Pascal users discussions <fpc-pascal at lists.freepascal.org>
Subject: Re: [fpc-pascal] Finding Unsed Variable, Procedures, & Functions



On Sat, 3 Sep 2016, James Richters wrote:

> Is there any way to quickly identify unused variables, procedures &
> functions within a large project?   I'm using FPC 3.0.0 with textmode IDE

The compiler tells you this for local variables if you enable warnings
and/or hints.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal




More information about the fpc-pascal mailing list