Date: Sun, 10 Apr 2022 18:34:08 GMT From: Robert Wing <rew@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 3587bfa797cd - main - vmm: fix set but not used warning Message-ID: <202204101834.23AIY89c074940@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by rew: URL: https://cgit.FreeBSD.org/src/commit/?id=3587bfa797cd66dce2e94ca93df5ce41def555df commit 3587bfa797cd66dce2e94ca93df5ce41def555df Author: Robert Wing <rew@FreeBSD.org> AuthorDate: 2022-04-10 18:30:14 +0000 Commit: Robert Wing <rew@FreeBSD.org> CommitDate: 2022-04-10 18:30:14 +0000 vmm: fix set but not used warning --- sys/amd64/vmm/vmm_dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/amd64/vmm/vmm_dev.c b/sys/amd64/vmm/vmm_dev.c index a83c74219fee..f5973ef5b6a7 100644 --- a/sys/amd64/vmm/vmm_dev.c +++ b/sys/amd64/vmm/vmm_dev.c @@ -993,7 +993,7 @@ vmmdev_destroy(void *arg) { struct vmmdev_softc *sc = arg; struct devmem_softc *dsc; - int error; + int error __diagused; error = vcpu_lock_all(sc); KASSERT(error == 0, ("%s: error %d freezing vcpus", __func__, error));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204101834.23AIY89c074940>