mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
x86: Fix (bogus) use-before-initialise compiler warning.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
1 parent
8f0aaeab8a
commit
2156299cf0
1 file changed
+1
-1
@@ -234,7 +234,7 @@ ept_set_entry(struct domain *d, unsigned long gfn, mfn_t mfn,
|
||||
{
|
||||
ept_entry_t *table, *ept_entry;
|
||||
unsigned long gfn_remainder = gfn;
|
||||
unsigned long offset;
|
||||
unsigned long offset = 0;
|
||||
u32 index;
|
||||
int i, target = order / EPT_TABLE_ORDER;
|
||||
int rv = 0;
|
||||
|
||||