doh: remove UNITTEST macro definition

The UNITTEST macro is defined by curl_setup.h so there is no use in
carry a local copy of the logic.

Closes: #8902
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
This commit is contained in:
Daniel Gustafsson 2022-05-24 12:46:22 +02:00
parent dcaae6bb5b
commit e70928b091

View File

@ -69,12 +69,6 @@ static const char *doh_strerror(DOHcode code)
} }
#endif #endif
#ifdef DEBUGBUILD
#define UNITTEST
#else
#define UNITTEST static
#endif
/* @unittest 1655 /* @unittest 1655
*/ */
UNITTEST DOHcode doh_encode(const char *host, UNITTEST DOHcode doh_encode(const char *host,