mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
cppcheck fixes
This commit is contained in:
+1
-1
@@ -153,7 +153,7 @@ private:
|
||||
AstNode* addsp = NULL;
|
||||
if (AstNode* stmtsp = nodep->stmtsp()) {
|
||||
stmtsp->unlinkFrBackWithNext();
|
||||
addsp = addsp->addNextNull(stmtsp);
|
||||
if (addsp) { addsp = addsp->addNextNull(stmtsp); } else { addsp = stmtsp; }
|
||||
}
|
||||
if (addsp) {
|
||||
nodep->replaceWith(addsp);
|
||||
|
||||
Reference in New Issue
Block a user