The branch main has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=039880009a57a2758ffbef398871e9fd1bc0ee2e

commit 039880009a57a2758ffbef398871e9fd1bc0ee2e
Author:     John Baldwin <[email protected]>
AuthorDate: 2022-04-13 23:08:20 +0000
Commit:     John Baldwin <[email protected]>
CommitDate: 2022-04-13 23:08:20 +0000

    hyperv: Use __diagused for a variable only used in KASSERT().
---
 sys/dev/hyperv/utilities/hv_snapshot.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/hyperv/utilities/hv_snapshot.c 
b/sys/dev/hyperv/utilities/hv_snapshot.c
index 45defe1b0f1e..d3084c9eca69 100644
--- a/sys/dev/hyperv/utilities/hv_snapshot.c
+++ b/sys/dev/hyperv/utilities/hv_snapshot.c
@@ -690,7 +690,7 @@ static void
 hv_vss_timeout(void *arg)
 {
        hv_vss_req_internal *reqp = arg;
-       hv_vss_req_internal *request;
+       hv_vss_req_internal *request __diagused;
        hv_vss_sc* sc = reqp->sc;
        uint64_t req_id = reqp->vss_req.opt_msg.msgid;
        /* This thread is locked */

Reply via email to