diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2020-02-13 16:57:05 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2020-02-13 16:57:05 +0000 |
commit | d8918c40b465bc48df26d45516c4c4b618ef1bfd (patch) | |
tree | 7f4f74214ed291cd54139c07c12b33e652ac7a9c /usr.bin/dig | |
parent | 644af9953fbce2079f4a82d44465c19a762546f5 (diff) |
unifdef CHECK; not sure why cppcheck would only trip over this macro,
this .c file uses a bunch of other macros only defined in rdata.c.
Diffstat (limited to 'usr.bin/dig')
-rw-r--r-- | usr.bin/dig/lib/dns/rdata/in_1/wks_11.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/usr.bin/dig/lib/dns/rdata/in_1/wks_11.c b/usr.bin/dig/lib/dns/rdata/in_1/wks_11.c index 0ec0027365d..3d5209aeb8d 100644 --- a/usr.bin/dig/lib/dns/rdata/in_1/wks_11.c +++ b/usr.bin/dig/lib/dns/rdata/in_1/wks_11.c @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: wks_11.c,v 1.1 2020/02/07 09:58:53 florian Exp $ */ +/* $Id: wks_11.c,v 1.2 2020/02/13 16:57:04 florian Exp $ */ /* Reviewed: Fri Mar 17 15:01:49 PST 2000 by explorer */ @@ -27,16 +27,6 @@ #include <isc/net.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 - #define RRTYPE_WKS_ATTRIBUTES (0) static isc_boolean_t |