mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
vmm: fix set but not used warning
This commit is contained in:
parent
5241577a22
commit
5a17f489d5
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ emulate_inout_str(struct vm *vm, int vcpuid, struct vm_exit *vmexit, bool *retu)
|
|||
int
|
||||
vm_handle_inout(struct vm *vm, int vcpuid, struct vm_exit *vmexit, bool *retu)
|
||||
{
|
||||
int bytes, error;
|
||||
int bytes __diagused, error;
|
||||
|
||||
bytes = vmexit->u.inout.bytes;
|
||||
KASSERT(bytes == 1 || bytes == 2 || bytes == 4,
|
||||
|
|
|
|||
Loading…
Reference in a new issue