git: 039880009a57 - main - hyperv: Use __diagused for a variable only used in KASSERT().
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 13 Apr 2022 23:09:18 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=039880009a57a2758ffbef398871e9fd1bc0ee2e commit 039880009a57a2758ffbef398871e9fd1bc0ee2e Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-13 23:08:20 +0000 Commit: John Baldwin <jhb@FreeBSD.org> 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 */