aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2021-06-23 14:19:51 -0400
committerXavier Claessens <xavier.claessens@collabora.com>2021-06-23 14:30:50 -0400
commitcb38399d36628445d1f2e35d4034bb0d57ab4dc3 (patch)
tree8efa3e70cdcfd3302ee996b45ef74bbd50aee162
parentf01202f4b73aaf0b9c2c58673d9a932e5a24f054 (diff)
tests: Fix build with -Wextra
Unused arguments warnings are treated as errors in those tests otherwise. Fixes: #53. Signed-off-by: Xavier Claessens <xavier.claessens@collabora.com>
-rw-r--r--tests/build-cxx.cc.in2
-rw-r--r--tests/build-pedantic.c.in2
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/build-cxx.cc.in b/tests/build-cxx.cc.in
index e92b155..67aeb2b 100644
--- a/tests/build-cxx.cc.in
+++ b/tests/build-cxx.cc.in
@@ -8,5 +8,7 @@ using namespace std;
int
main(int argc, char **argv)
{
+ (void)argc;
+ (void)argv;
return 0;
}
diff --git a/tests/build-pedantic.c.in b/tests/build-pedantic.c.in
index 51dfeac..39b4127 100644
--- a/tests/build-pedantic.c.in
+++ b/tests/build-pedantic.c.in
@@ -6,5 +6,7 @@
int
main(int argc, char **argv)
{
+ (void)argc;
+ (void)argv;
return 0;
}