cppcheck fails on Bullseye
Job #1947020 failed for 24813ab4 on Debian 11 Bullseye with the following warnings:
lib/dns/ttl.c | ||||
---|---|---|---|---|
76 | zerodivcond | 369 | warning | Either the condition 'weeks!=0' is redundant or there is division by zero at line 76. |
77 | zerodivcond | 369 | warning | Either the condition 'weeks!=0' is redundant or there is division by zero at line 77. |
78 | zerodivcond | 369 | warning | Either the condition 'weeks!=0' is redundant or there is division by zero at line 78. |
80 | zerodivcond | 369 | warning | Either the condition 'weeks!=0' is redundant or there is division by zero at line 80. |
82 | zerodivcond | 369 | warning | Either the condition 'weeks!=0' is redundant or there is division by zero at line 82. |
The cppcheck
tool should be the same, something else changed in Bullseye.
This needs to be fixed for the base image being switched to Bullseye.
Cppcheck_-HTML_report-_BIND_9__24813ab4__Cppcheck_Report.html