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

Re: [PATCH] Keywords as Hash 3 - libsvn_client

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-09-21 21:25:08 CEST

On Wed, 2005-09-21 at 15:13 -0400, John Peacock wrote:
> Personally, I prefer to _always_ initialize, just to prevent conditional
> codepaths from being added later that break formerly working code.

I think you'd be merely cloaking the problem and preventing the compiler
from warning you about it, frankly. Using a variable before it's
properly set is a bug, whether or not the variable has been set to some
arbitrary default value beforehand.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 21 21:27:26 2005

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.