summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2022-04-24 11:02:09 +0100
committerSimon McVittie <smcv@collabora.com>2022-04-24 11:02:09 +0100
commitf8b7343a29ffae3906d616dc4f6fa4185341e159 (patch)
tree9ebc1a4303343771b54295840ebb2589069d5022
parentc71f7aefa142c444210f1021d1af42f365ec3a7b (diff)
downloadlibglnx-f8b7343a29ffae3906d616dc4f6fa4185341e159.tar.gz
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 <smcv@collabora.com>
-rw-r--r--glnx-console.c2
1 files changed, 1 insertions, 1 deletions
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;