Fix unused variable, no functional change
Signed-off-by: Bartłomiej Chmiel <bchmiel@antmicro.com>
This commit is contained in:
parent
a50ea2a1a6
commit
521f3ffdd9
|
@ -8348,7 +8348,7 @@ class WidthVisitor final : public VNVisitor {
|
||||||
if (!dtp->keyword().isFourstate()) return dtp;
|
if (!dtp->keyword().isFourstate()) return dtp;
|
||||||
return nullptr;
|
return nullptr;
|
||||||
} else if (AstNodeArrayDType* const dtp = VN_CAST(nodep, NodeArrayDType)) {
|
} else if (AstNodeArrayDType* const dtp = VN_CAST(nodep, NodeArrayDType)) {
|
||||||
return dtypeNot4StateIntegralRecurse(nodep->subDTypep());
|
return dtypeNot4StateIntegralRecurse(dtp->subDTypep());
|
||||||
} else if (AstNodeUOrStructDType* const dtp = VN_CAST(nodep, NodeUOrStructDType)) {
|
} else if (AstNodeUOrStructDType* const dtp = VN_CAST(nodep, NodeUOrStructDType)) {
|
||||||
for (AstMemberDType* itemp = dtp->membersp(); itemp;
|
for (AstMemberDType* itemp = dtp->membersp(); itemp;
|
||||||
itemp = VN_AS(itemp->nextp(), MemberDType)) {
|
itemp = VN_AS(itemp->nextp(), MemberDType)) {
|
||||||
|
|
Loading…
Reference in New Issue