On Sun, Feb 09, 2014 at 07:03:01AM -0200, Eduardo Habkost wrote: > We had an unwritten rule about declarations having to be at beginning of > blocks. Make it a written rule. > > Signed-off-by: Eduardo Habkost <ehabk...@redhat.com> > --- > CODING_STYLE | 7 +++++++ > 1 file changed, 7 insertions(+)
I think C99 mixed declarations and code are a good thing. It's easier to read code when the local variable type is alongside the initialization. I'll try to avoid mixed declarations and code if the others feel this rule is worthwhile. Stefan