mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 22:45:39 +00:00
Drop cppcheck workarounds
As cppcheck was removed from the CI, associated workarounds and suppressions are not required anymore.
This commit is contained in:
@@ -1444,9 +1444,7 @@ process_ecs(ns_client_t *client, isc_buffer_t *buf, size_t optlen) {
|
||||
|
||||
if ((addrlen % 8) != 0) {
|
||||
uint8_t bits = ~0U << (8 - (addrlen % 8));
|
||||
/* cppcheck-suppress objectIndex */
|
||||
bits &= paddr[addrbytes - 1];
|
||||
/* cppcheck-suppress objectIndex */
|
||||
if (bits != paddr[addrbytes - 1]) {
|
||||
return (DNS_R_OPTERR);
|
||||
}
|
||||
|
Reference in New Issue
Block a user