Re: [rfa/cli] s/NO_FUNCTION/NULL/

Eli Zaretskii
2002-01-21T09:51:06Z

On Sun, 20 Jan 2002, Andrew Cagney wrote:

> Do you have any problems with the below?
>
> Andrew
>
> > Hello,
> >
> > The attached replaces the NO_FUNCTION macro with NULL. If you
> > examine the code, function.cfunc() is only sometimes assigned the
> > value NO_FUNCTION and no code actually tests for a value of
> > NO_FUNCTION. Consequently, I can't see any point in having this
> > macro.

IMHO, someone should test this change with the latest versions of GCC,
including their development line: they could have their own ideas when
you are allowed to pass NULL, especially with all the warning options
we use.