ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/11/28/20:58:18

Subject: Re: Unused variables
To: A DOT APPLEYARD AT fs1 DOT mt DOT umist DOT ac DOT uk (ANTHONY APPLEYARD)
Date: Mon, 28 Nov 1994 10:31:38 -0600 (CST)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
From: mcastle AT umr DOT edu (Mike Castle)

Amazingly enough ANTHONY APPLEYARD said:
>   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

-Wunused

I think -Wall turns unused on.

mrc
-- 
Mike Castle .-=NEXUS=-.  Life is like a clock:  You can work constantly
  mcastle AT cs DOT umr DOT edu     and be right all the time, or not work at all
   mcastle AT umr DOT edu       and be right at least twice a day.  -- mrc
    We are all of us living in the shadow of Manhattan.  -- Watchmen

- Raw text -


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