git: d282bb42c341 - main - syscons: silent 'set but unused' warning in some configurations
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 20 Apr 2022 22:55:41 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=d282bb42c341d1a58afd1c66f85321aed6d67a45
commit d282bb42c341d1a58afd1c66f85321aed6d67a45
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-04-20 22:11:24 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-04-20 22:55:12 +0000
syscons: silent 'set but unused' warning in some configurations
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
---
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);