if (cond) exp1, exp2;   // in most case, this is not a bug.

So, completely removing comma operator will cause negative affect in
some cases.

Kenji Hara

In this case you should use { exp1; exp2; } There's two expressions, so same number of ';' should appear and it make code more clean. I know it's personal. It's just IMHO.

Reply via email to