]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: assign parsed strings directly into chardev source definition
authorPavel Hrdina <phrdina@redhat.com>
Fri, 18 Aug 2017 16:12:08 +0000 (18:12 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Tue, 22 Aug 2017 15:44:36 +0000 (17:44 +0200)
commit65f4e2ff27c71ce9f144968e997006fe9e894344
tree62609b25dafa654b0cdf7fc9991a53069a768a73
parent2c9b97d8421bc521bb297f2aaeb4519758484fd7
conf: assign parsed strings directly into chardev source definition

Since the source element is parsed only once for these type of
character devices we don't have to use temporary variable and
check whether the variable was already set.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/conf/domain_conf.c