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

2022-09-21 Thread Ján Tomko
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 Kr

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

2022-09-19 Thread Peter Krempa
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 --- src/conf/domain_conf.c | 45