The style guide currently covers this http://webkit.org/coding/coding-style.html:

4. Control clauses without a body should use empty braces:

Right:

for ( ; current; current = current->next) { }

Wrong:

for ( ; current; current = current->next);

- James

On Thu, Aug 26, 2010 at 12:22 PM, Chris Fleizach <cfleizach@apple.com> wrote:

On 26. aug. 2010, at 11.49, Darin Adler wrote:

> On Aug 26, 2010, at 11:35 AM, Chris Fleizach wrote:
>
>>    for (...; ...; ...) { }
>

So maybe this is the best option. I can add a style guide check for that, unless there are objections

_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev