To: ANTHONY APPLEYARD 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" > 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.