This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: egcs, warning patch for ch/ dir, part 3/3



  In message <19980919192605.A26768@dot.cygnus.com>you write:
  > On Fri, Sep 18, 1998 at 05:28:06PM -0400, Kaveh R. Ghazi wrote:
  > > 	(parse_formpar): Remove unused parameter `in_spec_module'.  All
  > > 	callers changed.
  > 
  > Why this instead of marking it unused?
  > 
  > Otherwise it all looks sane to me.
Marking stuff as unused has been primarily used for functions where
we can't delete the argument without exposing a new can of worms
(imagine functions which are which are passed to note_stores, or the
various predicates, etc).

The preference is to delete an unused arg if we can.

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]