-----Original-Nachricht-----
Betreff: [PATCH 1/4] -Wmisleading-indentation: don't warn in presence of 
entirely blank lines
Datum: 2015-10-29T17:49:38+0100
Von: "David Malcolm" <dmalc...@redhat.com>

> In each case, a blank line separated the guarded code from followup code
> that wasn't guarded, and to my eyes, the blank line makes the meaning of
> the badly-indented code sufficiently clear that it seems unjustified to
> issue a -Wmisleading-indentation warning.

I think you could (barely) make a case for the last one being ok, but I 
disagree fairly strongly about the other two cases - they are clearly 
misindented, so why wouldn't we warn?


Bernd

Reply via email to