mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
vmm: fix set but not used warning
This commit is contained in:
parent
5c272efaba
commit
3587bfa797
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in a new issue