why does ForStmt have a CondVar field?

I noticed that ForStmt has a CondVar field, similar to the condition variable field for IfStmt and WhileStmt. Unlike these other Stms, however, ForStmt uses a DeclStmt for the initialization expression. From what I can tell, the CondVar field in ForStmt is always NULL.

Is it needed? It also doesn't make semantic sense, since there is no notion of one condition variable, as one can declare multiple variables in the initialization of the ForStmt.

void a() { for (int x = 0;int y = x;x++) {} }


Right, thanks Eli.