commit adf9e8cec417d60fe7ae65dcff8e1cea961c6586
parent e58921377a4017a5549cb28877fed6e6cc2a6959
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Sat, 30 Sep 2017 20:16:52 +0300
test_options: muted compiler warning.
Diffstat:
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/src/testcurl/test_options.c b/src/testcurl/test_options.c
@@ -44,6 +44,15 @@ ahc_echo (void *cls,
const char *upload_data, size_t *upload_data_size,
void **unused)
{
+ (void)cls;
+ (void)connection;
+ (void)url;
+ (void)method;
+ (void)version;
+ (void)upload_data;
+ (void)upload_data_size;
+ (void)unused;
+
return 0;
}
@@ -118,6 +127,7 @@ int
main (int argc, char *const *argv)
{
unsigned int errorCount = 0;
+ (void)argc; (void)argv; /* Unused. Silent compiler warning. */
errorCount += test_wrap_loc ("ip addr option", &test_ip_addr_option);