mirror of
https://github.com/curl/curl.git
synced 2025-09-17 17:42:49 +03:00
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:
parent
dcaae6bb5b
commit
e70928b091
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user