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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Suppress unused paramters warning in queuelat

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

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);
-- 
2.40.1





[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux