git: a036d73e8fc6 - main - ctl: plug set-but-not-unused var

From: Mateusz Guzik <mjg_at_FreeBSD.org>
Date: Fri, 10 Dec 2021 12:07:07 UTC
The branch main has been updated by mjg:

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

commit a036d73e8fc686262e6768e7785cede4881511b7
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2021-12-10 12:06:48 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2021-12-10 12:06:48 +0000

    ctl: plug set-but-not-unused var
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sys/cam/ctl/ctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/cam/ctl/ctl.c b/sys/cam/ctl/ctl.c
index 980328c1551f..069b01cc04b1 100644
--- a/sys/cam/ctl/ctl.c
+++ b/sys/cam/ctl/ctl.c
@@ -10899,7 +10899,7 @@ ctl_seq_check(union ctl_io *io1, union ctl_io *io2)
 {
 	uint64_t lba1, lba2;
 	uint64_t len1, len2;
-	int retval;
+	int retval __diagused;
 
 	if (io1->io_hdr.flags & CTL_FLAG_SERSEQ_DONE)
 		return (CTL_ACTION_PASS);