https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69237

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #5 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Franz Sirl from comment #4)
> For me, yes. Because as a reader knowing nothing about the code and looking
> for some kind of "bug" in the code, I cannot decide easily if the
> _intention_ was
> 
>   if (elem)
>     {
>       *elem = (*this)[fCount - 1];
>     }
>   --fCount;
> 
> or:
> 
>   if (elem)
>     {
>       *elem = (*this)[fCount - 1];
>       --fCount;
>     }
> 
> In my understanding that matches the "misleading" in
> -Wmisleading-indentation.

Well, to me it appears obvious that variant one is intended.
But lets close this issue anyway...

Reply via email to