From 1366b589d358121c69f4a6dc91cab0030fa17833 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 27 Oct 2018 10:54:00 +0200 Subject: fixup compiler warning when the function isn't used/tested --- tests/unit/unit1651.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/unit/unit1651.c b/tests/unit/unit1651.c index 5aebaf7f2..e86ddf161 100644 --- a/tests/unit/unit1651.c +++ b/tests/unit/unit1651.c @@ -32,6 +32,8 @@ static void unit_stop(void) { } +#if defined(USE_GSKIT) || defined(USE_NSS) || defined(USE_GNUTLS) || \ + defined(USE_CYASSL) || defined(USE_SCHANNEL) /* cert captured from gdb when connecting to curl.haxx.se on October 26 2018 */ @@ -341,9 +343,6 @@ static unsigned char cert[] = { 0x61, 0x54, 0x4A, 0x2B, 0xB7, 0x6A, 0x12, 0x08, 0xFB, }; -#if defined(USE_GSKIT) || defined(USE_NSS) || defined(USE_GNUTLS) || \ - defined(USE_CYASSL) || defined(USE_SCHANNEL) - UNITTEST_START { CURLcode result; -- cgit v1.2.1