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
View File
@@ -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