[haiku-commits] Re: r40548 - haiku/trunk/src/kits/interface

  • From: Stefano Ceccherini <stefano.ceccherini@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 18 Feb 2011 08:17:36 +0100

2011/2/18 Michael Pfeiffer <michael.w.pfeiffer@xxxxxxxxx>:
>
> Am 17.02.2011 um 23:34 schrieb yourpalal2@xxxxxxxxx:
>
>> +     if (BGroupLayout* layout = TopLayout())
>> +             return layout->Owner();
>
> Coding guideline violation: "Don't assign in if, while statements"
>
> - Michael
>

Although I think I've seen this kind of style used a lot of times by
Ingo, Axel, Stephan, and I actually used it too.

Other related posts: