Skip to content
Commit bcd22e14 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

selftests: kvm: avoid uninitialized variable warning



The variable in practice will never be uninitialized, because the
loop will always go through at least one iteration.

In case it would not, make vcpu_get_cpuid report an assertion
failure.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 1838b06b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment