Drop cppcheck workarounds

As cppcheck was removed from the CI, associated workarounds and
suppressions are not required anymore.
This commit is contained in:
Michal Nowak
2021-11-30 16:31:48 +01:00
parent 654cc61bb9
commit 9c013f37d0
10 changed files with 4 additions and 82 deletions

View File

@@ -19,18 +19,6 @@
#include <isc/netdb.h>
#include <isc/once.h>
/*
* Redefine CHECK here so cppcheck "sees" the define.
*/
#ifndef CHECK
#define CHECK(op) \
do { \
result = (op); \
if (result != ISC_R_SUCCESS) \
goto cleanup; \
} while (0)
#endif /* ifndef CHECK */
#define RRTYPE_WKS_ATTRIBUTES (0)
static isc_mutex_t wks_lock;