diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2019-10-04 15:18:20 +0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-12-17 19:32:47 +0100 |
commit | a85d0bf361b8d717a9b15e551a05e3572b20a77e (patch) | |
tree | 7e64135d0bf7cba10500e27013d07cf4bcb9d294 /block/vmdk.c | |
parent | e4f1bea2a8d021b35c5f83035f9af89f5e5bfeef (diff) |
monitor: fix maybe-uninitialized
../monitor/misc.c: In function ‘mon_get_cpu_sync’:
/home/elmarco/src/qq/include/sysemu/hw_accel.h:22:9: error: ‘cpu’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
22 | kvm_cpu_synchronize_state(cpu);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../monitor/misc.c:397:15: note: ‘cpu’ was declared here
397 | CPUState *cpu;
| ^~~
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'block/vmdk.c')
0 files changed, 0 insertions, 0 deletions