[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 01/02: https tests: mute compiler warnings for old curl
From: |
gnunet |
Subject: |
[libmicrohttpd] 01/02: https tests: mute compiler warnings for old curl |
Date: |
Sun, 12 Dec 2021 18:06:35 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 8f803e184ac702f31da3c457ef78da4c3b35219c
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sun Dec 12 16:31:50 2021 +0300
https tests: mute compiler warnings for old curl
---
src/testcurl/https/test_https_session_info.c | 3 +++
1 file changed, 3 insertions(+)
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 @@
/*
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 */
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.