summaryrefslogtreecommitdiff
path: root/lib/doh.c
diff options
context:
space:
mode:
authorDaniel Gustafsson <daniel@yesql.se>2022-05-24 12:46:22 +0200
committerDaniel Gustafsson <daniel@yesql.se>2022-05-24 12:46:22 +0200
commite70928b091f5a118818a76e78198466ac818300a (patch)
treeff96d4825711e7a4ef1e7f0f61960c4c1cdbed13 /lib/doh.c
parentdcaae6bb5b685e47b65d12b49d394f3d844ba5ff (diff)
downloadcurl-e70928b091f5a118818a76e78198466ac818300a.tar.gz
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>
Diffstat (limited to 'lib/doh.c')
-rw-r--r--lib/doh.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/doh.c b/lib/doh.c
index c124f6431..a76617b6d 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,