Merge pull request #255 from isildur-g/wip-isildur-g

addressing some cppcheck warnings.
This commit is contained in:
Konstantinos Margaritis
2024-04-24 12:39:17 +03:00
committed by GitHub
9 changed files with 8 additions and 25 deletions

View File

@@ -811,11 +811,9 @@ depth_done:
return true;
}
}
}
// Second option: a two-byte shufti (i.e. less than eight 2-byte
// literals)
if (depth > 1) {
for (unsigned int i = 0; i < (depth - 1); i++) {
if (depthReach[i].count() * depthReach[i+1].count()
<= DOUBLE_SHUFTI_LIMIT) {