diff mbox series

[04/17] rt-tests: queuelat: Suppress unused parameters warning

Message ID 20231006184011.26699-4-jkacur@redhat.com
State New
Headers show
Series [01/17] rt-tests: cyclictest: Remove warnings due different signedness in comparison | expand

Commit Message

John Kacur Oct. 6, 2023, 6:39 p.m. UTC
Suppress unused paramters warning in queuelat

Signed-off-by: John Kacur <jkacur@redhat.com>
---
 src/queuelat/queuelat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/src/queuelat/queuelat.c b/src/queuelat/queuelat.c
index ead8ee5f4898..c549cd8381ab 100644
--- a/src/queuelat/queuelat.c
+++ b/src/queuelat/queuelat.c
@@ -519,7 +519,7 @@  void main_loop(void)
 	free(src);
 }
 
-void sig_handler(int sig)
+void sig_handler(int sig __attribute__ ((unused)))
 {
 	print_exit_info();
 	exit(0);