summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-10-27 10:54:00 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-10-27 10:54:00 +0200
commit1366b589d358121c69f4a6dc91cab0030fa17833 (patch)
treec19bf62198fcdd6fa56868169fdbd8d8d6421739
parenta6913045bba6577c4f646c817cd43e813f60cefd (diff)
downloadcurl-bagder/clang-tidy.tar.gz
fixup compiler warning when the function isn't used/testedbagder/clang-tidy
-rw-r--r--tests/unit/unit1651.c5
1 files 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;