mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
cppcheck fixes
This commit is contained in:
+1
-1
@@ -837,8 +837,8 @@ private:
|
||||
bool didchk = false;
|
||||
bool implicitParam = nodep->isParam() && bdtypep && bdtypep->implicit();
|
||||
if (implicitParam) {
|
||||
int width=0;
|
||||
if (nodep->valuep()) {
|
||||
int width=0;
|
||||
nodep->valuep()->iterateAndNext(*this,WidthVP(width,0,PRELIM).p());
|
||||
UINFO(9,"implicitParamPRELIMIV "<<nodep->valuep()<<endl);
|
||||
// Although nodep will get a different width for parameters just below,
|
||||
|
||||
Reference in New Issue
Block a user