]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Rework code around 'append' attribute
authorDmitry Mishin <dim@virtuozzo.com>
Tue, 29 Dec 2015 16:55:26 +0000 (19:55 +0300)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 5 Jan 2016 12:59:17 +0000 (07:59 -0500)
commit5834527136f2f31764381868bc148053094d873a
treea91179ac1f9257c77ec9e661975b10d1c12d3dad
parent8746d95f6d437a7b408849fc09dfaa736b98966c
conf: Rework code around 'append' attribute

Commit id '70ffa02fc' added the data.file.append option to some
VIR_DOMAIN_CHR_TYPE_FILE cases in switch statements allowing the
code to "fall through" for the remainder of the cases. This causes
angst in code profiling tools, like Coverity since there is no break;
followed by more case conditions. Adjust the logic to be more specific
within each case.

Signed-off-by: Dmitry Mishin <dim@virtuozzo.com>
src/conf/domain_conf.c