Bug 78238

Summary: Style-checker doesn't complain about a style violation in a for statement without any initialization
Product: WebKit Reporter: Julien Chaffraix <jchaffraix>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Julien Chaffraix 2012-02-09 07:33:08 PST
Seen on bug 78027, the following statement passed the style queue and should not have:

for (;child && child->isTableCol(); child = child->nextCol())

Note that the first semi-colon should have a space after per our guidelines.
Comment 1 David Levin 2012-02-09 07:41:56 PST
If you care about this fix:
I'm happy to review changes to the style checker and they aren't that hard to do as several folks have demonstrated.

I'm also happy to give guidance on how to do these changes too!

(But in general, I don't have time to address these issues -- especially missed checks.)

PS I'm surprised that the style checker didn't catch this. I would guess that this is an easy fix :).