[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 8081 - trunk/subversion/libsvn_repos

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2003-12-27 15:09:56 CET

On Sat, 2003-12-27 at 08:14, Tobias Ringström wrote:
> Greg Hudson wrote:
> > At any rate, there's no reason for programmers to spend any time
> > thinking about uninitialized variables. The compiler will find them.
> > Compilers can't be perfect about it, but gcc always errors on the side
> > of warnings you inappropriately, rather than failing to warn you
> > appropriately.
>
> Unfortunately it doesn't. If you take the address of the variable
> anywhere in the function, gcc's unused variable warning mechanism is
> disabled:

Fascinating.

My mail point holds (that is, I still think it's more important not to
break up code with declarations), but my sub-point obviously isn't
valid.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Dec 27 15:10:33 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.