git: 17c83b76702c - stable/13 - sig_ast_checksusp(): mark the local p as __diagused
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Oct 2021 00:45:21 UTC
The branch stable/13 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=17c83b76702ca910cd6d386eb97f7a27f6fa3d79
commit 17c83b76702ca910cd6d386eb97f7a27f6fa3d79
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-10-21 17:43:32 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-10-27 00:24:40 +0000
sig_ast_checksusp(): mark the local p as __diagused
(cherry picked from commit 3d2778515aa4748f5d561a282d44c7a8c8acfe35)
---
sys/kern/kern_sig.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c
index af5c70ada3e6..f73c9e85442f 100644
--- a/sys/kern/kern_sig.c
+++ b/sys/kern/kern_sig.c
@@ -3232,7 +3232,7 @@ postsig(int sig)
int
sig_ast_checksusp(struct thread *td)
{
- struct proc *p;
+ struct proc *p __diagused;
int ret;
p = td->td_proc;