commit 8f803e184ac702f31da3c457ef78da4c3b35219c
parent e0251c6d4f8698c3416d0a30812d7242fa143526
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Sun, 12 Dec 2021 16:31:50 +0300
https tests: mute compiler warnings for old curl
Diffstat:
1 file 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
@@ -1,6 +1,7 @@
/*
This file is part of libmicrohttpd
Copyright (C) 2007, 2016 Christian Grothoff
+ Copyright (C) 2016-2021 Evgeny Grin (Karlson2k)
libmicrohttpd is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
@@ -22,6 +23,7 @@
* @file mhds_session_info_test.c
* @brief Testcase for libmicrohttpd HTTPS connection querying operations
* @author Sagie Amir
+ * @author Karlson2k (Evgeny Grin)
*/
#include "platform.h"
@@ -228,6 +230,7 @@ main (int argc, char *const *argv)
curl_global_cleanup ();
return errorCount != 0 ? 1 : 0;
#else /* LIBCURL_VERSION_NUM < 0x072200 */
+ (void) argc; (void) argv; /* Unused. Silent compiler warning. */
return 77;
#endif /* LIBCURL_VERSION_NUM < 0x072200 */
}