On Mon, Oct 18, 2021 at 10:54:55AM +0200, Michal Privoznik wrote:
> There are two variables (@vm and @domflags) in qemuConnectGetAllDomainStats()
> that are used only within the for() loop but declared for entire function.
> Bring them into the loop to make it obvious they are not used outside of
There are two variables (@vm and @domflags) in qemuConnectGetAllDomainStats()
that are used only within the for() loop but declared for entire function.
Bring them into the loop to make it obvious they are not used outside of it.
Signed-off-by: Michal Privoznik
---
src/qemu/qemu_driver.c | 7