mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
In sys/amd64/vmm/intel/vmx.c, silence a (incorrect) gcc warning about
regval possibly being used uninitialized. Reviewed by: neel
This commit is contained in:
parent
bd106e837e
commit
6f0c167fe2
1 changed files with 1 additions and 0 deletions
|
|
@ -1114,6 +1114,7 @@ vmx_emulate_cr_access(struct vmx *vmx, int vcpu, uint64_t exitqual)
|
|||
if (cr != 0 && cr != 4)
|
||||
return (UNHANDLED);
|
||||
|
||||
regval = 0; /* silence gcc */
|
||||
vmxctx = &vmx->ctx[vcpu];
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue