diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2021-06-23 14:19:51 -0400 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.com> | 2021-06-23 14:30:50 -0400 |
commit | cb38399d36628445d1f2e35d4034bb0d57ab4dc3 (patch) | |
tree | 8efa3e70cdcfd3302ee996b45ef74bbd50aee162 | |
parent | f01202f4b73aaf0b9c2c58673d9a932e5a24f054 (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.in | 2 | ||||
-rw-r--r-- | tests/build-pedantic.c.in | 2 |
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; } |