From 8844026f26161a74a16b0c9fbdae8421bfec79ab Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Tue, 1 Aug 2023 03:05:55 +0200 Subject: Silence compiler warnings in test targets -Wunused-parameter --- tests/01base.c | 3 +++ tests/02getkey.c | 3 +++ tests/03utf8.c | 3 +++ tests/04flags.c | 3 +++ tests/05read.c | 3 +++ tests/06buffer.c | 3 +++ tests/10keyname.c | 3 +++ tests/11strfkey.c | 3 +++ tests/12strpkey.c | 3 +++ tests/13cmpkey.c | 3 +++ tests/20canon.c | 3 +++ tests/30mouse.c | 3 +++ tests/31position.c | 3 +++ tests/32modereport.c | 3 +++ tests/33focus.c | 3 +++ tests/39csi.c | 3 +++ 16 files changed, 48 insertions(+) diff --git a/tests/01base.c b/tests/01base.c index b5e1f76..1bcc1a9 100644 --- a/tests/01base.c +++ b/tests/01base.c @@ -5,6 +5,9 @@ int main (int argc, char *argv[]) { + (void) argc; + (void) argv; + termo_t *tk; plan_tests (6); diff --git a/tests/02getkey.c b/tests/02getkey.c index a5443e2..8e58e64 100644 --- a/tests/02getkey.c +++ b/tests/02getkey.c @@ -4,6 +4,9 @@ int main (int argc, char *argv[]) { + (void) argc; + (void) argv; + termo_t *tk; termo_key_t key; diff --git a/tests/03utf8.c b/tests/03utf8.c index ed82352..3472499 100644 --- a/tests/03utf8.c +++ b/tests/03utf8.c @@ -4,6 +4,9 @@ int main (int argc, char *argv[]) { + (void) argc; + (void) argv; + termo_t *tk; termo_key_t key; diff --git a/tests/04flags.c b/tests/04flags.c index 00e786d..05eb949 100644 --- a/tests/04flags.c +++ b/tests/04flags.c @@ -5,6 +5,9 @@ int main (int argc, char *argv[]) { + (void) argc; + (void) argv; + termo_t *tk; termo_key_t key; diff --git a/tests/05read.c b/tests/05read.c index 226acca..c8475c7 100644 --- a/tests/05read.c +++ b/tests/05read.c @@ -9,6 +9,9 @@ int main (int argc, char *argv[]) { + (void) argc; + (void) argv; + int fd[2]; termo_t *tk; termo_key_t key; diff --git a/tests/06buffer.c b/tests/06buffer.c index 340728b..e7f498b 100644 --- a/tests/06buffer.c +++ b/tests/06buffer.c @@ -5,6 +5,9 @@ int main (int argc, char *argv[]) { + (void) argc; + (void) argv; + termo_t *tk; termo_key_t key; diff --git a/tests/10keyname.c b/tests/10keyname.c index e37075f..35e6f44 100644 --- a/tests/10keyname.c +++ b/tests/10keyname.c @@ -4,6 +4,9 @@ int main (int argc, char *argv[]) { + (void) argc; + (void) argv; + termo_t *tk; termo_sym_t sym; const char *end; diff --git a/tests/11strfkey.c b/tests/11strfkey.c index 647d92c..23d3b13 100644 --- a/tests/11strfkey.c +++ b/tests/11strfkey.c @@ -4,6 +4,9 @@ int main (int argc, char *argv[]) { + (void) argc; + (void) argv; + termo_t *tk; termo_key_t key; char buffer[16]; diff --git a/tests/12strpkey.c b/tests/12strpkey.c index 96f1d31..ada29c5 100644 --- a/tests/12strpkey.c +++ b/tests/12strpkey.c @@ -4,6 +4,9 @@ int main (int argc, char *argv[]) { + (void) argc; + (void) argv; + termo_t *tk; termo_key_t key; const char *endp; diff --git a/tests/13cmpkey.c b/tests/13cmpkey.c index 46672f2..876cd23 100644 --- a/tests/13cmpkey.c +++ b/tests/13cmpkey.c @@ -4,6 +4,9 @@ int main (int argc, char *argv[]) { + (void) argc; + (void) argv; + termo_t *tk; termo_key_t key1, key2; diff --git a/tests/20canon.c b/tests/20canon.c index 76ee049..cdfa1d3 100644 --- a/tests/20canon.c +++ b/tests/20canon.c @@ -4,6 +4,9 @@ int main (int argc, char *argv[]) { + (void) argc; + (void) argv; + termo_t *tk; termo_key_t key; const char *endp; diff --git a/tests/30mouse.c b/tests/30mouse.c index 62cfddc..b344083 100644 --- a/tests/30mouse.c +++ b/tests/30mouse.c @@ -4,6 +4,9 @@ int main (int argc, char *argv[]) { + (void) argc; + (void) argv; + termo_t *tk; termo_key_t key; termo_mouse_event_t ev; diff --git a/tests/31position.c b/tests/31position.c index ad3e6f6..8c83e02 100644 --- a/tests/31position.c +++ b/tests/31position.c @@ -4,6 +4,9 @@ int main (int argc, char *argv[]) { + (void) argc; + (void) argv; + termo_t *tk; termo_key_t key; int line, col; diff --git a/tests/32modereport.c b/tests/32modereport.c index cab887c..db7ddf2 100644 --- a/tests/32modereport.c +++ b/tests/32modereport.c @@ -4,6 +4,9 @@ int main (int argc, char *argv[]) { + (void) argc; + (void) argv; + termo_t *tk; termo_key_t key; int initial, mode, value; diff --git a/tests/33focus.c b/tests/33focus.c index 76f1d42..aef07dd 100644 --- a/tests/33focus.c +++ b/tests/33focus.c @@ -4,6 +4,9 @@ int main (int argc, char *argv[]) { + (void) argc; + (void) argv; + termo_t *tk; termo_key_t key; diff --git a/tests/39csi.c b/tests/39csi.c index 2278ff0..6312ac5 100644 --- a/tests/39csi.c +++ b/tests/39csi.c @@ -4,6 +4,9 @@ int main (int argc, char *argv[]) { + (void) argc; + (void) argv; + termo_t *tk; termo_key_t key; long args[16]; -- cgit v1.2.3-70-g09d2