On Thu, Jun 01, 2017 at 10:13:01PM +0000, Joseph Myers wrote: > On Thu, 1 Jun 2017, David Malcolm wrote: > > > The patch appears to only consider "if" and "else" clauses. Shouldn't > > it also cover "for", "while" and "do/while"? > > do/while would normally get a syntax error in the problem cases.
Indeed, I think there's no point in handling "do/while" for this warning. Marek