projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
628e995
)
curl_json_test.c: fix warnings
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Mon, 14 May 2018 13:14:32 +0000
(15:14 +0200)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Mon, 14 May 2018 13:14:32 +0000
(15:14 +0200)
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.
src/curl_json_test.c
patch
|
blob
|
history
diff --git
a/src/curl_json_test.c
b/src/curl_json_test.c
index
e8f8f6b
..
6c8640c
100644
(file)
--- 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);