Skip to content

Commit

Permalink
Remove unused var declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
kiryk committed Nov 27, 2023
1 parent 37898dd commit 37cfb94
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/V3Randomize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,6 @@ class RandomizeVisitor final : public VNVisitor {
assignp};
funcp->addStmtsp(assignIfNotNullp);
} else if (const auto* const dynp = VN_CAST(dtypep, DynArrayDType)) {
AstVarRef* const refp = new AstVarRef{fl, memberVarp, VAccess::WRITE};
AstNodeExpr* callp = newRandValue(fl, memberVarp, memberVarp->findBasicDType(VBasicDTypeKwd::UINT32));
AstAssign* const assignp = new AstAssign{
fl, new AstVarRef{fl, fvarp, VAccess::WRITE},
Expand Down

0 comments on commit 37cfb94

Please sign in to comment.