Skip to content

Fix #11389 Do not warn for truncLongCastReturn if operands have known valid int#8192

Merged
danmar merged 4 commits into
cppcheck-opensource:mainfrom
ceJce:fix11389_unnecessary_truncLongCastReturn
Feb 24, 2026
Merged

Fix #11389 Do not warn for truncLongCastReturn if operands have known valid int#8192
danmar merged 4 commits into
cppcheck-opensource:mainfrom
ceJce:fix11389_unnecessary_truncLongCastReturn

Added new testcase for known value outside integer range

976db09
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / SonarCloud succeeded Feb 20, 2026 in 3s

No new alerts in code changed by this pull request