qemu-e2k/monitor
Marc-André Lureau a85d0bf361 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>
2019-12-17 19:32:47 +01:00
..
hmp-cmds.c qdev: Collect HMP handlers command handlers in qdev-monitor.c 2019-08-21 13:24:01 +02:00
hmp.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
Makefile.objs monitor: Split out monitor/monitor.c 2019-06-18 08:14:17 +02:00
misc.c monitor: fix maybe-uninitialized 2019-12-17 19:32:47 +01:00
monitor-internal.h Include generated QAPI headers less 2019-08-16 13:31:51 +02:00
monitor.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
qmp-cmds.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
qmp.c monitor/qmp: resume monitor when clearing its queue 2019-11-19 08:21:47 +01:00
trace-events monitor: Split out monitor/monitor.c 2019-06-18 08:14:17 +02:00