News for hackers. Stuff that matters.
Re:Why was "goto fail;" added without any other change to th... by Dewie on Friday February 28, 2014 @11:30AM (#7319716)
Does no one use a pretty printer before committing code? Pretty printing would eliminate any doubt as to what code belongs to what if-statement and the like.
Re:Why was "goto fail;" added without any other change to th... by micro-ram on Friday February 28, 2014 @11:36AM (#7319768)
I use Astyle to enforce both braces and indentation automatically. In VC Pre-Build Event add:

Astyle -A1 -j -c -v asterisk.cpp asterisk.h (Sorry asterisks italicize on HN) http://astyle.sourceforge.net/