forked from github/verilator
Fix unused variable.
This commit is contained in:
parent
2576c136f6
commit
8d3dad510f
@ -83,8 +83,7 @@ class CUseVisitor : public AstNVisitor {
|
|||||||
for (AstNode* itemp = nodep->stmtsp(); itemp; itemp = itemp->nextp()) {
|
for (AstNode* itemp = nodep->stmtsp(); itemp; itemp = itemp->nextp()) {
|
||||||
if (AstCell* cellp = VN_CAST(itemp, Cell)) {
|
if (AstCell* cellp = VN_CAST(itemp, Cell)) {
|
||||||
// Currently no include because we include __Syms which has them all
|
// Currently no include because we include __Syms which has them all
|
||||||
AstCUse* usep
|
m_state.newUse(nodep, VUseType::INT_FWD_CLASS, cellp->modp()->name());
|
||||||
= m_state.newUse(nodep, VUseType::INT_FWD_CLASS, cellp->modp()->name());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user