Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/fs/tmpfs



14.05.2011, 10:38, "Masao Uebayashi" <uebayasi%gmail.com@localhost>:
> I disagree.  If variables are declared in the middle of context, those
> variables have narrower contexts.  Narrowing context is always a win
> IMO.

That's true only if you don't use gotos. Otherwise, you might jump past
an initialization point with obvious consequences. If I remember correctly,
a compiler reports an error only for variable length arrays in this case.
-- 
Alex


Home | Main Index | Thread Index | Old Index