Fix pre-C11 compiler warning.

This commit is contained in:
Wilson Snyder
2020-05-30 21:11:37 -04:00
parent fe306a36b8
commit b60a92eed3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1549,7 +1549,7 @@ private:
UINFO(9, " to - " << m_clk_vsp << endl);
AstNode* rhsp = assignp->rhsp();
rhsp->replaceWith(new AstVarRef(rhsp->fileline(), m_clk_vsp, false));
for (V3GraphEdge* edgep = lvertexp->inBeginp(); edgep;) {
while (V3GraphEdge* edgep = lvertexp->inBeginp()) {
VL_DO_DANGLING(edgep->unlinkDelete(), edgep);
}
new V3GraphEdge(m_graphp, m_clk_vvertexp, lvertexp, 1);