cppcheck fixes

This commit is contained in:
Wilson Snyder
2013-02-03 13:27:37 -05:00
parent 4a5a56f8ef
commit f07f6a26a8
23 changed files with 47 additions and 37 deletions
+1 -1
View File
@@ -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,