Superfluous parentheses in

There are superfluous parentheses in

while ((TObject *obj = next()))

I don’t think so. There is 3 opening parenthesis and 3 closing parenthesis.

I think what @Viesturs means is that the external pair of parentheses may be omitted:

while (TObject *obj = next())

Ah yes, sure… I will fix

Fixed. It will appear tomorrow in the online ref guide.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.