diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-10-30 21:36:27 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-10-30 21:36:27 +0300 |
commit | 8da22ca0612e633aa76f145b879d83833dbdcdfe (patch) | |
tree | b46994df8d3fc2ae5d474363eeb5efc1b934fe4b /src/testcurl/test_process_arguments.c | |
parent | 80ff0e15965e75532e9cd127bf06ec20ee4f1816 (diff) | |
download | libmicrohttpd-8da22ca0612e633aa76f145b879d83833dbdcdfe.tar.gz libmicrohttpd-8da22ca0612e633aa76f145b879d83833dbdcdfe.zip |
Silenced compiler warnings in src/testcurl.
Diffstat (limited to 'src/testcurl/test_process_arguments.c')
-rw-r--r-- | src/testcurl/test_process_arguments.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testcurl/test_process_arguments.c b/src/testcurl/test_process_arguments.c index 32200229..4f29574d 100644 --- a/src/testcurl/test_process_arguments.c +++ b/src/testcurl/test_process_arguments.c | |||
@@ -73,6 +73,7 @@ ahc_echo (void *cls, | |||
73 | struct MHD_Response *response; | 73 | struct MHD_Response *response; |
74 | int ret; | 74 | int ret; |
75 | const char *hdr; | 75 | const char *hdr; |
76 | (void)version;(void)upload_data;(void)upload_data_size; /* Unused. Silent compiler warning. */ | ||
76 | 77 | ||
77 | if (0 != strcmp (me, method)) | 78 | if (0 != strcmp (me, method)) |
78 | return MHD_NO; /* unexpected method */ | 79 | return MHD_NO; /* unexpected method */ |
@@ -271,6 +272,7 @@ int | |||
271 | main (int argc, char *const *argv) | 272 | main (int argc, char *const *argv) |
272 | { | 273 | { |
273 | unsigned int errorCount = 0; | 274 | unsigned int errorCount = 0; |
275 | (void)argc; /* Unused. Silent compiler warning. */ | ||
274 | 276 | ||
275 | oneone = (NULL != strrchr (argv[0], (int) '/')) ? | 277 | oneone = (NULL != strrchr (argv[0], (int) '/')) ? |
276 | (NULL != strstr (strrchr (argv[0], (int) '/'), "11")) : 0; | 278 | (NULL != strstr (strrchr (argv[0], (int) '/'), "11")) : 0; |