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 it. > > Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> > --- > src/qemu/qemu_driver.c | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) > Reviewed-by: Erik Skultety <eskultet@xxxxxxxxxx>