diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-09-30 20:16:52 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-09-30 20:16:52 +0300 |
commit | adf9e8cec417d60fe7ae65dcff8e1cea961c6586 (patch) | |
tree | 3aac3aa280b4d51901ca3f3a64ce64f0c9b2a31f | |
parent | e58921377a4017a5549cb28877fed6e6cc2a6959 (diff) | |
download | libmicrohttpd-adf9e8cec417d60fe7ae65dcff8e1cea961c6586.tar.gz libmicrohttpd-adf9e8cec417d60fe7ae65dcff8e1cea961c6586.zip |
test_options: muted compiler warning.
-rw-r--r-- | src/testcurl/test_options.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/testcurl/test_options.c b/src/testcurl/test_options.c index 004fe615..3198c731 100644 --- a/src/testcurl/test_options.c +++ b/src/testcurl/test_options.c | |||
@@ -44,6 +44,15 @@ ahc_echo (void *cls, | |||
44 | const char *upload_data, size_t *upload_data_size, | 44 | const char *upload_data, size_t *upload_data_size, |
45 | void **unused) | 45 | void **unused) |
46 | { | 46 | { |
47 | (void)cls; | ||
48 | (void)connection; | ||
49 | (void)url; | ||
50 | (void)method; | ||
51 | (void)version; | ||
52 | (void)upload_data; | ||
53 | (void)upload_data_size; | ||
54 | (void)unused; | ||
55 | |||
47 | return 0; | 56 | return 0; |
48 | } | 57 | } |
49 | 58 | ||
@@ -118,6 +127,7 @@ int | |||
118 | main (int argc, char *const *argv) | 127 | main (int argc, char *const *argv) |
119 | { | 128 | { |
120 | unsigned int errorCount = 0; | 129 | unsigned int errorCount = 0; |
130 | (void)argc; (void)argv; /* Unused. Silent compiler warning. */ | ||
121 | 131 | ||
122 | errorCount += test_wrap_loc ("ip addr option", &test_ip_addr_option); | 132 | errorCount += test_wrap_loc ("ip addr option", &test_ip_addr_option); |
123 | 133 | ||