From: Ruben Kerkhof Date: Mon, 14 May 2018 13:14:32 +0000 (+0200) Subject: curl_json_test.c: fix warnings X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=0a9d570ed2d1b4095d9740b2d2a1206d2e0de348;p=collectd.git curl_json_test.c: fix warnings src/curl_json_test.c:142:14: warning: unused parameter 'argc' [-Wunused-parameter] int main(int argc, char **argv) { ^ src/curl_json_test.c:142:27: warning: unused parameter 'argv' [-Wunused-parameter] int main(int argc, char **argv) { ^ 2 warnings generated. --- diff --git a/src/curl_json_test.c b/src/curl_json_test.c index e8f8f6bb..6c8640c2 100644 --- a/src/curl_json_test.c +++ b/src/curl_json_test.c @@ -139,7 +139,7 @@ DEF_TEST(parse) { return 0; } -int main(int argc, char **argv) { +int main(void) { cj_submit = test_submit; RUN_TEST(parse);