]> xenbits.xensource.com Git - libvirt.git/commit
qemuGetDHCPInterfaces: Move some variables inside the loop
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 4 Dec 2019 08:55:52 +0000 (09:55 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 17 Dec 2019 15:58:42 +0000 (16:58 +0100)
commitc06f4b48fee933fd4c1a9642d6f85602b85d14fd
tree9770243707ac8557613ed04aaf30a3964327ef88
parentdae430ccbc07eb500f1a3af0c93c0c717498740e
qemuGetDHCPInterfaces: Move some variables inside the loop

Some variables are not used outside of the for() loop. Move their
declaration to clean up the code a bit.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
src/qemu/qemu_driver.c