[fossil-users] fossil code style question...

2011-09-16 Thread Stephan Beal
Hi! Which of these is more correct for fossil's code style for if/else's which have only a single expression: if( ... ) continue; else break; or if( ... ){ continue; }else{ break; } (hypothetical example) The question only applies to single-expression if/else/for/while/etc. For others

Re: [fossil-users] fossil code style question...

2011-09-16 Thread Richard Hipp
On Fri, Sep 16, 2011 at 2:26 PM, Stephan Beal sgb...@googlemail.com wrote: Hi! Which of these is more correct for fossil's code style for if/else's which have only a single expression: if( ... ) continue; else break; or if( ... ){ continue; }else{ break; } The second is

Re: [fossil-users] fossil code style question...

2011-09-16 Thread Martin S. Weber
On 09/16/11 14:26, Stephan Beal wrote: To be clear: i'm not going to argue either way, i just want to conform. Which reminds me, try building your code with either c89 as compiler or pass -ansi to gcc. There's still a fix necessary for fossil's sha1 computation (see previous thread starting

Re: [fossil-users] fossil code style question...

2011-09-16 Thread Stephan Beal
On Fri, Sep 16, 2011 at 8:32 PM, Martin S. Weber martin.we...@nist.govwrote: Which reminds me, try building your code with either c89 as compiler or pass -ansi to gcc. There's still a fix necessary for fossil's sha1 computation (see previous thread starting at http://www.mail-archive.com/*