From f8b7343a29ffae3906d616dc4f6fa4185341e159 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sun, 24 Apr 2022 11:02:09 +0100 Subject: console: Mark an unused parameter as such This signal handler is only called for SIGWINCH, so it doesn't need to look at its parameter. Signed-off-by: Simon McVittie --- glnx-console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glnx-console.c b/glnx-console.c index 3ce2452..f6ce0d4 100644 --- a/glnx-console.c +++ b/glnx-console.c @@ -143,7 +143,7 @@ glnx_console_lines (void) } static void -on_sigwinch (int signum) +on_sigwinch (G_GNUC_UNUSED int signum) { cached_columns = 0; cached_lines = 0; -- cgit v1.2.1