]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_monitor: Decouple switch()-es in qemuMonitorJSONGetMemoryDeviceInfo()
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 27 Feb 2023 09:22:28 +0000 (10:22 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 1 Mar 2023 12:40:40 +0000 (13:40 +0100)
commit61233dfbee616e36af6c495493cace0f3370f37b
tree1acbd10526b5626f65e3559779032923cedd1675
parentf173f6a79c759b5d286940f5a58d43f38366ebae
qemu_monitor: Decouple switch()-es in qemuMonitorJSONGetMemoryDeviceInfo()

There are two switch() statements over the same variable inside
of qemuMonitorJSONGetMemoryDeviceInfo(). Join them together into
one switch.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Kristina Hanicova <khanicov@redhat.com>
src/qemu/qemu_monitor_json.c