[BusyBox] find add ons

Mark Whitley markw at lineo.com
Tue Feb 6 21:41:21 UTC 2001


On Tue, Feb 06, 2001 at 03:28:47PM -0600, ssrat at mailbag.com wrote:
> On 6 Feb 2001, at 21:21, Matt Kraai wrote:
> 
> > On Tue, Feb 06, 2001 at 03:04:02PM -0600, ssrat at mailbag.com wrote:
> 
> > > variables should have explicit initializor - so maintainers know what 
> > > is supposed to be in there, and so we don't rely on the C compiler...
> > 
> > People can rely on bss variables being zero-initialized.  If you
> > don't know this, read the spec until you do.
> 
> I still think of it as improving the code quality for maintenance's 
> sake - improves readability, etc.

Additionally, explicitly initializing variables - even if it isn't necessary -
makes the code more self documenting. I think it's a good idea.

Mark Whitley
markw at lineo.com





More information about the busybox mailing list