mirror of
https://github.com/verilator/verilator.git
synced 2026-10-05 17:43:31 +02:00
cppcheck fixes
This commit is contained in:
@@ -1404,6 +1404,7 @@ private:
|
||||
for (AstNodeSenItem* nextp, * senp = nodep->sensesp()->castNodeSenItem();
|
||||
senp; senp=nextp) {
|
||||
nextp=senp->nextp()->castNodeSenItem();
|
||||
// cppcheck-suppress unassignedVariable // cppcheck bug
|
||||
SenItemCmp cmp;
|
||||
if (nextp && !cmp(senp, nextp)) {
|
||||
// Something's out of order, sort it
|
||||
|
||||
Reference in New Issue
Block a user