Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Apr 2022 00:37:28 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 6d23cd6674fe - stable/13 - syscons: silent 'set but unused' warning in some configurations
Message-ID:  <202204270037.23R0bSQY018480@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204270037.23R0bSQY018480>