Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2016-09

Finding Unsed Variable, Procedures, & Functions

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

James Richters

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

Reply by email

Michael Van Canneyt
to James Richters
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.

Reply by email

James Richters
to Michael Van Canneyt

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

Earlier message 19 lines
-----Original Message----- From: On Behalf Of Michael Van Canneyt Sent: Saturday, September 03, 2016 2:35 PM To: FPC-Pascal users discussions 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.

Reply by email