[PATCH 04/37] virDomainNetDefParseXML: Remove unnecessary temporary variables

Ján Tomko jtomko at redhat.com
Wed Sep 21 13:38:05 UTC 2022


On a Monday in 2022, Peter Krempa wrote:
>Some values were extracted into a temporary variable and then assigned
>to the definition later without a modification.
>
>Directly assign them instead.
>
>One slight modification was done to 'ifname' which was cleared in
>certain cases.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/conf/domain_conf.c | 45 ++++++++++++------------------------------
> 1 file changed, 13 insertions(+), 32 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano


More information about the libvir-list mailing list