Re: [PATCH 04/16] virDomainIOThreadIDDefArrayInit: Decrease scope of @iothrid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 02, 2022 at 09:17:54 +0200, Michal Privoznik wrote:
> In virDomainIOThreadIDDefArrayInit() the variable @iothrid is
> used only inside a loop but is declared for whole function. Bring
> the variable into the loop so that it's obvious that the variable
> is not used elsewhere.
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  src/conf/domain_conf.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux