From a0e66ef6dd8d1cfd4420be0ffd363d7c53dc794b Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 5 Jan 2018 10:10:34 +1100 Subject: [PATCH] unconditionally typedef summarystat_t for coverity --- lib/isc/mem.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/isc/mem.c b/lib/isc/mem.c index 54e8814c85..e14e4597a1 100644 --- a/lib/isc/mem.c +++ b/lib/isc/mem.c @@ -2352,7 +2352,6 @@ isc_mem_references(isc_mem_t *ctx0) { return (references); } -#if defined(HAVE_LIBXML2) || defined(HAVE_JSON) typedef struct summarystat { isc_uint64_t total; isc_uint64_t inuse; @@ -2360,7 +2359,6 @@ typedef struct summarystat { isc_uint64_t blocksize; isc_uint64_t contextsize; } summarystat_t; -#endif #ifdef HAVE_LIBXML2 #define TRY0(a) do { xmlrc = (a); if (xmlrc < 0) goto error; } while(0)