[PATCH 08/37] virDomainNetIPInfoParseXML: Remove pointless automatic clearing of 'route' and 'ip'
Ján Tomko
jtomko at redhat.com
Wed Sep 21 13:59:27 UTC 2022
On a Monday in 2022, Peter Krempa wrote:
>The variables are only used in code paths which can't fail after they
>are allocated.
>
>Additionally decrease scope of the variables.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/conf/domain_conf.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
Reviewed-by: Ján Tomko <jtomko at redhat.com>
Jano
More information about the libvir-list
mailing list