diff --git a/xen/arch/x86/domctl.c b/xen/arch/x86/domctl.c index f26990208d..6e42fa383c 100644 --- a/xen/arch/x86/domctl.c +++ b/xen/arch/x86/domctl.c @@ -1347,7 +1347,7 @@ long arch_do_domctl( break; #define domctl_psr_get_val(d, domctl, type, copyback) ({ \ - uint32_t v_; \ + uint32_t v_ = 0; \ int r_ = psr_get_val((d), (domctl)->u.psr_alloc.target, \ &v_, (type)); \ \