]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virSCSIHostFindByPCI: Decrease scope of some variables
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 8 Mar 2023 07:52:32 +0000 (08:52 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 8 Mar 2023 11:02:43 +0000 (12:02 +0100)
commitade974d3ae81ba77d427fe143730e5efcb8c3834
tree921346f5b215a529091fcb2170df7b64ce405165
parent0d1f9e0de01857d008efeb3e4c70f8e924cf6374
virSCSIHostFindByPCI: Decrease scope of some variables

Inside of virSCSIHostFindByPCI() there're some variables that are
used from a while() loop exclusively. Bring their declaration
into the loop.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/util/virscsihost.c