From: Daniel Gustafsson Date: Tue, 24 May 2022 10:46:22 +0000 (+0200) Subject: doh: remove UNITTEST macro definition X-Git-Tag: curl-7_84_0~144 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e70928b091f5a118818a76e78198466ac818300a;p=thirdparty%2Fcurl.git 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 --- diff --git a/lib/doh.c b/lib/doh.c index c124f64317..a76617b6d7 100644 --- a/lib/doh.c +++ b/lib/doh.c @@ -69,12 +69,6 @@ static const char *doh_strerror(DOHcode code) } #endif -#ifdef DEBUGBUILD -#define UNITTEST -#else -#define UNITTEST static -#endif - /* @unittest 1655 */ UNITTEST DOHcode doh_encode(const char *host,