Re: [libvirt] [PATCH v1 09/21] qemu_monitor_json.c: remove unneeded cleanup label

2019-11-12 Thread Ján Tomko
On Mon, Oct 21, 2019 at 03:18:59PM -0300, Daniel Henrique Barboza wrote: qemuMonitorJSONBlockIoThrottleInfo uses a macro called GET_THROTTLE_STATS that's defined outside of the function, which references a 'cleanup' label. GET_THROTTLE_STATS is only used inside qemuMonitorJSONBlockIoThrottleInfo

[libvirt] [PATCH v1 09/21] qemu_monitor_json.c: remove unneeded cleanup label

2019-10-22 Thread Daniel Henrique Barboza
qemuMonitorJSONBlockIoThrottleInfo uses a macro called GET_THROTTLE_STATS that's defined outside of the function, which references a 'cleanup' label. GET_THROTTLE_STATS is only used inside qemuMonitorJSONBlockIoThrottleInfo (in fact, the macro is undef right after it) thus it is safe to erase the '