From 60d22760a069b2adebda59dd68edbe70304584cf Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Mon, 20 Jul 2015 15:31:23 +0930 Subject: [PATCH] short_types: Fix warning in test Our project builds the ccan tests with -Wextra, so we get warnings about the unused variables. Signed-off-by: Joel Stanley Signed-off-by: Rusty Russell --- ccan/short_types/test/run-endian.c | 2 +- ccan/short_types/test/run.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ccan/short_types/test/run-endian.c b/ccan/short_types/test/run-endian.c index 17508e11..108e3ab7 100644 --- a/ccan/short_types/test/run-endian.c +++ b/ccan/short_types/test/run-endian.c @@ -4,7 +4,7 @@ #include #include -int main(int argc, char *argv[]) +int main(void) { plan_tests(6); diff --git a/ccan/short_types/test/run.c b/ccan/short_types/test/run.c index 6da3f9bc..2bff4b78 100644 --- a/ccan/short_types/test/run.c +++ b/ccan/short_types/test/run.c @@ -3,7 +3,7 @@ #include #include -int main(int argc, char *argv[]) +int main(void) { plan_tests(16); -- 2.39.2