From cb38399d36628445d1f2e35d4034bb0d57ab4dc3 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 23 Jun 2021 14:19:51 -0400 Subject: tests: Fix build with -Wextra Unused arguments warnings are treated as errors in those tests otherwise. Fixes: #53. Signed-off-by: Xavier Claessens --- tests/build-cxx.cc.in | 2 ++ tests/build-pedantic.c.in | 2 ++ 2 files changed, 4 insertions(+) (limited to 'tests') 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; } -- cgit v1.2.3