2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

unconditionally typedef summarystat_t for coverity

This commit is contained in:
Mark Andrews 2018-01-05 10:10:34 +11:00
parent 79112cec7d
commit a0e66ef6dd

View File

@ -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)