Silenced compiler warnings in src/testcurl/https, minor fixes.

This commit is contained in:
Evgeny Grin (Karlson2k)
2017-10-30 23:37:44 +03:00
parent dc96775e32
commit 28f723b238
12 changed files with 44 additions and 22 deletions
+2 -2
View File
@@ -36,8 +36,6 @@
extern const char srv_key_pem[];
extern const char srv_self_signed_cert_pem[];
extern const char srv_signed_cert_pem[];
extern const char srv_signed_key_pem[];
static int oneone;
@@ -54,6 +52,7 @@ ahc_echo (void *cls,
const char *me = cls;
struct MHD_Response *response;
int ret;
(void)version;(void)upload_data;(void)upload_data_size; /* Unused. Silent compiler warning. */
if (0 != strcmp (me, method))
return MHD_NO; /* unexpected method */
@@ -249,6 +248,7 @@ int
main (int argc, char *const *argv)
{
unsigned int errorCount = 0;
(void)argc; /* Unused. Silent compiler warning. */
if (0 != curl_global_init (CURL_GLOBAL_ALL))
{