diff options
author | Joel Stanley <joel@jms.id.au> | 2015-07-20 15:31:23 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2015-07-20 15:51:38 +0930 |
commit | 60d22760a069b2adebda59dd68edbe70304584cf (patch) | |
tree | ae40fa53a611a8ae819df67e1caf2c00a33f337f | |
parent | 396f2fcde80ca9e0d95d5ddb631a9ac5cad0926b (diff) |
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 <joel@jms.id.au>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-rw-r--r-- | ccan/short_types/test/run-endian.c | 2 | ||||
-rw-r--r-- | 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 <stdlib.h> #include <err.h> -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 <stdlib.h> #include <err.h> -int main(int argc, char *argv[]) +int main(void) { plan_tests(16); |