]> xenbits.xensource.com Git - libvirt.git/commit
virDomainDeviceInfoParseXML: Separate address parsing into separate func
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 3 Oct 2017 08:35:52 +0000 (10:35 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Sat, 14 Oct 2017 00:55:41 +0000 (17:55 -0700)
commit83a517cfe6167f816a49ebdab24a12f0cdb4b33b
tree3810262c297d71061bca9391a034086135fd868d
parentbe9978bb89a8b390f457706ff425cc20ff3937a0
virDomainDeviceInfoParseXML: Separate address parsing into separate func

There's one 'return' in the middle of the function body. It's
very easy to miss and so it makes adding new code harder. Also
the function doesn't follow our style 100%.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/domain_conf.c