mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
Codacity cleanups. No functional change intended.
This commit is contained in:
+1
-1
@@ -512,7 +512,7 @@ private:
|
||||
AstNode* beginp
|
||||
= new AstComment(refp->fileline(), string("Function: ") + refp->name(), true);
|
||||
AstNodeCCall* ccallp;
|
||||
if (AstNew* mrefp = VN_CAST(refp, New)) {
|
||||
if (VN_IS(refp, New)) {
|
||||
AstCNew* cnewp = new AstCNew(refp->fileline(), cfuncp);
|
||||
cnewp->dtypep(refp->dtypep());
|
||||
ccallp = cnewp;
|
||||
|
||||
Reference in New Issue
Block a user