delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/11/28/20:51:19

To: ANTHONY APPLEYARD <A DOT APPLEYARD AT fs1 DOT mt DOT umist DOT ac DOT uk>
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Unused variables
Date: Mon, 28 Nov 94 17:33:40 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>

>   In djgpp, how can I get a list of all variables and labels in a program
> which are declared but not used? I was editing a program which someone wants

Use optimization when you compile ( add `-O' to your compilation
command), and the compiler will tell you what variables/labels
aren't used.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019