You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Randy Terbush <ra...@zyzzyva.com> on 1995/03/14 14:15:21 UTC

Re: Compiling with -Wall

> > Date: Sat, 11 Mar 1995 21:52:51 -0600
> > From: Randy Terbush <ra...@zyzzyva.com>
> > I made some changes to the first apache-pre release to fix some
> > warnings generated when compiling on NetBSD-current with -Wall
> > flag for gcc.  Some of these warnings are truely anal, but it
> > often does find some real bugs, and I may have found a couple
> > in this case.  Do with it what you want.  There is also some

> 
> I certainly think that these warnings should be fixed, and the coding
> style in general needs improving. However, right now I think we want
> to avoid changing too many source files. Not only would we move further
> away from the NCSA source, but it also makes it a little harder to
> integrate patches with one-another.
> 
> The majority of your changes are to remove redundent variables (of which
> there are sadly too many) -- which an optimising compiler would do anyway,
> and to insert parenthesis around assignments in conditional expressions.
> May I suggest that you trim down the patch to include only the bug fixes?

Point well taken.  I will trim this and resubmit it.