diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-12-12 16:31:50 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-12-12 16:31:50 +0300 |
commit | 8f803e184ac702f31da3c457ef78da4c3b35219c (patch) | |
tree | bffa2d9a95588b6780277d5c57094c7928337c09 | |
parent | e0251c6d4f8698c3416d0a30812d7242fa143526 (diff) | |
download | libmicrohttpd-8f803e184ac702f31da3c457ef78da4c3b35219c.tar.gz libmicrohttpd-8f803e184ac702f31da3c457ef78da4c3b35219c.zip |
https tests: mute compiler warnings for old curl
-rw-r--r-- | src/testcurl/https/test_https_session_info.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testcurl/https/test_https_session_info.c b/src/testcurl/https/test_https_session_info.c index ebafec34..a329e02e 100644 --- a/src/testcurl/https/test_https_session_info.c +++ b/src/testcurl/https/test_https_session_info.c | |||
@@ -1,6 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of libmicrohttpd | 2 | This file is part of libmicrohttpd |
3 | Copyright (C) 2007, 2016 Christian Grothoff | 3 | Copyright (C) 2007, 2016 Christian Grothoff |
4 | Copyright (C) 2016-2021 Evgeny Grin (Karlson2k) | ||
4 | 5 | ||
5 | libmicrohttpd is free software; you can redistribute it and/or modify | 6 | libmicrohttpd is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published | 7 | it under the terms of the GNU General Public License as published |
@@ -22,6 +23,7 @@ | |||
22 | * @file mhds_session_info_test.c | 23 | * @file mhds_session_info_test.c |
23 | * @brief Testcase for libmicrohttpd HTTPS connection querying operations | 24 | * @brief Testcase for libmicrohttpd HTTPS connection querying operations |
24 | * @author Sagie Amir | 25 | * @author Sagie Amir |
26 | * @author Karlson2k (Evgeny Grin) | ||
25 | */ | 27 | */ |
26 | 28 | ||
27 | #include "platform.h" | 29 | #include "platform.h" |
@@ -228,6 +230,7 @@ main (int argc, char *const *argv) | |||
228 | curl_global_cleanup (); | 230 | curl_global_cleanup (); |
229 | return errorCount != 0 ? 1 : 0; | 231 | return errorCount != 0 ? 1 : 0; |
230 | #else /* LIBCURL_VERSION_NUM < 0x072200 */ | 232 | #else /* LIBCURL_VERSION_NUM < 0x072200 */ |
233 | (void) argc; (void) argv; /* Unused. Silent compiler warning. */ | ||
231 | return 77; | 234 | return 77; |
232 | #endif /* LIBCURL_VERSION_NUM < 0x072200 */ | 235 | #endif /* LIBCURL_VERSION_NUM < 0x072200 */ |
233 | } | 236 | } |