git: 6d23cd6674fe - stable/13 - syscons: silent 'set but unused' warning in some configurations
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Apr 2022 00:37:28 UTC
The branch stable/13 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=6d23cd6674fede9f7621cd5c04b1204236303100
commit 6d23cd6674fede9f7621cd5c04b1204236303100
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-04-20 22:11:24 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-04-27 00:26:04 +0000
syscons: silent 'set but unused' warning in some configurations
(cherry picked from commit d282bb42c341d1a58afd1c66f85321aed6d67a45)
---
sys/dev/syscons/scmouse.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/dev/syscons/scmouse.c b/sys/dev/syscons/scmouse.c
index a4b467637c2a..b520d62e6f73 100644
--- a/sys/dev/syscons/scmouse.c
+++ b/sys/dev/syscons/scmouse.c
@@ -658,7 +658,7 @@ sc_mouse_ioctl(struct tty *tp, u_long cmd, caddr_t data, struct thread *td)
scr_stat *scp;
struct proc *p1;
int s;
- int f;
+ int f __unused;
scp = SC_STAT(tp);