]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lxc: Add coverity[dead_error_begin] tag in switch stmts
authorJohn Ferlan <jferlan@redhat.com>
Tue, 22 Jan 2013 14:40:57 +0000 (09:40 -0500)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 22 Jan 2013 15:59:45 +0000 (16:59 +0100)
commit15666e026f4de6a1a785ab23e8eb121510b610d2
tree01301bad4a7e77a19721924276340ea308483a3d
parent751bb8ce990badcc4ece2064f07e8d351aeca9a3
lxc: Add coverity[dead_error_begin] tag in switch stmts

The use of switch statements inside a bounded for loop resulted in some
false positives regarding the "default:" label which cannot be reached
since each of the other case statements use the possible for loop values.
src/lxc/lxc_driver.c